Type: W3CISO8601
W3C variant/subset of IS08601 for specifying date(times). Supported are - YYYY (eg 1997) - YYYY-MM (eg 1997-07) - YYYY-MM-DD (eg 1997-07-16) - YYYY-MM-DDThh:mmTZD (eg 1997-07-16T19:20+01:00) - YYYY-MM-DDThh:mm:ssTZD (eg 1997-07-16T19:20:30+01:00) - YYYY-MM-DDThh:mm:ss.sTZD (eg 1997-07-16T19:20:30.45+01:00) where TZD is the time zone designator (Z or +hh:mm or -hh:mm)
URI: dlthings:w3ctr-datetime
Type Properties
| Property |
Value |
| Regex Pattern |
^([-+]\d+)|(\d{4})|(\d{4}-[01]\d)|(\d{4}-[01]\d-[0-3]\d)|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))$ |
See Also
Schema Source
- from schema: https://concepts.datalad.org/s/things-properties/v1
Mappings
| Mapping Type |
Mapped Value |
| self |
dlthings:w3ctr-datetime |
| native |
dlthings:W3CISO8601 |