Skip to content

Commit

Permalink
Internal #4119: 2025a TimeZone Data (#16018)
Browse files Browse the repository at this point in the history
Build and test the 2025a time zone data

fixes: duckdblabs/duckdb-internal#4119
  • Loading branch information
Mytherin authored Feb 1, 2025
2 parents a93569e + c537703 commit b439aa8
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extension/icu/scripts/makedata.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ find ${data_path/version/$data_version} -type f ! -iname "*.txt" -delete
cp -r ${data_path/version/$data_version} ${source_path/version/$code_version}

# download IANA and copy the latest Time Zone Data
tz_version=2024b
tz_version=2025a
rm -rf icu-data
git clone git@github.com:unicode-org/icu-data.git
cp icu-data/tzdata/icunew/${tz_version}/44/*.txt ${data_path/version/$code_version}/misc
Expand Down
2 changes: 1 addition & 1 deletion extension/icu/third_party/icu/stubdata/stubdata.cpp

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions test/sql/timezone/test_icu_timezone.test
Original file line number Diff line number Diff line change
Expand Up @@ -923,3 +923,21 @@ query I
select '1981-09-27 01:00:00+00'::TIMESTAMPTZ;
----
1981-09-27 00:00:00-01

# 2025a
# Paraguay will stop changing its clocks after the spring-forward
# transition on 2024-10-06, so it is now permanently at -03.
statement ok
set timezone='America/Asuncion';

query I
select '2025-03-23'::timestamptz;
----
2025-03-23 00:00:00-03

query II
select utc_offset, is_dst
from pg_timezone_names()
where name = 'America/Asuncion'
----
-03:00:00 false

0 comments on commit b439aa8

Please sign in to comment.