Correct the comment about which timezone-change loses an hour...
MFC after: 23 days
This commit is contained in:
parent
9b8311cef6
commit
1f566014a3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119905
@ -1861,7 +1861,7 @@ parse8601(const char *s)
|
||||
tsecs = mktime(&tm);
|
||||
/*
|
||||
* Check for invalid times, including things like the missing
|
||||
* hour when switching from "daylight savings" to "standard".
|
||||
* hour when switching from "standard time" to "daylight saving".
|
||||
*/
|
||||
if (tsecs == (time_t)-1)
|
||||
tsecs = (time_t)-2;
|
||||
@ -1984,7 +1984,7 @@ parseDWM(char *s)
|
||||
tsecs = mktime(&tm);
|
||||
/*
|
||||
* Check for invalid times, including things like the missing
|
||||
* hour when switching from "daylight savings" to "standard".
|
||||
* hour when switching from "standard time" to "daylight saving".
|
||||
*/
|
||||
if (tsecs == (time_t)-1)
|
||||
tsecs = (time_t)-2;
|
||||
|
Loading…
Reference in New Issue
Block a user