Files
twenty/packages
Weiko f19e608a20 Fix deprecated IANA timezone names causing PostgreSQL errors on Debian Trixie
Debian Trixie moved deprecated IANA timezone aliases (e.g. Asia/Calcutta,
US/Eastern, Europe/Kiev) from the base tzdata package to tzdata-legacy.
Self-hosted PostgreSQL instances on Trixie reject these names in
AT TIME ZONE clauses.

JavaScript engines (Node.js, browsers) use CLDR/ICU data which still
considers deprecated names canonical (e.g. Intl returns Asia/Calcutta
instead of Asia/Kolkata), so the frontend sends deprecated names to
the backend.

Add a normalizeTimezone utility with a static map from the IANA backward
file to convert deprecated names to their canonical equivalents, and
apply it in useUserTimezone to normalize all timezone values before they
reach the backend.

Made-with: Cursor
2026-03-31 11:08:22 +02:00
..
2026-03-31 09:50:28 +02:00
2026-03-30 15:03:23 +00:00