Upgrade Postgres to fix local time for Vancouver, Edmonton, and Casablanca #52576
Replies: 1 comment
|
How are you |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Older Supabase Postgres versions return wrong local times for America/Vancouver, America/Edmonton, and Africa/Casablanca. Upgrade to 15.19.0.003 or 17.11.0.003 or later to fix it.
Some older Supabase Postgres versions ship an outdated
tzdatapackage. As a result, local-time conversions such asAT TIME ZONE 'America/Vancouver'return incorrect results for three zones that changed their rules in 2026:America/Vancouver): changed on March 8, 2026.Africa/Casablanca): changed on September 20, 2026.America/Edmonton): changes on November 1, 2026.This issue affects projects that use one of these zones and run a version earlier than 15.19.0.003 (Postgres 15) or 17.11.0.003 (Postgres 17). Versions 15.19.0.003 and 17.11.0.003 include the updated
tzdatapackage.Your stored data and timestamps are not affected. Only the conversion to local time for these zones is wrong.
How to check and fix your projects
You can find your version under Service Version in Project Settings > General and upgrade from there to get the fix. The upgrade causes downtime, so plan it for a low-traffic window. Some indexes might need a rebuild after the upgrade.
For full instructions, refer to Wrong local time for Vancouver, Edmonton, and Casablanca time zones.
Affected products: Database
Authored by @nrichers
All reactions