FW: proposed tz changes (zdump.c, backward, and systemv)
The attached may not have made it to the time zone mailing list; just in case... --ado -----Original Message----- From: Paul Eggert [mailto:eggert@CS.UCLA.EDU] Sent: Monday, November 21, 2005 3:38 PM To: Arthur David Olson Cc: tz@lecserver.nci.nih.gov Subject: Re: proposed tz changes (zdump.c, backward, and systemv) Arthur David Olson <olsona@elsie.nci.nih.gov> writes:
+ Zone AST4ADT -4:00 US A%sT
This change, in the 'backward' file, would mean that 'backward' could not be compiled independently from 'northamerica'. Also, the tz database currently does not have an entry for TZ='AST4ADT'. Surely it's not necessary to add a new name that uses that long-obsolete naming convention? + Zone AST4 -4:00 - AST Lines like this one aren't necessary, since TZ='AST4' already works. Or perhaps you meant "Zone AST"? In that case, the same argument applies as for AST4ADT; there's no current entry, and we don't need to add new entries that use a long-obsolete naming scheme. How about this change instead? It's more conservative, in that it doesn't create any new names; also, it addresses the other issues mentioned above. =================================================================== RCS file: RCS/backward,v retrieving revision 2005.13 retrieving revision 2005.13.0.2 diff -pu -r2005.13 -r2005.13.0.2 --- backward 2005/08/29 15:54:31 2005.13 +++ backward 2005/11/21 20:35:28 2005.13.0.2 @@ -42,7 +42,7 @@ Link America/Rio_Branco Brazil/Acre Link America/Noronha Brazil/DeNoronha Link America/Sao_Paulo Brazil/East Link America/Manaus Brazil/West -Link America/Chicago CST6CDT +Link SystemV/CST6CDT CST6CDT Link America/Halifax Canada/Atlantic Link America/Winnipeg Canada/Central Link America/Regina Canada/East-Saskatchewan @@ -55,8 +55,8 @@ Link America/Whitehorse Canada/Yukon Link America/Santiago Chile/Continental Link Pacific/Easter Chile/EasterIsland Link America/Havana Cuba -Link America/Panama EST -Link America/New_York EST5EDT +Link SystemV/EST5 EST +Link SystemV/EST5EDT EST5EDT Link Africa/Cairo Egypt Link Europe/Dublin Eire Link Europe/London Europe/Belfast @@ -67,7 +67,7 @@ Link Etc/GMT GMT+0 Link Etc/GMT GMT-0 Link Etc/GMT GMT0 Link Etc/GMT Greenwich -Link Pacific/Honolulu HST +Link SystemV/HST10 HST Link Asia/Hong_Kong Hongkong Link Atlantic/Reykjavik Iceland Link Asia/Tehran Iran @@ -76,8 +76,8 @@ Link America/Jamaica Jamaica Link Asia/Tokyo Japan Link Pacific/Kwajalein Kwajalein Link Africa/Tripoli Libya -Link America/Phoenix MST -Link America/Denver MST7MDT +Link SystemV/MST7 MST +Link SystemV/MST7MDT MST7MDT Link America/Tijuana Mexico/BajaNorte Link America/Mazatlan Mexico/BajaSur Link America/Mexico_City Mexico/General @@ -85,7 +85,7 @@ Link Pacific/Auckland NZ Link Pacific/Chatham NZ-CHAT Link America/Denver Navajo Link Asia/Shanghai PRC -Link America/Los_Angeles PST8PDT +Link SystemV/PST8PDT PST8PDT Link Pacific/Pago_Pago Pacific/Samoa Link Pacific/Truk Pacific/Yap Link Europe/Warsaw Poland =================================================================== RCS file: RCS/systemv,v retrieving revision 2001.1.0.2 retrieving revision 2001.1.0.2.0.2 diff -pu -r2001.1.0.2 -r2001.1.0.2.0.2 --- systemv 2005/10/04 04:31:57 2001.1.0.2 +++ systemv 2005/11/21 20:35:28 2001.1.0.2.0.2 @@ -7,7 +7,8 @@ # the changes in the DST rules in the US after 1976 (which occurred after # the old rules were written). # -# If you need the old rules, uncomment ## lines and comment-out Link lines. +# If you need the old rules, uncomment ## lines and # comment-out lines +at the end of the file. # Compile this *without* leap second correction for true conformance. # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S @@ -34,17 +35,36 @@ ## Zone SystemV/PST8 -8:00 - PST ## Zone SystemV/YST9 -9:00 - YST ## Zone SystemV/HST10 -10:00 - HST -# For now... -Link America/Halifax SystemV/AST4ADT -Link America/New_York SystemV/EST5EDT -Link America/Chicago SystemV/CST6CDT -Link America/Denver SystemV/MST7MDT -Link America/Los_Angeles SystemV/PST8PDT -Link America/Anchorage SystemV/YST9YDT -Link America/Puerto_Rico SystemV/AST4 -Link America/Panama SystemV/EST5 -Link America/Regina SystemV/CST6 -Link America/Phoenix SystemV/MST7 -Link Pacific/Pitcairn SystemV/PST8 -Link Pacific/Gambier SystemV/YST9 -Link Pacific/Honolulu SystemV/HST10 + +# A copy of the US rules from 'northamerica'. +# The copy is so that 'systemv' can be compiled independently. +# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S +Rule US-sysv 1918 1919 - Mar lastSun 2:00 1:00 D +Rule US-sysv 1918 1919 - Oct lastSun 2:00 0 S +Rule US-sysv 1942 only - Feb 9 2:00 1:00 W # War +Rule US-sysv 1945 only - Aug 14 23:00u 1:00 P # Peace +Rule US-sysv 1945 only - Sep 30 2:00 0 S +Rule US-sysv 1967 2006 - Oct lastSun 2:00 0 S +Rule US-sysv 1967 1973 - Apr lastSun 2:00 1:00 D +Rule US-sysv 1974 only - Jan 6 2:00 1:00 D +Rule US-sysv 1975 only - Feb 23 2:00 1:00 D +Rule US-sysv 1976 1986 - Apr lastSun 2:00 1:00 D +Rule US-sysv 1987 2006 - Apr Sun>=1 2:00 1:00 D +Rule US-sysv 2007 max - Mar Sun>=8 2:00 1:00 D +Rule US-sysv 2007 max - Nov Sun>=1 2:00 0 S + +# Zone NAME GMTOFF RULES FORMAT +Zone SystemV/AST4 -4:00 - AST +Zone SystemV/EST5 -5:00 - EST +Zone SystemV/CST6 -6:00 - CST +Zone SystemV/MST7 -7:00 - MST +Zone SystemV/PST8 -8:00 - PST +Zone SystemV/YST9 -9:00 - YST +Zone SystemV/HST10 -10:00 - HST + +Zone SystemV/AST4ADT -4:00 US-sysv A%sT +Zone SystemV/EST5EDT -5:00 US-sysv E%sT +Zone SystemV/CST6CDT -6:00 US-sysv C%sT +Zone SystemV/MST7MDT -7:00 US-sysv M%sT +Zone SystemV/PST8PDT -8:00 US-sysv P%sT +Zone SystemV/YST9YDT -9:00 US-sysv Y%sT
participants (1)
-
Olson, Arthur David (NIH/NCI)