Closed peterdesmet closed 3 years ago
Hi,
Have you tried it with Frictionless
?
This is a legacy codebase
No, do you mean using to_spss()
? In the documentation I see:
Wriring to SQL [sic]
[NOTE] Timezone information is ignored for datetime and time types.
@peterdesmet
It's a typo in the SQL Tutorial - package.to_sql
- https://github.com/frictionlessdata/frictionless-py/blob/master/tests/plugins/test_sql.py#L123
But yes the timezones don't seem to be supported
We have an issue for it - https://github.com/frictionlessdata/frictionless-py/issues/405 - but not yet ready
Thanks, will close this issue here in favour of the other issue.
Overview
I have a data package with timestamps that have timezone offsets, e.g.:
The spec for this fields is:
When saving this data package to sqlite, timezone offsets get ignored and are saved in sqlite as:
Retaining timezone offsets is not possible in sqlite's datetime strings, but it would be good if timezones are converted to UTC before uploading to sqlite:
Is that possible?
Please preserve this line to notify @roll (lead of this repository)