Minor: remove some debug output
This commit is contained in:
parent
449e618417
commit
9b1cc49d34
@ -260,7 +260,7 @@ bool Utilities::CheckSpecialDay(Configuration* cfg, const char* currentDateTimeS
|
|||||||
//cout << "CheckSpecialDay() => Month is in range between start and end" << endl;
|
//cout << "CheckSpecialDay() => Month is in range between start and end" << endl;
|
||||||
if ((current_tm.tm_mday >= start_tm.tm_mday) && (current_tm.tm_mday <= end_tm.tm_mday))
|
if ((current_tm.tm_mday >= start_tm.tm_mday) && (current_tm.tm_mday <= end_tm.tm_mday))
|
||||||
{
|
{
|
||||||
LOG_DEBUG("CheckSpecialDay() => SPECIAL DAY");
|
//LOG_DEBUG("CheckSpecialDay() => SPECIAL DAY");
|
||||||
*specialDayId = spec_days_itr->second.ped_id;
|
*specialDayId = spec_days_itr->second.ped_id;
|
||||||
*specialDayPrice = cfg->SpecialDaysWorktime.find(*specialDayId)->second.pedwt_price;
|
*specialDayPrice = cfg->SpecialDaysWorktime.find(*specialDayId)->second.pedwt_price;
|
||||||
return true;
|
return true;
|
||||||
@ -275,7 +275,7 @@ bool Utilities::CheckSpecialDay(Configuration* cfg, const char* currentDateTimeS
|
|||||||
//cout << "CheckSpecialDay() => Month is in range between start and end" << endl;
|
//cout << "CheckSpecialDay() => Month is in range between start and end" << endl;
|
||||||
if ((current_tm.tm_mday >= start_tm.tm_mday) && (current_tm.tm_mday <= end_tm.tm_mday))
|
if ((current_tm.tm_mday >= start_tm.tm_mday) && (current_tm.tm_mday <= end_tm.tm_mday))
|
||||||
{
|
{
|
||||||
LOG_DEBUG("CheckSpecialDay() => SPECIAL DAY");
|
//LOG_DEBUG("CheckSpecialDay() => SPECIAL DAY");
|
||||||
*specialDayId = spec_days_itr->second.ped_id;
|
*specialDayId = spec_days_itr->second.ped_id;
|
||||||
*specialDayPrice = cfg->SpecialDaysWorktime.find(*specialDayId)->second.pedwt_price;
|
*specialDayPrice = cfg->SpecialDaysWorktime.find(*specialDayId)->second.pedwt_price;
|
||||||
return true;
|
return true;
|
||||||
@ -317,7 +317,7 @@ bool Utilities::CheckSpecialDay(Configuration const *cfg,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
qDebug() << "CheckSpecialDay() => SPECIAL DAY";
|
//qDebug() << "CheckSpecialDay() => SPECIAL DAY";
|
||||||
*specialDayId = spec_days_itr->second.ped_id;
|
*specialDayId = spec_days_itr->second.ped_id;
|
||||||
*specialDayPrice = cfg->SpecialDaysWorktime.find(*specialDayId)->second.pedwt_price;
|
*specialDayPrice = cfg->SpecialDaysWorktime.find(*specialDayId)->second.pedwt_price;
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user