frictionlessdata / tableschema-js

A JavaScript library for working with Table Schema.
http://frictionlessdata.io/
MIT License
82 stars 27 forks source link

Fixed validation/infer bugs for yearmonth and duration types #106

Closed roll closed 6 years ago

roll commented 6 years ago
Stephen-Gates commented 6 years ago

In v1.4.1 date and time are inferred correctly.

date-time is inferred correctly when the data is in the format 2016-12-25T00:01:01Z:

screenshot 2017-10-31 07 10 18

when a time-zone is placed after the Z, I get:

screenshot 2017-10-31 07 09 31

The Frictionless Data specification references ISO8601 which supports time-zones, however the specification states for date or date-time,

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

I was (incorrectly) expecting that time-zones would be supported but now remember https://github.com/frictionlessdata/specs/issues/487

Looking forward to v1.1 of the Spec ;-)

Thanks @roll

roll commented 6 years ago

Thanks @Stephen-Gates