Le 2019-08-31 10:44, Zbigniew Jędrzejewski-Szmek a écrit :
(I asked a few people what 24:00 means to them, and after getting a
few strange looks and answers,
To be fair:
1. ISO 8501 allows writing 24:00
Wikipedia> Midnight is a special case and may be referred to as either
"00:00" or "24:00". The notation "00:00"
Wikipedia> is used at the beginning of a calendar day and is the more
frequently used. At the end of a day use
Wikipedia> "24:00". "2007-04-05T24:00" is the same instant as
"2007-04-06T00:00"
2. However the IETF explicitely forbid it when defining the ISO 8501
subset allowed on the Internet
RFC 3339> Although ISO 8601 permits the hour to be "24", this profile of
ISO
RFC 3339> 8601 only allows values between "00" and "23" for the hour in
order
RFC 3339> to reduce confusion.
Therefore, banning the 24:00 notation is necessary for interoperability,
even if one does not agree with the IETF decision. (00:00 however is
well-defined and not ambiguous)
Regards,
--
Nicolas Mailhot
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx