Discussion about this post

User's avatar
Adam N's avatar

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
3 more comments...

No posts