Catch up with r130332 which changed the default timezone from GMT to UTC.
Otherwise the tzload() (when called by gmtload()) fails to locate the UTC file and loads the posixrules.
This commit is contained in:
parent
9a61061d60
commit
ae59d6f27a
@ -310,14 +310,14 @@ time zone directory
|
||||
rules for
|
||||
.Tn POSIX Ns -style
|
||||
.Tn TZ Ns 's
|
||||
.It Pa /usr/share/zoneinfo/GMT
|
||||
.It Pa /usr/share/zoneinfo/Etc/GMT
|
||||
for
|
||||
.Tn UTC
|
||||
leap seconds
|
||||
.El
|
||||
.Pp
|
||||
If the file
|
||||
.Pa /usr/share/zoneinfo/GMT
|
||||
.Pa /usr/share/zoneinfo/UTC
|
||||
does not exist,
|
||||
.Tn UTC
|
||||
leap seconds are loaded from
|
||||
|
@ -16,9 +16,9 @@ Zone Etc/UCT 0 - UCT
|
||||
|
||||
# The following link uses older naming conventions,
|
||||
# but it belongs here, not in the file `backward',
|
||||
# as functions like gmtime load the "GMT" file to handle leap seconds properly.
|
||||
# as functions like gmtime load the "UTC" file to handle leap seconds properly.
|
||||
# We want this to work even on installations that omit the other older names.
|
||||
Link Etc/GMT GMT
|
||||
Link Etc/UTC UTC
|
||||
|
||||
Link Etc/UTC Etc/Universal
|
||||
Link Etc/UTC Etc/Zulu
|
||||
|
Loading…
Reference in New Issue
Block a user