4 Comments
Apr 16, 2021Liked by Jen Kramer

Hey, I’m a bit confused by the order in the datetime attribute. Your example has datetime=“yyyy-dd-mm” instead of datetime=“yyyy-mm-dd” (which seems to be what’s in the spec https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#valid-date-string). MDN also seems to have yyyy-dd-mm in one example, although I’m not sure how this would work if both types are allowed!

Expand full comment
author

Should be yyyy-mm-dd -- which example is confusing for you exactly?

Expand full comment
Apr 17, 2021Liked by Jen Kramer

Just looked again, yeah I think I misread it the first time!

Expand full comment
author

No worries, the <time> specs are mind-numbingly boring and easy to misread 🤣

Expand full comment