Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full ISO 8601 (RFC 3339 profile) compliance #356

Open
ypid opened this issue Nov 23, 2020 · 0 comments
Open

Full ISO 8601 (RFC 3339 profile) compliance #356

ypid opened this issue Nov 23, 2020 · 0 comments
Labels
type: bug A confirmed report of unexpected behavior.

Comments

@ypid
Copy link
Member

ypid commented Nov 23, 2020

ISO 8601 is the standard. There might currently still be other legacy date and time formats displayed by this library and the evaluation tool. Those should be changed to ISO 8601 regardless of the language.

This is the exact profile I propose:

Mon 2020-11-23 21:34:23

This does not change the opening hours syntax of course as that is defined in the spec. There have been discussion about designing the spec around ISO 8601 but this was not really doable, see https://wiki.openstreetmap.org/wiki/Talk:Key:opening_hours#International_standard_for_date_and_time

Example:

but will open tomorrow, 24 November, in 12 hours and 33 minutes.

Should become:

but will open tomorrow, 2020-11-24, in 12 hours and 33 minutes.

Or write ISO 8601 durations, at least in parenthesis as addition.

Related: #322

@ypid ypid added the type: bug A confirmed report of unexpected behavior. label Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A confirmed report of unexpected behavior.
Projects
None yet
Development

No branches or pull requests

1 participant