summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add comments re offtime, timeoff, timelocalHEADmainPaul Eggert2023-04-232-1/+10
|
* Greenland changed standard time alreadyPaul Eggert2023-04-042-1/+18
| | | | | | | | This does not affect UTC offsets, only tm_isdst. (Thanks to Thomas M. Steenholdt.) * NEWS: Mention this. * europe (America/Nuuk): Change standard time in March 2023, not in October 2023.
* Release 2023c2023cPaul Eggert2023-03-281-1/+1
| | | | * NEWS: Increase version to 2023c.
* * tz-art.html: Fix typo re xkcd strips vs panels.Paul Eggert2023-03-281-4/+5
|
* * tz-art.html: Add more xkcd panels, and Duckworth.Paul Eggert2023-03-271-1/+13
|
* Fix comments on Lebanon this weekPaul Eggert2023-03-271-2/+3
| | | | | * asia: Adjust comment to match what the prime minister eventually ended up with this week.
* Adjust attribution at Jad Baz’s requestPaul Eggert2023-03-271-1/+1
|
* Revert 2023b’s data changesPaul Eggert2023-03-273-12/+46
| | | | | | * NEWS: Mention this. * asia (Lebanon): Revert to 2023a data. Add commentary. * tz-link.html: Warn further about confusion.
* Release 2023b2023bPaul Eggert2023-03-231-1/+1
| | | | * NEWS: Increase version to 2023b.
* Lebanon springs forward later this yearPaul Eggert2023-03-232-1/+20
| | | | | | | This year Lebanon springs forward April 20/21 not March 25/26. (Thanks to Saadallah Itani.) * NEWS: Mention this. * asia (Lebanon): This year only, spring forward is April 21.
* Release 2023a2023aPaul Eggert2023-03-221-1/+1
| | | | * NEWS: Increase version to 2023a.
* Update Palestine comments (thanks to Heba Hamad)Paul Eggert2023-03-222-12/+8
|
* * NEWS: Document previous change.Paul Eggert2023-03-221-0/+3
|
* Port to C23 + !setenv + !localtime_rzPaul Eggert2023-03-221-2/+2
| | | | | | | | Problem reported privately by panic (2023-03-22). * zdump.c (tzalloc): Fix misspelling typos in code that is compiled when not using localtime_rz (e.g., when not linking with tzcode and not on NetBSD), and setenv is missing, and the compiler supports C23 or later.
* Pacify gcc -Wunused-parameterPaul Eggert2023-03-221-2/+2
| | | | | | | * zdump.c (localtime_rz, tzfree): [! USE_LOCALTIME_RZ]: Mark unused args with ATTRIBUTE_MAYBE_UNUSED. Problem found when compiling with -DUSE_LTZ=0 on Fedora 37 with GCC 12.2.1 20221121 (Red Hat 12.2.1-4).
* Palestine no longer observes DST during RamadanPaul Eggert2023-03-172-5/+124
| | | | | | | | | The transition dates are not decided yet. (Thanks to Heba Hamad.) For now, guess Ramadan transitions (as that is better than guessing no transitions) and document the assumptions. These predictions can be improved later as more info comes in. * NEWS: Mention this. * asia (Palestine): Implement it.
* Mention "How Time Zones Are Coordinated"Paul Eggert2023-03-151-0/+6
| | | | * tz-link.html: Cite recent ICANN blog (thanks to Kim Davies).
* Fix typo in transciption of 1905 Lagos paperPaul Eggert2023-03-151-1/+1
| | | | * africa: thought → throughout (thanks to John Sauter)
* Don’t percent-encode URIsPaul Eggert2023-03-156-17/+17
| | | | | | | Percent-encode URIs only when needed to avoid ambiguity (by using %20 instead of a space), to pacify ‘make check_character_set’ (by using %E2%80%99 instead of ’ (U+2019 RIGHT SINGLE QUOTATION MARK), or to pacify the web server itself (which requires percent encoding).
* Update Morocco rule change URLPaul Eggert2023-03-151-2/+2
| | | | * africa: Update URL in comment (thanks to Milamber).
* This year Morocco springs forward April 23, not April 30Paul Eggert2023-03-142-18/+29
| | | | | | | * NEWS: Mention this. * africa (Morocco): In 2023 Morocco's spring-forward transition after Ramadan will occur April 23, not April 30. (Thanks to Milamber.) Adjust predictions for future years accordingly.
* Better URL for Egypt change next monthPaul Eggert2023-03-131-1/+2
| | | | | * africa (Egypt): Use a better URL in the comments. (Thanks to Amir Adib.)
* Check overlong abbreviations more consistentlyPaul Eggert2023-03-133-31/+33
| | | | | | | | | * Makefile, NEWS: Mention this. * localtime.c (TZNAME_MAXIMUM): New macro, replacing MY_TZNAME_MAX which was a bit too informal to document. All uses changed. (scrub_abbrs): Return an errno value. All callers changed. Reject instead of silently truncating overlong abbreviations. (tzparse): Check for overlong abbreviations a bit sooner.
* One limit, not two, on tz abbr in localtime.cPaul Eggert2023-03-121-7/+5
| | | | | | | | | | * localtime.c (TZ_ABBR_MAX_LEN): Remove. All uses replaced by MY_TZNAME_MAX, so that there’s just one limit. (scrub_abbrs): Compare to GRANDPARENTED only if the length is plausible. In the usual case where MY_TZNAME_MAX is 255 and GRANDPARENTED's length is less, the compiler can optimize away the memcmp entirely.
* * tzfile.h: Add/update implementation limit commentary.Paul Eggert2023-03-121-1/+5
|
* * tz-link.html: Fix HTML typo.Paul Eggert2023-03-111-1/+1
|
* Append tzdb arg 4 to .TH linesPaul Eggert2023-03-089-9/+9
| | | | | Suggested by Alejandro Colomar in: https://lore.kernel.org/linux-man/08a72d2c-e7cb-4390-2cb1-7601b344ce9e@gmail.com/T/#t
* Use lowercase .TH titlesPaul Eggert2023-03-085-5/+5
|
* New tz-link section on coordinationPaul Eggert2023-03-072-17/+47
| | | | | | * tz-link.html: New section "Coordinating with governments and distributors". (Thanks to Neil Fuller for some of the text.) * NEWS: Mention this.
* * theory.html: fix TOC to match heads.Paul Eggert2023-03-071-1/+1
|
* Omit unnecessary hyphensPaul Eggert2023-03-0716-42/+42
| | | | | This was motivated by a desire to sync better with the Linux man pages, which omitted an unnecessary hyphen in tzfile.5.
* Improve tzselect explanationPaul Eggert2023-03-051-5/+7
| | | | | * tzselect.ksh: Improve quality of "Based on the following information:" note when the user selected a time first.
* Bring doc up-to-date with draft POSIXPaul Eggert2023-03-036-26/+30
| | | | | | | | | | | * Makefile, date.1, newctime.3, newtzset.3, theory.html: Don’t say settings like TZ='EST5EDT' are “nonstandard and obsolete”, as draft POSIX says they use implementation-defined DST rules. Clarify and strengthen the wording of the description of the now-obsolete POSIXRULES macro and posixrules file, the latter of which is still commonly installed even though it does not work. Improve doc for TZDEFRULESTRING. Give Morocco instead of Iran as an example of unusual DST, as Iran no longer observes DST.
* Be more realistic in tzfile examplePaul Eggert2023-03-031-1/+1
| | | | | * tzfile.5 (TZ): Give a real-world TZ example instead of an imaginary one.
* Max → maxPaul Eggert2023-03-021-1/+1
| | | | | * africa (Egypt): Use lower-case ‘max’ for consistency. (Thanks to Peter Krefting.)
* Egypt now uses DST againPaul Eggert2023-03-012-0/+14
| | | | | | | | From 2023 Egypt plans to observe DST from April's last Friday through October's last Thursday (Thanks to Ahmad ElDardiry.) Assume 00:00 and 24:00 transitions. * NEWS: Mention this. * africa (Egypt): Implement this.
* Mention lunar timescale effortPaul Eggert2023-03-011-1/+9
| | | | | * theory.html: Mention the ESA’s effort on lunar timescales. (Thanks to Tim McBrayer.)
* Port UINTMAX_MAX to pre-C99 compilersPaul Eggert2023-02-212-0/+5
| | | | | Problem reported by Steven Shuriff * private.h (UINTMAX_MAX): Define if not already defined.
* Add Palestine entry to National HistoriesPaul Eggert2023-02-011-0/+4
| | | | | * tz-link.html (National histories of legal time). Add Palestine entry (thanks to Heba Hamad).
* Update dead PTB linkBenjamin Drung2023-01-261-3/+3
| | | | | | | | | http://www.ptb.de/de/org/4/44/441/salt.htm is dead now. Update the link with the current link and use the English version instead the German one. For the record, the German one is: https://www.ptb.de/cms/ptb/fachabteilungen/abt4/fb-44/ag-441/darstellung-der-gesetzlichen-zeit/sommerzeiten-und-hochsommerzeiten-in-deutschland-bis-1979.html
* Remove UNUSUAL_OK_IPAPaul Eggert2023-01-241-5/+1
| | | | | * Makefile (UNUSUAL_OK_IPA): Remove; no longer needed now that the commentary no longer uses that IPA character. Use removed.
* Prefer “°” to “degrees” when quoting source saying formerPaul Eggert2023-01-232-2/+2
|
* Update IDL commentaryPaul Eggert2023-01-231-21/+15
|
* ‘ª’, ‘µ’, and ‘º’ are alphabeticPaul Eggert2023-01-231-2/+2
| | | | | | | | * Makefile (UNUSUAL_OK_LATIN_1): Make contents match comments by omitting the alphabetic characters ‘ª’, ‘µ’, and ‘º’, which are redundant here because of OK_CHAR’s [:alpha:]. Problem reported by Brian Inglis in: https://mm.icann.org/pipermail/tz/2023-January/032552.html
* Be more specific about AleutiansPaul Eggert2023-01-233-2/+6
| | | | | | * zone.tab, zone1970.tab (America/Adak): Label it “Alaska - western Aleutians”, not “Aleutian Islands”, as it excludes the Aleutians that are east of 169° 30′ W. or are not part of Alaska.
* Don’t disparage “HST” in commentaryPaul Eggert2023-01-231-2/+2
| | | | | * tz-how-to.html: Don’t imply that “HST” is incorrect, as it’s used in US regulations.
* Use US legal capitalization for ChamorroPaul Eggert2023-01-232-4/+5
| | | | | | | | * australasia, northamerica: Fix capitalization in commentary about US law, as the law says “Chamorro standard time” not the popular “Chamorro Standard Time”. primarily for “§” and we might as well support them all.
* Allow “§” etc. in commentaryPaul Eggert2023-01-231-3/+4
| | | | | | | * Makefile (UNUSUAL_OK_LATIN_1): Allow all non-alphabetic, non-ASCII printable characters that are Latin-1. This is primarily for “§” and we might as well allow them all since even XEmacs 21 supports them all.
* No leap second on 2023-06-30Tim Parenti2023-01-201-4/+4
| | | | | | | | Per IERS Bulletin C 65 (2023-01-09). https://hpiers.obspm.fr/iers/bul/bulc/bulletinc.65 * leap-seconds.list: Update file from NIST, retrieved from ftp://ftp.boulder.nist.gov/pub/time/leap-seconds.list
* tzselect better signals wrong UTC clocksPaul Eggert2023-01-171-3/+5
| | | | | | | | | | Problem reported by Robert Elz in: https://mm.icann.org/pipermail/tz/2023-January/032533.html * tzselect.ksh: Tell user the system’s UTC timestamp and ask them to assume that it’s correct when selecting the local time. This should warn users better if the UTC clock is wrong. Also, use ‘TZ=UTC0 date’ rather than ‘date -u’ for consistency with how ‘date’ is used elsewhere in this script.