Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
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 CreditAttribution: 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 CreditAttribution: Jeff Burnz commentedRight, I also looked up the spec:
Comment #3
Jeff Burnz CreditAttribution: 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 CreditAttribution: aspilicious commenteddatetime/time is just for "times". We can't use it in this case.