2 ms·
I'd go for the microformats way of representing time, now that they've standardized it: http://microformats.org/wiki/datetime-design-pattern http://microformat
by _phred 18y ago
I'd go for the microformats way of representing time, now that they've standardized it:
http://microformats.org/wiki/datetime-design-pattern http://microformats.org/wiki/datetime-design-pattern
<abbr class="foo" title="YYYY-MM-DDTHH:MM:SS+ZZ:ZZ">Date Time</abbr>
There are a lot of good alternatives proposed and debated on that page, so I'm confident that they've come up with the best way to represent the date in the DOM. Additionally, it's readable from Javascript-less environments and and uses only standard elements and attributes.
- lhorie 18y agoI've heard about that. I think microformats are clever but I'm still waiting on the resolution of the whole microformats vs accessibility debate.