Allow times to be 24:00
#356
Replies: 4 comments
-
|
Writing
|
Beta Was this translation helpful? Give feedback.
-
|
For info, RFC 3339 does not allow |
Beta Was this translation helpful? Give feedback.
-
|
Good point about the RFC. I think strictly speaking, time rolls over to the next day after I suppose
That way, the user can use this notation in the file (for convenience), but internally we still work with the “correct” representation.
|
Beta Was this translation helpful? Give feedback.
-
|
It would be relatively straightforward to support this: #131 I think it would be best to take note of these two special cases in the Spec, though, just for the sake of completeness. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Say, if you work until midnight, you can’t say:
18:00-24:00, which would be logical actually. The spec doesn’t say anything about it.I can’t remember the reason why I didn’t allow the time to be
24:00, I think it was just because the underlying library I use behaves like this. (Seetime.go, but I have an explicit test for this.)0:00-24:00should be a total of24h.Beta Was this translation helpful? Give feedback.
All reactions