Closed (works as designed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
theme system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Jun 2011 at 22:54 UTC
Updated:
29 Jul 2014 at 19:39 UTC
Possible use of time here, could be overboard, and I can't recall right now if datetime attribute can do time-ago (I think it can).
http://api.drupal.org/api/drupal/modules--forum--forum-submitted.tpl.php/7
Comments
Comment #1
cosmicdreams commentedNo I don't think so.
According to http://dev.w3.org/html5/spec/Overview.html#vaguer-moments-in-time , the html 5 field for time data does not natively support relative times. But we could easily render relative times based on the hard coded timestamp that is apart of the html 5 standard.
Comment #2
Jeff Burnz commentedRight, I also looked up the spec:
Comment #3
Jeff Burnz commentedI'm opening this again, we need more info on datetime attribute - can we pass a valid date time string to datetime and write whatever we want in the time element? Apologies for the noise, brain not engaged this morning.
Comment #4
aspilicious commenteddatetime/time is just for "times". We can't use it in this case.