mirror of
https://github.com/PerMalmberg/libcron.git
synced 2025-07-24 19:23:18 -05:00
Added note about UTC.
This commit is contained in:
@@ -207,9 +207,24 @@ SCENARIO("Examples from README.md")
|
||||
DT(2018_y / 8 / 16, hours{12}),
|
||||
DT(2018_y / 8 / 17, hours{0})
|
||||
}));
|
||||
|
||||
}
|
||||
|
||||
//SCENARIO("Daylight Savings Time")
|
||||
//{
|
||||
// // In sweden when local standard time is about to reach
|
||||
// //Sunday, 25 March 2018, 02:00:00 clocks are turned forward 1 hour to
|
||||
// //Sunday, 25 March 2018, 03:00:00 local daylight time instead.
|
||||
//
|
||||
// REQUIRE(test("0 0 * * * ?", DT(2018_y / 3 / 25, hours{0}),
|
||||
// {
|
||||
// DT(2018_y / 3 / 25, hours{0}),
|
||||
// DT(2018_y / 3 / 25, hours{1}),
|
||||
// // This hour disappear! DT(2018_y / 3 / 25, hours{2}),
|
||||
// DT(2018_y / 3 / 25, hours{3}),
|
||||
// DT(2018_y / 3 / 25, hours{4})
|
||||
// }));
|
||||
//}
|
||||
|
||||
SCENARIO("Unable to calculate time point")
|
||||
{
|
||||
// TODO: Find a schedule that is unsolvable.
|
||||
|
Reference in New Issue
Block a user