From: Yu Watanabe Date: Sun, 12 Mar 2023 18:47:15 +0000 (+0900) Subject: time-util: add note about on DST change X-Git-Tag: v254-rc1~1053^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=37c6a3dc1a91e413ab6f949dc1d87f7749e63fb5;p=thirdparty%2Fsystemd.git time-util: add note about on DST change --- diff --git a/src/basic/time-util.c b/src/basic/time-util.c index 7d44358cd84..657e231b0d4 100644 --- a/src/basic/time-util.c +++ b/src/basic/time-util.c @@ -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);