time-util: add note about on DST change
This commit is contained in:
@@ -662,6 +662,9 @@ static int parse_timestamp_impl(
|
||||
* +5min
|
||||
* -5days
|
||||
* @2147483647 (seconds since epoch)
|
||||
*
|
||||
* Note, on DST change, 00:00:00 may not exist and in that case the time part may be shifted.
|
||||
* E.g. "Sun 2023-03-13 America/Havana" is parsed as "Sun 2023-03-13 01:00:00 CDT".
|
||||
*/
|
||||
|
||||
assert(t);
|
||||
|
||||
Reference in New Issue
Block a user