We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
DATE_TRUNC('week', <value>) truncates to midnight Sunday on cockroachdb but midnight Monday on PostgreSQL.
DATE_TRUNC('week', <value>)
This was discovered while testing with Django: cockroachdb/django-cockroachdb#92
PostgreSQL:
> SELECT DATE_TRUNC('week', '2019-11-13'::timestamp); "2019-11-11 00:00:00"
cockroach:
> SELECT DATE_TRUNC('week', '2019-11-13'::timestamptz); date_trunc +---------------------------+ 2019-11-10 00:00:00+00:00
The text was updated successfully, but these errors were encountered:
9b625f2
otan
Successfully merging a pull request may close this issue.
DATE_TRUNC('week', <value>)
truncates to midnight Sunday on cockroachdb but midnight Monday on PostgreSQL.This was discovered while testing with Django: cockroachdb/django-cockroachdb#92
PostgreSQL:
cockroach:
The text was updated successfully, but these errors were encountered: