-
Notifications
You must be signed in to change notification settings - Fork 99
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
data.items datetime is timestamp without time zone #100
Comments
Since the STAC spec defines timestamps as always being in UTC, is it still necessary to store the timezone? https://github.com/radiantearth/stac-spec/blob/4988a40f6071666d345e4a1c5adc9a6338973769/item-spec/item-spec.md#properties-object |
yes. :-) IMHO there is very little reason to ever use the timestamp without time zone type in Postgres. If it costs nothing to be explicit you should always be explicit and thus ensure the database will do the right thing. |
linting install pre-commit so I actually do ALL the expected linting uggh difference in black line length
Timestamp without time zone should always be avoided as it is ambiguous as to the timezone represented by the field and can be lossy at the DST transition time.
The text was updated successfully, but these errors were encountered: