-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interval math across dst works differently from PostgreSQL (and other databases) #54
Comments
@otan, this still affects the latest CockroachDB build and might be in your area of expertise. |
I think in this case it is postgres which is buggy. Chicago is never |
Sorry, my instructions were unclear -- the -4 happens when no time zone is active. I added the "With time zone active" section for PostgreSQL to the issue description. I believe the behavior is correct considering that the test also works on SQLite, MySQL, Oracle, etc. |
Nah I misread, I gotcha! |
urgh, #44792 doesn't solve the case where it is persisted in the DB o_o" |
(Note that daylight saving time "fall back" is Nov. 7 in 2010.)
On PostgreSQL (no time zone active):
Time zone changes from -04 to -05 but hour remains the same at 12.
With time zone active:
Time zone changes from -5 to -6 but no hour change.
On cockroachdb:
Fine, but with a time zone active...
Time zone changes from -5 to -6 AND hour changes from 12 to 11.
Failing Django test:
The text was updated successfully, but these errors were encountered: