frictionlessdata / datapackage

Data Package is a standard consisting of a set of simple yet extensible specifications to describe datasets, data files and tabular data. It is a data definition language (DDL) and data API that facilitates findability, accessibility, interoperability, and reusability (FAIR) of data.
https://datapackage.org
The Unlicense
493 stars 112 forks source link

Shall `datetime` with `format=default` support optional timezone offsets? #830

Closed peterdesmet closed 8 months ago

peterdesmet commented 1 year ago

Frictionless Framework will correctly parse the following datetimes with a format = default (datapackage.json.zip):

2013-11-23T08:30:00      # No timezone
2013-11-23T08:30:00Z     # UTC time
2013-11-23T06:30:00-0200 # Timezone offset

This is great! But according to the specs only UTC times should be supported (excluding offsets or no timezone):

default: An ISO8601 format string e.g. YYYY-MM-DDThh:mm:ssZ in UTC time

Is the more broad support intentional? Should the specs be updated to drop the in UTC time?

Originating issue: https://github.com/tdwg/camtrap-dp/issues/333

roll commented 1 year ago

I think we def need to handle it in v2

roll commented 8 months ago

MERGED into https://github.com/frictionlessdata/specs/issues/487