-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Description
According to the specification, endOfDayFrag allows a dateTime to have
the timestamp 24:00:00 [1]. This is oddly enough defined as
Alternatively, endOfDayFrag combines the hourFrag, minuteFrag,
minuteFrag, and their separators to represent midnight of the day,
which is the first moment of the next day.
Which doesn't make a lot of sense as a time cannot exist in two dates at
the same time. libxml2 has support for this [2].
My first assumption of this would be that the value should be allowed,
and that it should return the implementation defined latest possible
time for a given date. My google-fu bing-fu doesn't show how others
are handling endOfDayFrag, but as the spec allows it, people are
reporting it, which breaks validation.
I notice an existing issue related ISO8601 parsing[3], which is
probably related to the parsing step.