Closed scruss closed 4 years ago
The latest spec (2019) does explicitly forbid this, so I don't know that it's a good idea to add this.
Up to you. But the “Standards Document” cited in the reference is the 2000 release where hour 24 is supported.
(Not your code in particular, but this change in the standard is going to break so much power utility code when it ever makes it into billing systems. International train arrivals and certain military rosters use hours ≥ 24 to avoid off-by-ones in accounting.)
2020-07-24T24:00
is valid input for ISO-8601 < 2019 but is not accepted. You'll still find it generated in datalogging and billing applications.