4 ms·
I found that strange too. I'd probably have the date as a text node, so that there is still time information visible in the rare case when javascript is turned
by lhorie 18y ago
I found that strange too. I'd probably have the date as a text node, so that there is still time information visible in the rare case when javascript is turned off.
- _phred 18y agoI'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.