Replies: 1 comment 1 reply
-
|
Haha, that asterisk may indeed be warranted. I think the original idea was to call attention to the zero padding in the variant because it seemed like a point of contention in the examples I could find. I was thinking CalVer might be due for a rewrite (v26??) and that'll probably be something to fold in. :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was surprised to see calver.org define
MMas meaning a non-padded numeric month, and0Mas zero-padded (which I've never seen before). It caused a wee kerfuffle in a local discussion (because people thought we'd settled onMM, but then it was unclear if this mean zero-padded).You could either switch to
Mfor single digit andMMfor zero-padded, or just add an asterisk that says "yeah, we know, we invented yet another date formatting standard", which fine too.References:
ISO 8601 Standard Documentation: for the format YYYY-MM-DD,
W3C Date and Time Formats
Java's SimpleDateFormat
Beta Was this translation helpful? Give feedback.
All reactions