w3c / adapt

Semantics to describe user personalization preferences.
https://w3c.github.io/adapt/
Other
51 stars 27 forks source link

Tools Module - ​Re: 3.2.4 messagetime #91

Open johnfoliot opened 6 years ago

johnfoliot commented 6 years ago

Currently this states:

Supported values: 24 hour date time format. ​DD.MM.YEAR.HOUR.MM - DD.MM.YEAR.HOUR.MM where the second date is an optional exclusive expiry date.

​May I suggest that this pattern is actually something of an anti-pattern (or at least, is "non-standard")​. Can I propose that instead we require the date format to follow the ISO 8601​ (Date and Time Standard) which takes the format:

2018-09-17T16:48:58​Z​ (YYYY-MM-DDTHH:MM:SS + Z which denotes UTC)​

Additionally, the ISO notation allows the author to specify the time based on either UTC or with a UTC off-set (which is not addressed in the current draft)​

ghost commented 6 years ago

This has been added to my feature branch.