Added note about UTC.

This commit is contained in:
Per Malmberg
2018-03-11 19:07:35 +01:00
parent d7c17be4d1
commit be2b4424a1
2 changed files with 26 additions and 2 deletions

View File

@ -1,6 +1,10 @@
# libcron
A C++ scheduling library using cron formatting.
# Time zones
This library uses `std::chrono::system_clock::timepoint` as its time unit, thus all calculations are in UTC.
# Supported formatting
This implementation supports cron format, as specified below.
@ -59,4 +63,9 @@ the '?'-character unless one field already is something other than '*'.
| * * * * * ? | Every second
|0 0 12 * * MON-FRI | Every Weekday at noon
|0 0 12 1/2 * ? | Every 2 days, starting on the 1st at noon
| 0 0 */12 ? * * | Every twelve hours
| 0 0 */12 ? * * | Every twelve hours
# Third party libraries
Howard Hinnant's [date.h](https://github.com/HowardHinnant/date/)