Closed FND closed 11 years ago
I think this could use the time
tag: http://html5doctor.com/the-time-element/
Yeah there is the time
tag or at least there was. I seem to remember there being a big discussion about the time
tag and it being replaced by a data
tag... Not 100% sure if this has been fully resolved.
I think this describes the current state of the art/spec: http://www.brucelawson.co.uk/2012/best-of-time/
If this is going to be done we either need a jinja filter to make the right output for the datetime
attribute or need a macro within the templates to properly output the proper time info.
In fact a few macros for this class of thing would be quite useful.
The macro and changed timestamp info has been deployed.
There are some issues with parental HTML but these should be dealt with on separate issues, so closing.
<span class="date modified" data-modified="Mon, 24 Jun 2013 19:06:25 GMT">Mon, 24 Jun 2013 19:06:25 GMT</span>
that seems wrong because non-standard
there's an agreed HTML5 standard for this sort of thing - though I don't recall what it is now (there's been too much back and forth); needs investigation