mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 00:07:59 +02:00
GitHub runner ubuntu 24.04 and resolve some issues (#4727)
This commit is contained in:
@@ -83,9 +83,11 @@ public:
|
||||
_day = DateTimeParser::parseDayOfWeek(it, timestr[index].end());
|
||||
++index;
|
||||
}
|
||||
[[fallthrough]];
|
||||
case 2: // hh:mm
|
||||
_hour = NumberParser::parse(timestr[index]);
|
||||
++index;
|
||||
[[fallthrough]];
|
||||
case 1: // mm
|
||||
_minute = NumberParser::parse(timestr[index]);
|
||||
break;
|
||||
@@ -118,8 +120,8 @@ private:
|
||||
_threshold += tsp;
|
||||
}
|
||||
while (!(_threshold.minute() == _minute &&
|
||||
(-1 == _hour || _threshold.hour() == _hour) &&
|
||||
(-1 == _day || _threshold.dayOfWeek() == _day)));
|
||||
(-1 == _hour || _threshold.hour() == _hour) &&
|
||||
(-1 == _day || _threshold.dayOfWeek() == _day)));
|
||||
// round to :00.0 seconds
|
||||
_threshold.assign(_threshold.year(), _threshold.month(), _threshold.day(), _threshold.hour(), _threshold.minute());
|
||||
}
|
||||
|
Reference in New Issue
Block a user