1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-11-22 08:03:37 +00:00
Commit Graph

3606 Commits

Author SHA1 Message Date
319a80ff38 Fix misspelling in previous patch. 2014-08-11 18:46:05 -07:00
62711791c3 tzselect: improve heuristic in Africa
Add the product of the longitude difference and the cosine of the
latitude farther from the equator to the distance measure.  This
works better for the Congolese test case noted by Alan Barrett in:
http://mm.icann.org/pipermail/tz/2014-July/021229.html
The new heuristic is not perfect, but no heuristic is.
* tzselect.ksh (abs, min): New functions
(convert_coord): Rename local to avoid name clash.
(gcdist): Rename from dist.
(pardist, dist): New functions.
* NEWS: Document this.
2014-08-11 18:41:32 -07:00
67d9b6ac6b * tzselect.ksh: Fix typo in implementation of undocumented -t option. 2014-08-11 17:13:25 -07:00
ac652d59bb * CONTRIBUTING: New file.
* Makefile (COMMON): Add it.
* README, NEWS, Theory, africa, asia, australasia, europe:
* northamerica, southamerica: Mention it.
2014-08-11 16:03:52 -07:00
3405f9c2fb * tz-link.htm, NEWS: Mention HP-UX (and Windows in another place). 2014-08-11 15:20:17 -07:00
63ce01cfa8 * europe: Fix some broken British URLs. (Thanks to Lester Caine.)
* NEWS: Document this.
2014-08-11 13:01:24 -07:00
f02ca7c6ef Shift the load a little between the two tarballs.
(Thanks to Alan Barrett for the suggestion.)
* Makefile (SOURCES): Move workman.sh here, from $(MISC).
(COMMON): Move NEWS here, from $(DOCS).
(tzdata$(VERSION).tar.gz): Move $(MISC) here, from
tzcode$(VERSION).tar.gz.
* NEWS: Document the above.
2014-08-11 12:32:48 -07:00
0512625db7 Improve checks for white space.
* Makefile (check_white_space): Rename from check_tabs; all uses
changed.  Also check for trailing white space and for oddball
ASCII white space characters.
2014-08-11 11:53:14 -07:00
bdd2d3331b * tz-link.htm: Consolidate and tighten up Windows description.
* NEWS: Mention Windows-related doc changes.
2014-08-11 11:53:06 -07:00
1b1a1ecad4 * tz-link.htm: Update info about Microsoft Windows. 2014-08-11 10:48:24 -07:00
115b6002d8 Adjust pre-1912 Portuguese transitions in the light of the 1911 decree.
(Thanks to Stephen Colebourne for a heads-up about the decree.)
* africa (Africa/Luanda, Africa/Bissau):
Change transition date to 1912-01-01.
(Atlantic/Cape_Verde, Africa/Maputo):
Add commentary about the switch.
* asia (Asia/Kolkata): Add commentary about Portuguese India.
* europe (Europe/Lisbon): Change Lisbon Mean Time from -0:36:32
to -0:36:45 (rounded from -0:36:44.68).
(Atlantic/Azores, Atlantic/Madeira):
Change transition date to 1912-01-01.
* NEWS: Document the above.
2014-08-11 00:28:13 -07:00
66e421de78 * northamerica: Remove no-longer-working mccsc.edu link.
(Thanks to Nathan Stratton Treadway.)
2014-08-10 15:28:45 -07:00
0e7d85ca8d * northamerica: Use a better (and active) web page for Indiana map.
(Thanks to Nathan Stratton Treadway for reporting the problem.)
2014-08-10 11:11:01 -07:00
f2fd32be74 Don't put spaces before tabs.
* Makefile (check_tabs): New rule.
(check): Use it.
Also, fix all other files to not have spaces before tabs.
2014-08-09 17:52:45 -07:00
70537d5b96 Commentary fixes, mostly 80-column issues. 2014-08-09 17:43:06 -07:00
32e8521ff2 Avoid bracketing links when alone on a line. 2014-08-09 17:43:06 -07:00
4908c6e060 More consistent spacing in UNTIL fields.
* zic.8: Also fix this in the Zone line example.
2014-08-09 17:42:55 -07:00
df39938a3a Simplify Pakistan and Mont rules, fix Dhaka rule.
* asia (Dhaka): Replace 23:59 with 24:00 to align match supporting
commentary, now that zic can handle it.
(Pakistan): Merge two rules that can be covered as one.
* northamerica (Mont): Simplify rules per existing commentary, since zic
has been able to handle this since 1998.
* NEWS: Document this.
2014-08-09 17:37:43 -07:00
72a686aed0 Expand on time zone issues in "Outsourced".
* tz-art.htm: The joke in the "Outsourced" episode may correctly exploit
the time difference between New York and San Francisco, but meanwhile,
they got the corresponding time in Mumbai totally wrong.
2014-08-09 17:37:43 -07:00
62060419e3 Minor spelling, accent, and spacing fixes.
In particular, this patch is makes the commentary more systematic
about preferring "time zone" to "timezone" except when quoting someone
else or when talking about code that uses "timezone".
2014-08-09 14:15:12 -07:00
b7a38560a5 Don't put leapseconds.awk in tzdata tarball.
This harmless bug was introduced in release 2014f, which distributed
leapseconds.awk in both the code and the data tarballs.
It's code, so it should be in the code tarball.
* Makefile (DATA): Omit leapseconds.awk.
(check_character_set): Omit redundant check of $(LEAP_DEPS).
2014-08-09 12:46:44 -07:00
17e3e1fd3e A few minor spelling fixes.
Also, remove a stray email address that leaked through our
address-removal pass a while ago.
2014-08-09 01:22:55 -07:00
3c0c83726c Adjust pre-1926 Russian UTC offsets as per Byalokoz 1919.
(Thanks to Vladimir Karpinsky.)
* asia (Asia/Tbilisi, Asia/Samarkand):
* europe (Europe/Riga, Europe/Samara, Asia/Yekaterinburg, Asia/Omsk)
(Asia/Krasnoyarsk, Asia/Irkutsk, Asia/Yakutsk, Asia/Vladivostok):
Match Byalokoz 1919 better.
* NEWS: Document the above.
2014-08-08 00:54:55 -07:00
da8d4338f2 Minor spelling, accent, or English fixes. 2014-08-06 22:51:12 -07:00
17be956450 Release tzcode2014f and tzdata2014f.
* NEWS, Makefile (VERSION): Increase to 2014f.
2014f
2014-08-05 17:46:53 -07:00
11c22e9205 * tz-link.htm: Mention Go. Add URL for Fortran. Fix tziCal license.
Update some other URLs and text in minor ways.
2014-08-05 17:41:14 -07:00
1c5a4059a7 * asia (Asia/Riyadh): Use modern spelling for Jeddah in comment. 2014-08-05 08:48:32 -07:00
4fa17743a2 * NEWS: Also mention Africa/Timbuktu. (Thanks to Stephen Colebourne.) 2014-08-02 18:32:57 -07:00
a457c170da Revert almost all the zone-to-link changes, keeping only west Africa.
This should better address concerns about large-scale changes.
We can do the rest of these changes later, as they're not urgent.
* backward (Africa/Asmera, Asia/Saigon): Restore old links.
* checktab.awk (tztab): Handle zones that should probably be
turned into links some day.
* africa (Africa/Luanda, Africa/Porto-Novo, Africa/Gaborone)
(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/Maseru, Indian/Antananarivo)
(Africa/Blantyre, Indian/Mayotte, Africa/Niamey, Africa/Kigali)
(Africa/Mogadishu, Africa/Mbabane, Africa/Dar_es_Salaam)
(Africa/Kampala, Africa/Lusaka, Africa/Harare):
* asia (Asia/Bahrain, Asia/Phnom_Penh, Asia/Kuwait)
(Asia/Vientiane, Asia/Muscat, Asia/Ho_Chi_Minh, Asia/Aden):
* australasia (Pacific/Saipan, Pacific/Midway):
* northamerica, southamerica (America/Antigua, America/Cayman):
New zones, restoring 2014e data.  Corresponding links removed.
* NEWS: Document the above.
2014-07-31 21:28:12 -07:00
183750fb0e * NEWS, africa, australasia: Minor commentary fixes.
Some of these are from Tim Parenti's proposed patches in:
http://mm.icann.org/pipermail/tz/2014-July/021265.html
2014-07-31 21:02:21 -07:00
4c73ed617f Rename time.tab to zone1970.tab.
* Makefile (ZONETABLES): Rename from TIMETABLES.  All uses changed.
* zone1970.tab: Rename from time.tab.  All uses changed.
2014-07-31 15:20:45 -07:00
be3909e7ab Some typo fixes.
* NEWS: Russian change of 2014-10-26 is now official; removes verbal hedge.
* europe (Asia/Omsk): Fixes typos in commentary.
* tz-art.htm: Fuller sources for "Friends" and "Frasier" quotes, a few other
typos.
2014-07-26 07:02:19 -07:00
87163d184d The Russian change for 2014-10-26 is official.
(Thanks to Alexander Krivenyshev.)
* europe, time.tab, zone.tab, NEWS (Asia/Chita, Asia/Srednekolymsk):
New zones.  These were formerly commented out.
2014-07-22 20:54:19 -07:00
b7816e7306 * tzselect.ksh, NEWS: Port to non-Bash shell that has 'select'.
(Thanks to Alan Barrett.)
2014-07-22 20:18:49 -07:00
f210b6706d * tzselect.8: Fix formatting glitch by creating NOTES section. 2014-07-22 19:50:32 -07:00
13454dc50c * Makefile (TZCOBJS), NEWS: Remove localtime.o, asctime.o.
(Thanks to John Cochran.)
2014-07-19 19:19:48 -07:00
f107634953 * checktab.awk: Fix typo that prevented catching inks in 'time.tab'.
Also, hoist some code out of a loop.
2014-07-19 15:44:39 -07:00
d46ab6e5e9 * europe: Fix spelling in comment. (Thanks to Christos Zoulas.) 2014-07-19 07:32:56 -07:00
ec7a539e26 * europe, NEWS: Give proper credit to George Vernon Hudson
as the inventor of DST.
2014-07-19 01:19:40 -07:00
5ddc47fe41 New file time.tab, superseding zone.tab
It allows multiple country codes per zone.  Switch code and data to
use the new format, along with the recently-added Crozet Islands entry.
The old zone.tab file is still installed but is deprecated.
The new file uses UTF-8; add commentary saying that iso3166.tab is
planned to change to UTF-8.
* Theory, tzselect.8 (FILES): zone.tab -> time.tab.
* africa (Indian/Alfred_Faure): Remove link.
* antarctica: Mention Possession Island in comments.
* checktab.awk: Add support for checking time.tab.
* iso3166.tab: Mention planned switch to UTF-8.
Update ISO 3166-1 Newsletter from VI-15 to VI-16.
* time.tab: New file.
* tzselect.ksh (zonetabtype): New variable.
Add undocumented -t option, meant for developer testing.
(TZ_ZONE_TABLE): Use zonetabtype.
(output_distances, countries, regions, TZ): Support time.tab format.
(quoted_continents, distance_table, countries, regions)
(TZ, TZ_for_date): Quote shell strings more carefully.
* zone.tab: Refer to time.tab for detailed comments about format.
(Indian/Alfred_Faure): Remove.
* Makefile (TIMETABLES): New macro.
(TABDATA, install, check_tables): Use it.
(check_character_set, check_tables): Check time.tab too.
(check_time_t_alternatives): Use time.tab, not zone.tab.
* NEWS: Document the above.
2014-07-18 13:31:54 -07:00
d690cb7feb * zone.tab: Reorder to put Pacific times together. 2014-07-18 01:33:34 -07:00
717ed49e71 Be a bit more consistent about Metlakatla and Resolute abbr and comments.
* northamerica (America/Metlakatla): Use the more-common "PST"
rather than our invented "MeST" for the abbreviation.  Our source
called it "Pacific Time", as did a contemporaneous news report,
and I couldn't find contemporaneous use of "MeST" or of
"Metlakatla Time".  Cite the news report in the commentary,
and quote some Juneau graffiti.
* zone.tab (America/Resolute): Call it Central Time, not Central
Standard Time, since it observes DST now.
(America/Metlakatla): Call it Pacific Standard Time, not
Metlakatla Time.  Mention that it's in Alaska.
* NEWS: Document the above.
2014-07-18 00:40:37 -07:00
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
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
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
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
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
f04facaf78 * europe: Fix date typos in recently-added commentary. 2014-07-08 19:32:38 -07:00
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
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