1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-11-21 01:42:00 +00:00
Commit Graph

72 Commits

Author SHA1 Message Date
07394c4ada * NEWS, Theory, zdump.8, zic.8: Document that the proleptic Gregorian
calendar is used.  (Thanks to Alan Barrett for the suggestion.)
2014-09-11 00:29:22 -07:00
765af4585e * Theory: Mention 40-bit time_t. 2014-09-06 16:40:32 -07:00
198708147f Reword so that it does not matter whether the word "data" is plural. 2014-08-12 22:20:23 -07:00
11be44dce3 The word "data" is plural. 2014-08-12 18:03:14 -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
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
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
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
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
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
ee82eb4a05 * Theory, NEWS: Also document EST5EDT etc. as exceptions.
Use the term "legacy names" for exceptions.
2014-06-26 09:39:13 -07:00
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
e1f721201a More spelling and accent fixes.
(Thanks to Ian Abbott for catching some stray '’'s.)
2014-06-25 11:04:15 -07:00
fe8b770c2d Add encoding directives for unibyte GNU Emacs.
(Thanks to Garrett Wollman for reporting the problem.)
* NEWS, Theory, northamerica: Add "coding: utf-8" directives so
that GNU Emacs, when run in a unibyte locale, does not mistakenly
interpret these files to be unibyte.  This change should make no
difference if you use Emacs to read these files in a UTF-8 locale.
I didn't bother to add coding directives to files where GNU Emacs
already deduces the encoding correctly in a Latin-1 locale.
2014-06-24 14:55:26 -07:00
ffb8e529e0 Switch back to ASCII for symbols.
Garrett Wollman reported privately that XEmacs 21.4.22, the current
stable version, doesn't work with the UTF-8 recently introduced
into our commentary.  For example, the UTF-8 character '−'
(MINUS SIGN), which is stored as the three bytes "\342\210\222",
displays as 'â\210\222'.  For proper names this is annoying but
tolerable, as there's little loss in utility from (say) 'Racoviță'
to its display form 'RacoviÈ\233Ä\203'.  But for symbols this is a
real pain that can make it hard to understand the documentation, e.g.,
'Release 2014e – 2014-06-12 21:53:52 −0700' displays as
'Release 2014e â\200\223 2014-06-12 21:53:52 â\210\2220700'.
To work around this problem, make the following substitutions in
commentary to mostly revert these symbols to their pre-UTF-8 versions:
'§' -> 'section', '°' -> 'degrees', '±' -> '+-', '–' -> '-' (en
dash), '—' -> '--' (em dash), '′' -> "'", '″' -> '"', '→' -> '->',
'−' -> '-' (minus sign), '≤' -> '<='.  Leave proper names and
foreign words in UTF-8.
2014-06-19 17:51:16 -07:00
3001a6adf4 Fix a few more accents and hyphens, and update a name and a URL. 2014-06-18 00:02:48 -07:00
f653657333 * Theory: Prefer '≤' to '<=' in commentary. 2014-06-17 18:57:07 -07:00
a577b388f3 Distinguish hyphen from minus from dashes.
Most of this patch is to commentary, to distinguish better among
the similar characters hyphen '-', minus sign '−', en dash '–' (used
for ranges), and em dash '—'.  Render ordinary dashes in text as
spaced en dashes, as this gives better-looking results in monospaced
fonts.
* yearistype.sh, zic.c: Reword diagnostics so that they do not use
hyphens as if they were dashes.  Since we are sticking to ASCII in
programs, we can't use proper dashes in diagnostics.
2014-06-17 18:46:31 -07:00
85e3d22f86 Fixed a couple of typos. 2014-06-16 22:53:58 -07:00
248d1f10a1 Restore more accents. Also, update Antarctic commentary.
This does not change any of the data.
2014-06-16 20:18:01 -07:00
09d35582da Simplify use of URLs in text files.
In several cases our text files had commentary like this:
# Egypt to cancel daylight saving time
# <a href="http://www.almasryalyoum.com/en/node/407168">
# http://www.almasryalyoum.com/en/node/407168
# </a>
where lines 2 and 4 let the file be viewed by a browser with the
URL being clickable.  In practice this approach does not work with
many modern browsers (I tested with Firefox and with Chrome) and
it clutters up the data, so in cases like the above this patch
removes lines 2 and 4.
(Problem reported by Steffen "Daode" Nurpmeso.)
2014-06-15 17:38:04 -07:00
c6abc0f671 * Theory: Fix Swedish-language typo. (Thanks to Philip Newton.) 2014-06-14 23:47:21 -07:00
41c79956c3 Now that we can use UTF-8, restore accents that ASCII lost.
* NEWS, Theory, africa, europe, northamerica, southamerica:
Don't insist on ASCII when normal English usage would have
accented words.
2014-06-14 19:11:27 -07:00
a48e137422 * Theory: Fix typos noted by Philip Newton
in <http://mm.icann.org/pipermail/tz/2013-September/020197.html>.
2013-09-15 18:36:34 -05:00
9d3b5229ca * Theory (Accuracy of the tz database): New section.
It contains material moved here from other sections, along
with material taken from my recent emails to the tz mailing list.
Suggested by Zefram in
<http://mm.icann.org/pipermail/tz/2013-September/019863.html>.
2013-09-14 22:28:37 -07:00
2e053b5600 Remove -t ZONETABTYPE option from 'tzselect'.
This was experimental, and it appears that the tzwinnow
approach will be better.  We need to cut a new stable
release soon, and the -t option might make it harder to
integrate tzwinnow later, so let's omit -t for now.
* .gitignore: Remove time.tab.
* Makefile (ZONETABTYPE): Remove.  All uses removed.
(time.tab): Remove.  All uses removed.
* Theory: Omit discussion of time.tab.
* zone-time.awk: Remove.
* tzselect.8: Omit -t and time.tab.
* tzselect.ksh (ZONETABTYPE): Remove.  All uses removed.
Remove -t ZONETABTYPE option.
* zone.tab: Restore first comment line, since there's no longer
a need to distinguish this file from time.tab.
2013-09-10 17:47:17 -07:00
b9fe626167 * Theory: Say that excluding 'backward' should not affect other data.
Suggested by Stephen Colebourne in
<http://mm.icann.org/pipermail/tz/2013-September/019939.html>.
2013-09-05 07:46:03 -07:00
42801d2b1f Correct some UTC-vs-UT solecisms.
In several places the code and documentation incorrectly used
"UTC" to describe time stamps that might precede the introduction
of UTC and for which UTC is therefore undefined.  Change these
uses to "UT", as that's the correct term when talking about these
time stamps.  Problem reported by Steve Allen in
<http://mm.icann.org/pipermail/tz/2013-September/019907.html>.
The major compatibility issue here is with 'zdump -v'; it'll now
output "UT" instead of the possibly-incorrect "UTC".
Many files change in minor ways in the commentary.
* zdump.c (show):
* zic.c (inzsub, addtype):
In output, say "UT" rather than "UTC", since the time stamp we're
talking about might precede the introduction of UTC.
2013-09-04 19:07:31 -07:00
3d046bc0e4 * Theory: Suggest at least one name per inhabited country or territory.
From a suggestion by Stephen Colebourne in
<http://mm.icann.org/pipermail/tz/2013-September/019868.html>.
2013-09-04 17:42:56 -07:00
f636932933 Document some longstanding unwritten guidelines.
These come from POSIX or similar platforms, or from the standard
'zic' implementation, but never got written down anywhere.
* Theory: Document other POSIX-inspired restrictions on names.
* zic.8 (DESCRIPTION): Document that zic's behavior is unspecified
if some names are duplicates.  Sometimes it complains, sometimes not.
2013-09-03 16:51:22 -07:00
614b193e52 * Theory: Improve citation to Morrison & Stephenson.
Mention the 1972 UTC transition.  See Steve Allen in
<http://mm.icann.org/pipermail/tz/2013-September/019770.html>.
2013-09-02 01:51:15 -07:00
28cf16f575 * Theory: Describe LMT, cutoffs, zone.tab, and time.tab better.
Following discussion by Lester Caine in
<http://mm.icann.org/pipermail/tz/2013-August/019716.html>
and Garrett Wollman in
<http://mm.icann.org/pipermail/tz/2013-August/019715.html>.
2013-08-31 04:20:31 -07:00
5e8489b16d * Theory: Describe LMT better.
Following a suggestion by Guy Harris in
<http://mm.icann.org/pipermail/tz/2013-August/019706.html>.
2013-08-30 16:43:57 -07:00
3cfb933344 Remove attempt to support floating-point time_t.
It wasn't tested and probably never worked, no platform used it,
and the latest POSIX no longer allows it.
* Makefile (typecheck): Don't check time_t being 'double'.
* Theory: Document the change.
* difftime.c (difftime):
* localtime.c (differ_by_repeat, tzload, timesub, time2sub):
* private.h (time_t_min, time_t_max):
* zdump.c (absolute_min_time, absolute_max_time, tformat):
Don't try to support floating-point time_t.
* localtime.c, private.h, zdump.c: Don't include float.h.
* localtime.c (truncate_time, double_to_time):
* private.h (TYPE_INTEGRAL):
* zdump.c (checkabsolutes):
Remove; no longer needed.  All uses removed.
* zdump.8 (LIMITATIONS): Remove discussion of floating-point time_t.
2013-08-12 01:41:34 -07:00
8fe97ff3bc * Theory: Document time_t better and update for POSIX.1-2013.
Change "`" to "'"; these days, "`" and "'" are not symmetric.
2013-08-07 17:19:22 -07:00
d3b025adb2 Adjust commentary to try to defuse recent issues somewhat.
This change stemmed from a long discussion on the tz mailing list
about what country the Jerusalem zone entry is in.  The idea of
this change is to deemphasize the role of countries in the tz
database, to lessen the amount of controversy in the future.
Due to backward compatibility concerns this change does not eliminate
the role of countries entirely.  With one minor exception this
change does not alter any code or data, just comments.
* Theory, zone.tab: Deemphasize the role of countries in choosing
location names, as they tend to introduce political conflict
during maintenance, and country information isn't needed for
typical uses of the database.
* Theory: Say that names should differ in more than just case, and why;
and explain why 'backward' means old names will continue to work.
(thanks to Norbert Lindenberg for spotting these issues).
Update citation date and URL.
* iso3166.tab: Mention latest maintenance update.
Update citation URL.  Add missing comma for BQ.
Be more consistent about abbreviating Sint like Saint.
Mention SX "Dutch part" for consistency with MF "French part".
* iso3166.tab, zone.tab: Add legal/territorial disclaimer.
* zone.tab: Say that country/zone overlaps can occur in both
directions, and that column 2 need not lie within column 1.
(Asia/Jerusalem): Change the coordinates from a sloppy value,
taken from an old astrology book, to a more-precise value, the
site of city hall.  The sloppy value sparked some controversy and
the hope is that the more-precise value will be a bit less
controversial.
2013-05-27 18:08:26 -07:00
11f660a42c Fix typo: simplifes -> simplifies. Thanks to Jonathan Leffler in
<http://mm.icann.org/pipermail/tz/2012-August/018236.html>.
2012-08-31 06:00:04 -07:00
369851954c Remove trailing white space. 2012-07-25 07:13:46 -07:00
dccd5a16af Switch from SCCS to git.
Remove the SCCS keyword '%W%' from all files.
Mostly this just remove comments.
Remove trailing white space, too.
* Makefile (TZCODE_VERSION): New macro.
(version.h): New rule.
(tzselect): Interpolate TZCODE_VERSION.
(clean): Remove version.h.
(zdump.o, zic.o): Depend on version.h.
* asctime.c, date.c, difftime.c, ialloc.c, localtime.c, scheck.c:
* strftime.c, zdump.c, zic.c: Remove elsieid.
* private.h: Remove privatehid.
* tzfile.h: Remove tzfilehid.
* tzselect.h (TZCODE_VERSION): Rename from VERSION.
* zdump.c, zic.c: Include "version.h",
and use TZCODE_VERSION instead of elsieid.
2012-07-18 17:30:38 -07:00
5885b37621 scope of database
SCCS-file: Theory
SCCS-SID: 8.6
2012-07-18 03:03:11 -04:00
f7a13521eb Factory goes
SCCS-file: Theory
SCCS-SID: 8.5
2012-07-18 03:03:10 -04:00
a48ab4afe0 Calendrical Calculations update
SCCS-file: Theory
SCCS-SID: 8.4
2012-07-18 03:03:08 -04:00
0936871c93 public domain
SCCS-file: Theory
SCCS-SID: 8.3
2012-07-18 03:03:07 -04:00
aff0e06f93 trailing white space eliminated
SCCS-file: Theory
SCCS-SID: 8.2
2012-07-18 03:03:01 -04:00
32f9e73acf Eggert mods
SCCS-file: Theory
SCCS-SID: 7.19
2012-07-18 03:02:50 -04:00
84cabf4e0e near-future material deleted
SCCS-file: Theory
SCCS-SID: 7.18
2012-07-18 03:02:50 -04:00
c6d174249d eggert mods
SCCS-file: Theory
SCCS-SID: 7.17
2012-07-18 03:02:49 -04:00
55fd4956a7 user@machine eliminated
SCCS-file: Theory
SCCS-SID: 7.16
2012-07-18 03:02:49 -04:00
8bc035d78e Eggert mods
SCCS-file: Theory
SCCS-SID: 7.15
2012-07-18 03:02:42 -04:00
4f568e5bef Unix -> UNIX
SCCS-file: Theory
SCCS-SID: 7.14
2012-07-18 03:02:41 -04:00