The time tag should be used for printing out the publication date to be semantically correct. This patch slightly reformats the node template accordingly. Note that format_date just prints Y-m-d format, you can specify Y-m-dTH:M:S-timezone according to the html5 specification but I don't know how to do Drupal timezone conversions, so someone can improve on it.

CommentFileSizeAuthor
#1 html5_time.patch741 bytesrory_o
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rory_o’s picture

FileSize
741 bytes

Cool, d.o ate the patch

Cellar Door’s picture

Assigned: Unassigned » himerus

all yours himerus

himerus’s picture

I like this fix and will include it in the 3.2 release. I do want to do a little investigation into the drupal date formatting, and if there are any issues out of the box that could be present, otherwise I'd just add it to 3.1

Cellar Door’s picture

Status: Needs review » Closed (won't fix)

This has been dropped from the hmtl5 platform so we won't be implementing it.