summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Allow skipping of startup resource checksStuart Bishop2020-06-011-0/+7
| | | | | | | | | | | | | | | | | | | | If the PYTZ_SKIPEXISTSCHECK environment variable is set, pytz will not confirm the existance of the expected timezone database files at import time. This improves startup time, but will cause crashes when the timezone list baked into the pytz release does not match the timezone database in use. Patch from Timothy Paine
* | Update travis configStuart Bishop2020-04-281-1/+1
| |
* | Fix reST lintrelease_2020.1Stuart Bishop2020-04-281-1/+1
| |
* | Test against Python 3.8 and Python 3.9Stuart Bishop2020-04-281-3/+10
| |
* | Bump version numbers to 2020.1/2020aStuart Bishop2020-04-282-4/+4
| |
* | Base class for all errorsStuart Bishop2020-04-282-2/+14
| | | | | | | | Closes #43
* | Add flake8 settingsStuart Bishop2020-04-281-0/+3
| |
* | IANA 2020aStuart Bishop2020-04-2823-257/+672
|\ \ | |/
| * Squashed 'tz/' changes from 765984a93..13af01673Stuart Bishop2020-04-2823-257/+672
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7aec41a1d Release 2020a d5f78a432 Clarify zdump -c c1755bba4 Deprecate tzsetwall 7eab71e7a * tz-link.html: Update URLs. 2455b0ac4 Define “UT” in man pages a8bf332a1 * backzone: Commentary from Phake Nick. 73e69e765 Shanghai observed DST in 1919 f9aacafa4 Morocco springs forward on 05-31, not 05-24. e960c41b5 Mention ziguard.awk in some tzdata comments. 6c9502af4 Israel decided not to change DST rules after all b7adcf175 Israel starts 2020 DST on 05-01, not 03-27 f5ca09068 Fix incorrect zdump warning for "AES)T5" c7cc14a84 Update URL for "Date & Time Formats on the Web" 33fd3277e Improve comments for Ukraine regions e6c1f0e7d Yukon advances to year-round -07 from 2020-03-08. 9a4b3dce5 * tz-art.html (Comics): Add xkcd 2266 (thanks to Guy Harris). 10f89078f Add comment about western Ontario zone extents a4db43137 Cite Frumer on pre-1873 Japan timekeeping 512fce07f Reorder Japan comments fb434180b Add support for Expires lines to zic b4cc8501c Simplify leapadd fd277c5ca Fix leap second bug after last explicit transition 04742d2e4 Fix leapseconds.awk portability bug b4b88c3b8 * leap-seconds.list: Omit stray space (fix from upstream). 2ae2ca6ca Improve comments for Quebec and Yukon. f6a9b02d6 No leap second on 2020-06-30 63fdca732 Remove "Xianggang" from asia comment fc4a4b005 * europe: Accent “Reykjavík”. 2c12bae19 * tz-art.html: Add "Does Anybody Really Know What Time It Is?" abb3d642e Support -DUSG_COMPAT=2 on FreeBSD 1a27ec76b Allow definition of vars the system lacks 6063ea746 * theory.html: Fix HAVE_TZNAME typo. 80acc494c * NEWS: Fix release typo in Nuuk change. cc6365997 * theory.html: Give Asia/Calcutta as an example. d7715ab77 Rename America/Godthab to America/Nuuk 06b51ae81 * tz-link.html (Costs and benefits of DST): New section. cad14a255 * northamerica: Update Garland URL. e733957e6 Commentary update for Palestine 035492ecf Rename asctime symbols if required in private.h 152bc8f7d Fix 1989 oversight in building libtz.a git-subtree-dir: tz git-subtree-split: 13af01673d5a82cf0eca7c8dcbe62685fa331440
* | Fix remaining references to README.txtStuart Bishop2020-01-134-7/+7
| |
* | Update README.mdStub2020-01-131-2/+5
| |
* | Use .rst extension for reStructuredTextStub2020-01-133-18/+19
|\ \
| * | typojnozsc2020-01-101-1/+3
| | |
| * | highlight codesjnozsc2020-01-101-13/+12
| | |
| * | use .rst extension namejnozsc2020-01-102-0/+0
|/ /
* | Tidelift linksStuart Bishop2019-11-042-1/+16
| |
* | Add links for security reportsStuart Bishop2019-11-043-3/+16
| |
* | Update LICENSE.txtStuart Bishop2019-10-252-1/+20
| |
* | Create FUNDING.ymlStub2019-10-251-0/+1
| |
* | Make FixedOffset part of public APIJan Pipek2019-10-161-1/+1
| |
* | Bump version numbers to 2019.3/2019crelease_2019.3Stuart Bishop2019-10-072-4/+4
| |
* | IANA 2019cStuart Bishop2019-10-0212-187/+648
|\ \ | |/
| * Squashed 'tz/' changes from 23a01523a..c5b665d49Stuart Bishop2019-10-0212-187/+648
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 765984a93 Release 2019c 11b57d88e Mention RFC 8633 on leap smearing cd9909a74 * NEWS: Fix typo. d9adbd9d9 * leapseconds.awk: Fix Y285,428,681 thinko in comment. b18cb8789 Fix off-by-1 typo in previous change 2882d39f9 Don’t trust leap-seconds.list comments 90f9e605f Two typo fixes to commentary. 3323cc580 * southamerica: Modernize Magallanes comments. a6f925562 Fix typos in recent ‘europe’ changes 5c5121596 Cite OMA in French as well as Dutch 165c31d6d * europe: Add comment re late-1914 Belgium. 987117d63 Brussels 1892-05-01 transition was at 00:17:30 f2095980c Norfolk 1975-03-02 transition 02:00s not 02:00 5d23eeb54 * europe: Improve PDF URLs with page numbers (thanks to Brian Inglis). 85792e12a * NEWS, europe: Add citations from Kıvanç Yazan. 5aa2e8f93 Many corrections to time in Turkey 1940/1985 2b366d711 Omit Cambodia’s 1947 and 1953 transitions e97af7392 South Korea observed DST 1948/51 d811c643e Louisville’s 1946-04-28 transition was at 00:01 66229ebf5 * australasia: Add URL for Fiji DST (thanks to Michael Deckers). a0f09ddd9 Minor tweaks for new leap second section 624b3415e Revamp leap seconds section 526598f4e * theory.html: Add a section on leap seconds. d2c6b6136 Fix Louisville spring-forward in 1946 and 1950 1050999f9 Norfolk Island starts observing Australian-style DST 03bf34820 Fiji observes DST from 2019-11-10 to 2020-01-12 a57f74b4a Defend against CRLF in leap-seconds.list a743ee6e1 Defend against trailing CR in leapseconds.list f90b1fced No leap second on 2019-12-31. 834bbbfb9 Mention IANA Updater, tzdbgen, ZIUpdater f1d4fd78c Fixes for Kalingrad in 1945/6 d9d89a86f 1946 Vienna ended DST on 10-07, not 10-06 1ea14abad Alberta did not observe DST in 1967 or 1969 7cdb59b81 Fix Vancouver’s 1946 DST end date e5e04c962 Clarify bool calculation d8c6bf254 HKWT observed in late 1941 in Hong Kong b75a7fa2a Remove useless Perry rule 148bde2f5 Fix several pre-1970 transitions in Perry Co, IN 5bcfa5764 Detroit observed DST in 1967/8 c92e227bc Mention Nashville’s time-of-day duel in the 1950s 86c090a08 More improvement of UT1 description fc4ef466a Liechtenstein observed Swiss DST in 1941/2 85e993423 Characterize UT1 more accurately 95ddb248a Cite Rec. ITU-R TF.460-6 for leap seconds 3ea88ba2d * europe: Fix two misspellings. 2b1cc4073 * europe: Add note about Rome’s spring 1944 change (thanks to Alois Treindl). git-subtree-dir: tz git-subtree-split: c5b665d4975312129304391ac416fdb99ef07988
* | Bump version numbers to 2019.2/2019brelease_2019.2Stuart Bishop2019-07-312-4/+4
| |
* | Adjust doctests to work with Python 3.8Stuart Bishop2019-07-311-16/+16
| | | | | | | | Further addresses lp:1819751 with fix from Victor Stinner
* | Use explicit pickle protocol versions in testsStuart Bishop2019-07-311-2/+8
| | | | | | | | Addresses lp:1819751 using fix by Victor Stinner
* | Defer generating case-insensitive lookupsStuart Bishop2019-07-312-1/+8
| | | | | | | | Addresses lp:1835784 performance issue
* | IANA 2019bStuart Bishop2019-07-3129-784/+1361
|\ \ | |/
| * Squashed 'tz/' changes from 14c73382c..09488fe23Stuart Bishop2019-07-3129-784/+1361
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 23a01523a Release 2019b 382340401 Let the builder specify gpg’s name 743385b60 Ooops, the 1952 bug was not in 2019a. 800d05d4a * NEWS: Improve thanks punctuation. 38c2ee9ac Correct Hong Kong 1952 fallback transition 342b83a8d Avoid spaces and punctuation near or inside links. 9717a2c2e * asia: Fix grammar for "special-cases". 6aa54b189 * theory.html: Consistently use "guidelines" for the whole set. 1bb4263bb Fix ‘make check’ problems caused by recent changes 8055567fa Describe Crimea situation more accurately 601cf5e9b Let builder specify default for zic -b c4a8b9047 'zic -b slim' now omits isstd, isut 3371d5fe1 Deprecate ‘zic -p POSIXRULES’ ff51dc1c9 Fix minor zic(8) formatting glitches 68a144fc0 * tzfile.5: Typeset ‘-’ more carefully. f9bd52701 More clarification/explanation from RFC 8536 92c49ba8e Use STDOFF, not UTOFF, for standard time c37dd0d46 Rename internal identifiers to match RFC 8536 9f0b10abd Fix 'zic -b slim' bug with TZ='CET' 8005c6fe3 * NEWS: Mention -b slim briefly. 7879a3fba New zic -b option to shrink data and test y2038 b8b89414c Omit a few artifacts from zic output a6932b8fb Tune and simplify addtype 3b37a4809 Improve US public law citations 60743bf81 Fix US public law cites 34efc4508 Cite US DST legislation e62b229ea Add an outline to tz-link.html 5379fe9e9 Fix Hong Kong 1947-1952 DST errors 823177c56 Improve Eucla commentary b4ce3f796 Update URLs 66db41b05 * australasia: Fix comment typo (thanks to Paul Goyette). 4609f3bbb Add comments on Bonin Is and Marcus I 23c040804 zic: remove horrid special case for 2037 b83ad71c9 Add 50 years of predictions for Morocco 1b4474ca9 * asia: Fix "the the" typo (thanks to Alan Coopersmith). 6676aa549 * asia: Fix recently-introduced typo (thanks to Paul Goyette). c86b7fb7b Assume zic 2004 or later in "Apr Sun>=25" etc. f8de7b083 Fix several Hong Kong transitions in 1941/6 c44be6fa3 * southamerica: Add official URL for Chile change (thanks to Juan Correa). 9f77db7ac Add commentary for time in Cocklebiddy 0b0735c8d Ignore more non-source files 3ff2958b7 Bring zic man page up to date fcba22a8d Assume zic 2017c or later when shrinking 7f229382e zic: omit pre-2017c chatter unless -v 9e498e208 * NEWS: Clarify confusing item. fa1591214 Italy’s 1866 transition was 12-12, not 09-22 cf67c5123 Remove Kiev pronunciation commentary e7db2954b Revert previous change; I was right after all. 4805007ee * NEWS, southamerica: Correct credit (thanks to Brian Inglis). 62b6deab2 * northamerica: Comment re Regina 1914-1917. 02dce236c * NEWS, southamerica: Add Brazil decree number. 8d1bcf942 Brazil has canceled DST a47d067e9 * africa: Fix typo (thanks to Paul Gilmartin). 85533db5f Update commentary on Morocco DST 7dc0677c7 Fix Palestine spring-transition time b90b98039 Palestine’s transition is on 2019-03-29 at 01:00 9986591d2 Palestine’s 2019-03-30 transition is at 00:00 15f871619 * NEWS: Fix typo (thanks to Michael Deckers). git-subtree-dir: tz git-subtree-split: 09488fe232b7592f6984cb7c006eb97596c206c2
* | Update dev READMEStuart Bishop2019-07-311-2/+2
| |
* | Decouple dist building from signingrelease_2019.1Stuart Bishop2019-04-101-1/+1
| |
* | Bump versions to 2019.1/2019a & lint fixesStuart Bishop2019-04-102-14/+24
| |
* | IANA 2019aStuart Bishop2019-04-1019-156/+463
|\ \ | |/
| * Squashed 'tz/' changes from 388b0a551..1e0637309Stuart Bishop2019-04-1019-156/+463
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 14c73382c Release 2019a 05d5302e8 * asia: Abbreviate URL. c3a117704 Tweak commentary on recent changes 7a133ff92 Palestine doesn't start DST until 2019-03-30. 2e5677e1d * zic.c: Fix spelling typo (thanks to Antonio Diaz Diaz). 8744ddc14 zic -r/@T is now exclusive, not inclusive 70c6bd184 zic: fix bug when -r removes all transitions ea042515f zic: fix transitions created with -r ea17649a8 Fix 'make clean' problem with clean_*.dir 4a6a2d26b zic: new -r option ce0baf7a4 Etc/UCT is now an alias for Etc/UTC 622d4af59 Israel observed DST in 1980 and 1984 5f48dee82 * theory.html: Decouple timezones from countries earlier. 717c897dc * africa: Realphabetize. bc2756dc5 Finish renaming theory.html section 247d4925a Swaziland changed its name to Eswatini 503608b6a Check theory.html too 6176aefe7 Deprecate the ISO 3166-1 guideline 9e0801352 * asia: Spelling fix. b228f9861 Mention timezone splits and identifiers 9a608596c Add Vietnam commentary and fluidity guideline c11f5ce41 Internet RFC 8536 has been published c5612ec0e Remove "About Time" URL 224ba6281 * tz-art.html: Add "About Time" URL. 3bb6716a8 * README: Fix "About Time" quotes (thanks to Arthur David Olson). b0c64d6e7 No leap second on 2019-06-30. 934f12607 Put “North” before “Macedonia” 8e3a0f813 Improve doc for rule interpretation a39622d5b * NEWS, tz-link.html: Cite Tim Parenti’s tzdata-meta. f18c24d66 Metlakatla "falls back" to rejoin Alaska Time on 2019-01-20 at 02:00. 9625c4819 Improve description of vanguard/main/rearguard git-subtree-dir: tz git-subtree-split: 1e06373090fda6ae1883a9e9c765337f3a9d39e0
* | Make timezone lookup case insensitivestub422019-01-213-1/+17
|\ \
| * | Use early python2 compatible str formatting[ Kyle ] [ Hausmann ]2019-01-071-1/+1
| | | | | | | | | | | | Signed-off-by: [ Kyle ] [ Hausmann ] <khausmann@squarespace.com>
| * | timezone constructor arg is case-insensitive[ Kyle ] [ Hausmann ]2019-01-072-1/+16
| | | | | | | | | | | | | | | | | | | | | Use the case-insensitive match, by using the _all_timezones_lower_to_standard map, if possible. Signed-off-by: [ Kyle ] [ Hausmann ] <khausmann@squarespace.com>
| * | Add _all_timezones_lower_to_standard to gen_tzinfo[ Kyle ] [ Hausmann ]2019-01-071-0/+1
| | | | | | | | | | | | | | | | | | | | | Adds a map from lower-cased timezone name to the standard-formatted timezone name. Signed-off-by: [ Kyle ] [ Hausmann ] <khausmann@squarespace.com>
* | | Raise UnknownTimeZoneError if provided timezone name is NoneStuart Bishop2019-01-101-0/+3
|/ /
* | Bump version numbers to 2018.9/2018irelease_2018.9Stuart Bishop2019-01-072-4/+4
| |
* | IANA 2018iStuart Bishop2019-01-0716-248/+918
|\ \ | |/
| * Squashed 'tz/' changes from 19e2701f4..6bebef3d6Stuart Bishop2019-01-0716-248/+918
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 388b0a551 Release 2018i 1e3dc59ac Cite Shanks & Pottenger better 379f7ba9b São Tomé and Príncipe switch is at 02:00 a2ddd4a07 São Tomé and Príncipe moves back to UTC next month 7db91b70a Release 2018h da0de21ea Validate HTML5 pages, too e106585c4 * tz-art.html: Add a few IMDb URLs and standardize format. 6fb0daf8a Qyzylorda switched time zones 14ee38992 Update links to other websites 18755931c Metlakatla goes back to Alaska time next year 85ba8e31f Fix va_end typo in pre-C99 compatibility code d053d36c4 * NEWS, asia: Improve Iranian DST comments. 1c35d6d1d * northamerica: Herbert Copeland stops time. 87a3c2f0a * theory.html: Mention GDT. (Thanks to Michael Deckers.) 4fc79eab8 Fix Kwajalein comment 81d167e88 Extend Iranian exact dates to 2090 ebb968d07 Adjust Nauru transition dates in 1942, 1945, 1979 e972ffad0 Updates for Guam DST, Japanese in Pacific 892be6ecb * asia: Fix transcription typo. dfb5b6793 Reinstall the 1904-10-30 Hong Kong change c6b83759b Revert recent change to 1904 HK transition 7059b370a South Korea 1950s fallback at 24:00 previous day c1e37a899 * asia: Fix typo. (Thanks to Phake Nick.) eea490a7f Hong Kong fixes for 1904 through 1952 c462ef269 * tz-link.html: Mention Time4A. 9a58ef8d7 * leapseconds.awk: Clarify the 1 Jan 1972 line. a665f1572 Metlakatla switched to PST last weekend f0d275962 * asia: Improve citation to Antar 1965. 45560fa65 Bring back attribute_pure for getzname dffb83c98 * NEWS: Fix credit typo. 93cdbb6ce zic: pacify gcc 8.2.1 6c9af485e Avoid unnecessary calls to ‘access’ 8539a448e Bring back 2019-2037 Morocco Ramadan predictions 1e01ec066 Fix appended dummy transition in non-POSIX zones e84198fa7 Fix Volgograd label in zone1970.tab ddc67c5c9 Correct tm_dst during Morocco transition git-subtree-dir: tz git-subtree-split: 6bebef3d60ef23e300a792d08c58791bf0430e4b
* | Merge pull request #19 from jdufresne/easystub422018-11-021-12/+7
|\ \ | | | | | | Replace all references to deprecated easy_install with pip
| * | Replace all references to deprecated easy_install with pipJon Dufresne2018-11-011-12/+7
|/ / | | | | | | | | | | | | | | | | | | easy_install is deprecated and its use is discouraged by PyPA: https://setuptools.readthedocs.io/en/latest/easy_install.html > Warning: Easy Install is deprecated. Do not use it. Instead use pip. Follow upstream advice and only recommended supported tools.
* | Bump version numbers to 2018.7./2018grelease_2018.7Stuart Bishop2018-10-292-4/+4
| |
* | IANA 2018gStuart Bishop2018-10-2913-128/+368
|\ \ | |/
| * Squashed 'tz/' changes from 7c97eb855..65736cdacStuart Bishop2018-10-2913-128/+368
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 19e2701f4 Release 2018g 068610d3d * tz-link.html: Link to Hong Kong Observatory. 80de44ca0 Morocco switches to permanent +01 tomorrow 72b8edec2 Fix zic use of uninitialized storage 76d435a0d * northamerica: El Paso time zone rebellion. 1fc2ef332 Fix zic to work with 2015f and earlier clients 35920cfc5 Add interoperability sections to tzfile.5 cda39aa69 * NEWS: Improve recent entries. 1c73b87b3 * tz-link.html: Update Windows details and links. 0c88bac1b * tz-link.html: Mention TimeZoneConverter and ICU for tz<->windows mappings 6f4394ae3 Adjust Hawaii doc to match current data b97fd8d0b * NEWS, theory.html: Mention HWT/HPT. 7518fbf34 Be consistent about WWII abbreviations in Hawaii dcbd840d4 * zic.8: Clarify role of leap seconds in HH:MM:SS timestamps. 401c42d99 Avoid 25:00 in rearguard format git-subtree-dir: tz git-subtree-split: 65736cdac192fbe04388b7c3696884887ba3cdea
* | Add warnings to examples showing what not to dorelease_2018.6Stuart Bishop2018-10-241-2/+2
| |
* | Bump version numbers to 2018.6/2018fStuart Bishop2018-10-242-4/+4
| |
* | Update dev notes for Ubuntu 18.04 containersStuart Bishop2018-10-241-2/+3
| |