time-util: add note about on DST change

This commit is contained in:
Yu Watanabe
2023-03-13 04:43:51 +09:00
parent 6bed374280
commit 37c6a3dc1a
+3
View File
@@ -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);