Skip to content

Commit

Permalink
Update tzdata to 2023a
Browse files Browse the repository at this point in the history
  • Loading branch information
pganssle committed Mar 24, 2023
1 parent 1c9a0ae commit d6e72f0
Show file tree
Hide file tree
Showing 21 changed files with 267 additions and 79 deletions.
56 changes: 56 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,59 @@
# Version 2023.1
Upstream version 2023a released 2023-03-22T19:39:33+00:00

## Briefly:

Egypt now uses DST again, from April through October. This year Morocco springs
forward April 23, not April 30. Palestine delays the start of DST this year.
Much of Greenland still uses DST from 2024 on. America/Yellowknife now links to
America/Edmonton. tzselect can now use current time to help infer timezone. The
code now defaults to C99 or later. Fix use of C23 attributes.

## Changes to future timestamps

Starting in 2023, Egypt will observe DST from April's last Friday through
October's last Thursday. (Thanks to Ahmad ElDardiry.) Assume the transition
times are 00:00 and 24:00, respectively.

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. This affects predictions for 2023, 2031, 2038, and later years.

This year Palestine will delay its spring forward from March 25 to April 29 due
to Ramadan. (Thanks to Heba Hamad.) Make guesses for future Ramadans too.

Much of Greenland, represented by America/Nuuk, will continue to observe DST
using European Union rules. When combined with Greenland's decision not to
change the clocks in fall 2023, America/Nuuk therefore changes from -03/-02 to
-02/-01 effective 2023-10-29 at 01:00 UTC. (Thanks to Thomas M. Steenholdt.)
This change from 2022g doesn't affect timestamps until 2024-03-30, and doesn't
affect tm_isdst until 2023-03-25.

## Changes to past timestamps

America/Yellowknife has changed from a Zone to a backward compatibility Link, as
it no longer differs from America/Edmonton since 1970. (Thanks to Almaz
Mingaleev.) This affects some pre-1948 timestamps. The old data are now in
'backzone'.

## Changes to past time zone abbreviations

When observing Moscow time, Europe/Kirov and Europe/Volgograd now use the
abbreviations MSK/MSD instead of numeric abbreviations, for consistency with
other timezones observing Moscow time.

## Changes to commentary

tz-link.html has a new section "Coordinating with governments and distributors".
(Thanks to Neil Fuller for some of the text.)

To improve tzselect diagnostics, zone1970.tab's comments column is now limited
to countries that have multiple timezones.

Note that leap seconds are planned to be discontinued by 2035.

---

# Version 2022.7
Upstream version 2022g released 2022-11-29T16:58:31+00:00

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2022.7
2023.1
53 changes: 53 additions & 0 deletions news.d/2023a.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Version 2023.1
Upstream version 2023a released 2023-03-22T19:39:33+00:00

## Briefly:

Egypt now uses DST again, from April through October. This year Morocco springs
forward April 23, not April 30. Palestine delays the start of DST this year.
Much of Greenland still uses DST from 2024 on. America/Yellowknife now links to
America/Edmonton. tzselect can now use current time to help infer timezone. The
code now defaults to C99 or later. Fix use of C23 attributes.

## Changes to future timestamps

Starting in 2023, Egypt will observe DST from April's last Friday through
October's last Thursday. (Thanks to Ahmad ElDardiry.) Assume the transition
times are 00:00 and 24:00, respectively.

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. This affects predictions for 2023, 2031, 2038, and later years.

This year Palestine will delay its spring forward from March 25 to April 29 due
to Ramadan. (Thanks to Heba Hamad.) Make guesses for future Ramadans too.

Much of Greenland, represented by America/Nuuk, will continue to observe DST
using European Union rules. When combined with Greenland's decision not to
change the clocks in fall 2023, America/Nuuk therefore changes from -03/-02 to
-02/-01 effective 2023-10-29 at 01:00 UTC. (Thanks to Thomas M. Steenholdt.)
This change from 2022g doesn't affect timestamps until 2024-03-30, and doesn't
affect tm_isdst until 2023-03-25.

## Changes to past timestamps

America/Yellowknife has changed from a Zone to a backward compatibility Link, as
it no longer differs from America/Edmonton since 1970. (Thanks to Almaz
Mingaleev.) This affects some pre-1948 timestamps. The old data are now in
'backzone'.

## Changes to past time zone abbreviations

When observing Moscow time, Europe/Kirov and Europe/Volgograd now use the
abbreviations MSK/MSD instead of numeric abbreviations, for consistency with
other timezones observing Moscow time.

## Changes to commentary

tz-link.html has a new section "Coordinating with governments and distributors".
(Thanks to Neil Fuller for some of the text.)

To improve tzselect diagnostics, zone1970.tab's comments column is now limited
to countries that have multiple timezones.

Note that leap seconds are planned to be discontinued by 2035.
4 changes: 2 additions & 2 deletions src/tzdata/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# IANA versions like 2020a are not valid PEP 440 identifiers; the recommended
# way to translate the version is to use YYYY.n where `n` is a 0-based index.
__version__ = "2022.7"
__version__ = "2023.1"

# This exposes the original IANA version number.
IANA_VERSION = "2022g"
IANA_VERSION = "2023a"
Binary file modified src/tzdata/zoneinfo/Africa/Cairo
Binary file not shown.
Binary file modified src/tzdata/zoneinfo/Africa/Casablanca
Binary file not shown.
Binary file modified src/tzdata/zoneinfo/Africa/El_Aaiun
Binary file not shown.
Binary file modified src/tzdata/zoneinfo/America/Godthab
Binary file not shown.
Binary file modified src/tzdata/zoneinfo/America/Nuuk
Binary file not shown.
Binary file modified src/tzdata/zoneinfo/America/Yellowknife
Binary file not shown.
Binary file modified src/tzdata/zoneinfo/Asia/Gaza
Binary file not shown.
Binary file modified src/tzdata/zoneinfo/Asia/Hebron
Binary file not shown.
Binary file modified src/tzdata/zoneinfo/Egypt
Binary file not shown.
Binary file modified src/tzdata/zoneinfo/Europe/Kirov
Binary file not shown.
Binary file modified src/tzdata/zoneinfo/Europe/Volgograd
Binary file not shown.
2 changes: 1 addition & 1 deletion src/tzdata/zoneinfo/iso3166.tab
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ SY Syria
SZ Eswatini (Swaziland)
TC Turks & Caicos Is
TD Chad
TF French Southern Territories
TF French S. Terr.
TG Togo
TH Thailand
TJ Tajikistan
Expand Down
8 changes: 4 additions & 4 deletions src/tzdata/zoneinfo/leapseconds
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ Leap 2016 Dec 31 23:59:60 + S
# Any additional leap seconds will come after this.
# This Expires line is commented out for now,
# so that pre-2020a zic implementations do not reject this file.
#Expires 2023 Jun 28 00:00:00
#Expires 2023 Dec 28 00:00:00

# POSIX timestamps for the data in this file:
#updated 1467936000 (2016-07-08 00:00:00 UTC)
#expires 1687910400 (2023-06-28 00:00:00 UTC)
#expires 1703721600 (2023-12-28 00:00:00 UTC)

# Updated through IERS Bulletin C64
# File expires on: 28 June 2023
# Updated through IERS Bulletin C65
# File expires on: 28 December 2023

0 comments on commit d6e72f0

Please sign in to comment.