1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2026-05-06 21:56:00 +00:00
Commit Graph

3614 Commits

Author SHA1 Message Date
Paul Eggert
66cc7f5d73 * tz-link.htm, NEWS: Mention the latlong package.
(Thanks to a heads-up from Dirkjan Ochtman.)
2014-07-15 22:52:10 -07:00
Paul Eggert
f1ddf32f05 Revert some zone-to-link changes and add some more; plus related fixes.
Revert zone-to-link changes that changed current time zone
abbreviations.  Add a few more changes, for more consistency.
Make several other fixes discovered while researching this.
* africa (Africa/Accra, Antarctica/Syowa):
* asia (Pacific/Palau):
* australasia (Pacific/Funafuti, Pacific/Majuro, Pacific/Wake)
(Pacific/Wallis, Antarctica/DumontDUrville, Pacific/Chuuk)
(Pacific/Pohnpei):
* northamerica (Pacific/Tahiti):
Remove links, as they are now zones again.
* africa (Africa/Accra, Africa/Maputo):
* antarctica (Antarctica/DumontDUrville, Antarctica/Syowa):
* australasia (Pacific/Tahiti, Pacific/Majuro, Pacific/Chuuk)
(Pacific/Pohnpei, Pacific/Palau, Pacific/Funafuti, Pacific/Wake)
(Pacific/Wallis):
Restore zone.
* africa (Africa/Accra): Assume DST starting in 1920, as per Scott
Keltie & Epstein 1920.
* asia (Asia/Bahrain, Asia/Phnom_Penh, Asia/Kuwait, Asia/Vientiane)
(Asia/Muscat, Asia/Ho_Chi_Minh, Asia/Aden):
* northamerica (America/Antigua, America/Cayman):
Change from zone to link, as these are also closely related.
* africa (Africa/Blantyre, Africa/Bujumbura, Africa/Gaborone)
(Africa/Harare, Africa/Kigali, Africa/Lubumbashi, Africa/Lusaka):
Now links to Africa/Maputo, not Africa/Johannesburg.
* asia (Asia/Riyadh): Change standard-time transition from 1950
to 1947-03-14.  Add commentary citing Hunt 1961 and CAB 1946.
* australasia (Pacific/Chatham): Assume NZST - 45 min. before 1946.
Add commentary about this.
(Pacific/Pago_Pago): UT-11 from 1911 to 1950.
(WS, Pacific/Apia): Use NZ-style abbreviations.
Switch to "WSST" for Western Samoa standard time before 1950.
Add commentary about Samoa before 1950.
* backward (Africa/Asmera, Africa/Timbuktu, Asia/Saigon):
Redo to avoid link-to-link.
* europe (Hungary, Europe/Bucharest): Several pre-1946
corrections: in 1918 the transition out of DST was on 09-16, not
09-29; in 1919 it was on 11-24, not 09-15; in 1945 it was on
11-01, not 11-03; in 1941 the transition to DST was 04-08 not
04-06 at 02:00; and there was no DST in 1920.
(Poland): Add source for 1919.
* southamerica: Add link for America/Antigua.
* NEWS: Document the above.  Add some thanks.
2014-07-15 22:24:50 -07:00
Tim Parenti
6d773d542a No leap second on 2014-12-31.
* leap-seconds.list: Per IERS Bulletin C48 (2014-07-07), no leap second on
2014-12-31.  Update file from NIST.
2014-07-09 16:40:59 -07:00
Paul Eggert
4b4e789d5c Replace Africa zones with links when that doesn't lose useful info.
* africa (Africa/Luanda, Africa/Porto-Novo, Africa/Gaborone)
(Africa/Ouagadougou, Africa/Bujumbura, Africa/Douala, Africa/Bangui)
(Indian/Comoro, Africa/Kinshasa, Africa/Lubumbashi, Africa/Brazzaville)
(Africa/Djibouti, Africa/Malabo, Africa/Asmara, Africa/Addis_Ababa)
(Africa/Libreville, Africa/Banjul, Africa/Accra, Africa/Conakry)
(Africa/Maseru, Indian/Antananarivo, Africa/Blantyre, Africa/Bamako)
(Africa/Nouakchott, Indian/Mayotte, Africa/Maputo, Africa/Niamey)
(Africa/Kigali, Atlantic/St_Helena, Africa/Sao_Tome, Africa/Dakar)
(Africa/Freetown, Africa/Mogadishu, Africa/Mbabane, Africa/Dar_es_Salaam)
(Africa/Lome, Africa/Kampala, Africa/Lusaka, Africa/Harare):
* antarctica (Antarctica/Syowa):
Remove zone, replacing each with a link to a region that has had
the same UTC offset since 1970.
* NEWS: Document this.
2014-07-09 12:23:27 -07:00
Paul Eggert
662016b64a Replace some zones with links when that doesn't lose useful info.
This is like the 2013-09-02 change, but for the Pacific this time.
* antarctica (Antarctica/DumontDUrville):
* australasia (Pacific/Tahiti, Pacific/Saipan, Pacific/Majuro)
(Pacific/Chuuk, Pacific/Pohnpei, Pacific/Palau, Pacific/Funafuti)
(Pacific/Midway, Pacific/Wake, Pacific/Wallis):
Remove zone, replacing each with a link to a region that has had
the same UTC offset since 1970.  This removes data that were
largely invented, either by us or almost surely by Shanks or his
sources.
* asia, australasia, northamerica: Create links accordingly.
* NEWS: Document this.
2014-07-08 23:48:16 -07:00
Paul Eggert
f04facaf78 * europe: Fix date typos in recently-added commentary. 2014-07-08 19:32:38 -07:00
Paul Eggert
81ee353cdd Correct time in Russia before 1927 or so.
(Thanks to Vladimir Karpinsky for the Moscow corrections.)
Other corrections are taken from Milne 1899.
* asia (Asia/Tbilisi): Change LMT from 2:59:16 to 2:59:06.
(Asia/Tashkent): Change LMT from 4:37:12 to 4:37:11.
* europe (Europe/Helsinki): Change LMT from 1:39:52 to 1:39:49.
(Europe/Riga): Change LMT from 1:36:24 to 1:36:28.
(Europe/Moscow): Change LMT from 2:30:20 to 2:30:17.
Change 1916/9 time from 2:30:48 to 2:31:19.
(Asia/Yekaterinburg): Change LMT from 4:02:24 to 4:02:33.
(Asia/Irkutsk): Change LMT from 6:57:20 to 6:57:15.
(Asia/Vladivostok): Change LMT from 8:47:44 to 8:47:34.
* zone.tab (Europe/Moscow): Use Kilometer 0 point.
* NEWS: Document this.
2014-07-08 19:23:04 -07:00
Paul Eggert
27b3aeb0ba * zic.8, NEWS: Clarify use of time types in rule lines.
(Thanks to Arthur David Olson.)
2014-07-08 16:58:15 -07:00
Tim Parenti
c14bd28c94 Fixes for minor oversights re: Russian changes on 2014-10-26.
* europe: (Europe/Samara): Prefer MSK/MSD for Moscow time and EET/EEST for
Eastern European time.
(Asia/Srednekolymsk): Fix incorrect link in commentary.
* zone.tab (Asia/Chita): Mention that the Moscow offset changes 2014-10-26.
2014-07-08 16:40:00 -07:00
Paul Eggert
674e42c59b New link Indian/Alfred_Faure for the Crozet and Scattered Islands.
(Thanks to Tobias Conradi and Antoine Leca.)
* africa, zone.tab (Indian/Alfred_Faure): New link.
* antarctica: Adjust commentary accordingly.
* NEWS: Document this.
2014-07-08 15:18:10 -07:00
Paul Eggert
70a26f8218 * australasia (Pacific/Apia, WS): Move DST data from Zone to Rule lines.
This doesn't change the output, but is shorter and easier to follow.
Trim and adjust commentary a bit.
2014-07-08 11:43:03 -07:00
Paul Eggert
63bea53af5 Pacify 'make check_character_set'. 2014-07-07 22:47:16 -07:00
Paul Eggert
f4007fd42c Update zone.tab for Russia, and remove Asia/Tiksi comment.
My best guess is that the Asia/Tiksi entry is a false alarm,
and that the area hasn't diverged from Yakutsk since 1970.
* europe: Move zone.tab comments to zone.tab.
(Asia/Yakutsk): Move comment for Bulunsky district here,
Remove a comment about a draft Asia/Tiksi zone, containing the
Bulunsky district.  We don't have sufficient evidence that it
ever diverged from Yakutsk after 1970.
* zone.tab (RU): Reorder entries to make more geographical sense.
Add comments for draft zones Asia/Chita, Asia/Srednekolymsk.
(Europe/Samara, Asia/Novokuznetsk, Asia/Magadan, Asia/Kamchatka)
(Asia/Anadyr): Mention that the Moscow offset changes 2014-10-26.
* NEWS: Document the above.
2014-07-07 22:09:37 -07:00
Tim Parenti
4b5ad4f7e8 Zone splits for the proposed Russian change on 2014-10-26
Also, a historical split.
* europe: Add commentary describing proposed future zones Asia/Chita and
Asia/Srednekolymsk, as well as proposed historical split Asia/Tiksi.
* NEWS: Document this.
2014-07-07 18:27:02 -07:00
Tim Parenti
8b921497e8 Standardize commentary on the coverage of each Russian zone.
This borrows heavily from Oscar van Vlijmen's earlier work here.
Mention recent mergers of regions as well.
* europe (Europe/Volgograd): Reattribute old comment to Paul Eggert.
(Asia/Yakutsk): Confirm that Zabaykalsky Krai will need its own zone
from 2014-10-26.
(Asia/Vladivostok): Mention that Bulunsky District will need its own
zone to correctly record its history.
(Asia/Magadan): Mention that the parts of Sakha (Yakutia) Republic and
the North Kuril Islands covered by this zone will need their own zone
from 2014-10-26.
* NEWS: Document this.
2014-07-07 18:26:39 -07:00
Tim Parenti
639ac0343c Prefer MSK/MSD for Volgograd when on Moscow time.
* europe: (Europe/Volgograd): Prefer MSK/MSD for Moscow time.
* NEWS: Document preference for MSK/MSD and EET/EEST.
2014-07-07 18:24:49 -07:00
Tim Parenti
1d8b7c6caa Further fixes for the proposed Russian change on 2014-10-26.
* europe: Fix an 80-column issue in commentary.
(Asia/Novokuznetsk): Switch abbreviation from NOVT to KRAT on 2014-10-26
at 02:00.
(Asia/Krasnoyarsk, Asia/Khandyga, Asia/Sakhalin, Asia/Ust-Nera):
Subtract an hour on 2014-10-26 at 02:00.
(Asia/Magadan): Subtract two hours at that time.
* zone.tab (Europe/Samara, Asia/Novokuznetsk, Asia/Magadan, Asia/Kamchatka)
(Asia/Anadyr): Update descriptions relative to Moscow time.
* NEWS: Document this.
2014-07-07 18:11:13 -07:00
Paul Eggert
3ddf68d115 * asia (Asia/Taipei): 1945 transition was 09-21 01:00, not 10-25.
Also, update commentary to describe recent changes better.
(Thanks to Yu-Cheng Chuang.)
* NEWS: Document this.
2014-07-04 11:01:17 -07:00
Yu-Cheng Chuang
2733b99562 Correct DST transitions for Taiwan in 1946, 1947, and 1979.
* asia (Asia/Taipei):
DST in 1946 was adopted from May 15 through Sep 30.
DST in 1947 was adopted form Apr 15 through Oct 31.
DST in 1979 was adopted from Jul 1 through Sep 30.
2014-07-04 10:46:04 -07:00
Tim Parenti
52fbce4359 Rename stray CJT to JCST.
* europe (Asia/Sakhalin): Rename CJT to JCST.  Transition to JST was 1937-10-01,
not 1938.
* NEWS: Update documentation.
2014-07-02 22:04:48 -07:00
Tim Parenti
bd3824ac6c * asia (Asia/Tokyo): Update commentary regarding dates of 1896 and 1937 transitions. 2014-07-01 22:42:46 -07:00
Tim Parenti
f25204c6c0 * NEWS: Fixes typo in Asia/Taipei release note. 2014-07-01 22:42:29 -07:00
Paul Eggert
7287ec61a6 The Russian change is at 02:00 local time, not 02:00 Moscow time.
* europe (Europe/Kaliningrad, Europe/Moscow, Europe/Simferopol)
(Europe/Volgograd, Asia/Yekaterinburg, Asia/Omsk)
(Asia/Novosibirsk, Asia/Irkutsk, Asia/Yakutsk, Asia/Vladivostok):
The transition this fall is at 02:00 local time, not 02:00 Moscow time.
The newspaper report was wrong.  Also, add pointers to the bill and to
Krivenyshev's table.  (Thanks to Alexander Krivenyshev.)
2014-07-01 22:18:59 -07:00
Paul Eggert
a26af2be66 Correct times for Asia/Taipei before 1945-10-25.
(Thanks to Yu-Cheng Chuang.)  Also, update time zone abbreviations for
Japan's two time zones used 1896-1937.  JWST now stands for Western
Standard Time, and JCST for Central Standard Time (formerly this was CJT).
* asia (Taiwan): Omit DST during 1945.
(Asia/Taipei): Add a transition to JWST on 1896-01-01, then to
JST on 1937-10-01, then to CST on 1945-10-25.
(Asia/Tokyo): Rename CJT to JCST.  Transition to JCST was 1937-10-01,
not 1938.
(Asia/Seoul, Asia/Pyongyang): Call UT+9 "JCST" until 1937-01-01,
"JST" thereafter.  Assume JCST/JST until Allied takeover after WWII.
* NEWS: Document this.
2014-07-01 18:22:47 -07:00
Paul Eggert
e30b13efd4 Russia moves most of its clocks back an hour this fall.
(Thanks to Alexander Krivenyshev.)
* europe: Document FET separately.  Add a comment about
whether Zabajkal'skij kraj needs a separate zone.
(Europe/Kaliningrad, Europe/Moscow, Europe/Simferopol, Europe/Volgograd)
(Asia/Yekaterinburg, Asia/Omsk, Asia/Novosibirsk, Asia/Irkutsk)
(Asia/Yakutsk, and Asia/Vladivostok): Subtract an hour from the
time zone on 2014-10-26 at 02:00 Moscow time.
(Europe/Simferopol): Move to after Europe/Moscow, to simplify
similar maintenance in the future.
* NEWS: Document this.
2014-07-01 15:02:13 -07:00
Paul Eggert
90fc5d80e8 A few more commentary fixes related to AEST/AEDT etc.
* antarctica: Shrink commentary to fit into 80 columns.
* tz-link.htm: Rework example to use "CST" throughout.
2014-06-30 23:30:36 -07:00
Tim Parenti
34a42d72b2 Commentary fixes related to AEST/AEDT etc.
* antarctica (Antarctica/Casey): Spell out AWST in comment.
* tz-link.htm: Use CST instead of EST in the example, as in Theory, to
match the current database.
* zic.8: Update Australia/Adelaide Zone line example to match current
usage.
2014-06-30 23:19:11 -07:00
Paul Eggert
f7a73336e9 * asia: 'Urumqi' -> 'Ürümqi' in commentary. 2014-06-30 23:16:57 -07:00
Paul Eggert
15b01c042a Simplify China's time zones from five to two.
* NEWS, asia: Document this.
* asia (Asia/Harbin, Asia/Chongqing, Asia/Kashgar): Remove.
These are now links in 'backward'.
(Asia/Shanghai): Change pre-standard-time offset from 8:05:57 to
8:05:43.  Change transition to standard time from 1928 to 1901.
(Asia/Urumqi): Remove 1980 transition to UTC+8.
* backward (Asia/Harbin, Asia/Chongqing, Asia/Kashgar): New links.
(Asia/Chungking): Avoid link-to-link.
* zone.tab (Asia/Harbin, Asia/Chongqing, Asia/Kashgar): Remove.
2014-06-30 23:07:22 -07:00
Paul Eggert
81a7abf902 A few more fixes related to AEST/AEDT etc. (Thanks to Tim Parenti.)
* Theory: Use CST instead of EST in the example, so that it matches
the current database.
* antarctica (Antarctica/Casey): AWST, not WST.
* asia (Asia/Jayapura): ACST, not CST.
* australasia: Prepend "[A]" to "EST" in quote about EST.
2014-06-30 01:19:46 -07:00
Paul Eggert
62df86e10c Use AEST/AEDT etc. instead of EST etc. for Australian abbreviations.
* NEWS, australasia (Aus, Australia/Darwin, AW, Australia/Perth)
(Australia/Eucla, AQ, Holiday, Australia/Brisbane, Australia/Lindeman)
(AS, Australia/Adelaide, AT, Australia/Hobart, Australia/Currie, AV)
(Australia/Melbourne, AN, Australia/Sydney, Australia/Broken_Hill)
(LH, Australia/Lord_Howe, Antarctica/Macquarie):
Prefix Australian time zone abbreviations with "A", and switch
from "ST" to "DT" to denote daylight saving time.  (Thanks to Ian
Abbott, Russ Allbery, Timothy Arceri, Alan Barrett, Stuart Bishop,
Shaun Bouckaert, Stephen Colebourne, Tobias Conradi, Mark Davis,
Robert Elz, Clive D.W. Feather, Dennis Ferguson, Edwin Groothuis,
Guy Harris, John Hawkinson, John Haxby, Brian Inglis, Paul Koning,
Kevin Lyda, Curtis Manwaring, Alan Mintz, Arthur David Olson, Matt
Paine, David Patte, Tim Parenti, random832, Derick Rethans, SM,
Peter Stagg, Rich Tibbett, Bennett Todd, and Garrett Wollman for
their contributions to this topic.)
2014-06-30 00:35:15 -07:00
Paul Eggert
468555e32d Fix glitches with '-' and italics in man pages.
Using '\-' to denote ASCII minus has problems in groff output, since
it generates a minus sign in the current font, and if you cut and
paste from the documentation the resulting text won't work.  To avoid
the problem, define a string \*- that expands to ASCII minus in a
constant-width font in groff.  Also, change some instances of \(mi and
\(pl to use plain \- and +, since we no longer need special fonts for
these.  Finally, remove some no-longer-needed instances of "\^" after
italicized words.
2014-06-28 16:37:21 -07:00
Paul Eggert
8f065f5aa9 * asctime.c, newctime.3, newtzset.3: Don't imply ASCII is required. 2014-06-28 14:09:32 -07:00
Paul Eggert
c25e1180cf More spelling and accent fixes.
Plus, update a now-obsolete source for Samoa's late-2011 change to the
International Date Line.
2014-06-27 16:06:47 -07:00
Paul Eggert
1f511fbd8b * leap-seconds.list: Copy from current NIST version. 2014-06-27 15:38:49 -07:00
Paul Eggert
8fd7c232b7 * zic.8: Fix formatting of long URL.
* zic.8: Format the URL better, by using groff's .URL macro,
falling back on a portable alternative for non-groff implementations.
2014-06-27 01:46:22 -07:00
Paul Eggert
5be5ee3dd4 Mention more JavaScript libraries.
* tz-link.htm, NEWS: Mention Moment Timezone, TimezoneJS.Date, Walltime-js,
and Timezone.  (Thanks to a heads-up from Matt Johnson.)  Also, list
license for timezone-olson.
2014-06-27 01:09:39 -07:00
Paul Eggert
2c780353d2 'zic' now rejects output file names with '.' or '..' components.
* zic.8, NEWS: Say that "." and ".." file name
components are not allowed in output file names.
* zic.c (componentcheck, namecheck): Do not allow such
file name components.
2014-06-26 23:37:51 -07:00
Paul Eggert
f88bd423e6 Fix some 'zic' issues when run as root.
* zic.c: Use angle brackets for <sys/stat.h>.
(dolink): Don't try to link from a directory, as this can
cause trouble on some systems when superuser.
(dolink, itsdir): Rewrite to avoid use of 'access', which is
problematic when setuid.
(itsdir): If S_ISDIR is defined, use plain 'stat' and S_ISDIR;
that's more reliable.  Return -1 if trouble; all callers changed.
(mkdirs): Simplify by using mkdir-itsdir rather than
itsdir-mkdir-itsdir.  Don't assume strerror preserves errno.
2014-06-26 21:22:12 -07:00
Paul Eggert
dcf567c4e9 * private.h, zdump.c (TZ_DOMAIN): Look at HAVE_GETTEXT,
not TZ_DOMAINDIR, when deciding whether to define.  This fixes a
recently-introduced typo.  Found by compiling with -DHAVE_GETTEXT
under GNU/Linux.
2014-06-26 15:19:00 -07:00
Paul Eggert
52518704ee Avoid <ctype.h> locale problems.
* zdump.c, zic.c: Don't include <ctype.h>, because the behavior if
its macros is locale-dependent if HAVE_GETTEXT, and we want the C
locale's semantics.  Instead, use portable replacements for
ctype.h operations, with the desired semantics.  All uses of
isalpha etc. replaced by calls to new functions is_alpha etc.  or
by inline code.
(isascii): Remove.
(is_alpha): New function.
* zic.c (doabbr): Simplify by using is_alpha.
(is_space): New function.
* NEWS: Document the above.
2014-06-26 14:47:12 -07:00
Paul Eggert
100a770913 * zic.8, NEWS: Document character encoding issues better.
(Thanks to Guy Harris for reporting the problem.)
2014-06-26 14:25:47 -07:00
Paul Eggert
0e07c140e8 A few more spelling, accent, and commentary cleanups. 2014-06-26 10:07:15 -07:00
Paul Eggert
ee82eb4a05 * Theory, NEWS: Also document EST5EDT etc. as exceptions.
Use the term "legacy names" for exceptions.
2014-06-26 09:39:13 -07:00
Paul Eggert
300e008f98 'zic -v' now warns about all '.'s in output file names.
* zic.c (componentcheck, namecheck): Warn about all '.'s in
the file name, not merely about "." and ".." file name components.
* zic.8 (DESCRIPTION), NEWS: Document this.
2014-06-26 09:36:50 -07:00
Paul Eggert
5b9d37cbea Go back to ASCII in *.txt files, too.
For *.txt files, UTF-8 is not that important, and avoiding it
is better for users with older or misconfigured manpage readers.
* Makefile (check_character_set): Check that *.txt files
contain only safe characters.
($(MANTXTS)): Build *.txt files in the C locale, not in en_US.utf8.
2014-06-25 23:29:43 -07:00
Paul Eggert
2d118af291 Add 'Thanks' for previous change. 2014-06-25 23:17:28 -07:00
Paul Eggert
0c0f598f26 Check POSIX file name restrictions more carefully.
Also, document the longstanding exceptions to POSIX.
Derived from Arthur David Olson's patch in:
http://mm.icann.org/pipermail/tz/2014-June/021052.html
* Theory: Document the exceptional file name components in 'etcetera'
and 'backward' that contain '+' or digits, or are too long.
* zic.8 (DESCRIPTION): Document the change to zic.
* zic.c (component_length_check, namecheck): New functions.
(dolink, writezone): Use them to check that file name components
obey the POSIX rules, and do not contain "." or "..".
* NEWS: Document the above.
2014-06-25 23:15:27 -07:00
Paul Eggert
d8cf675093 Remove no-longer-necessary trademark notices.
(Thanks to Arthur David Olson.)
* private.h, zic.c: Remove UNIX notices.
2014-06-25 17:19:42 -07:00
Tim Parenti
367870dc72 * africa, asia: Provide dates of reference for USNO citations. 2014-06-25 14:14:32 -07:00