Problem / Motivation

Make the new HTML <input type="datetime" .../> element available as an FAPI element in core.

References

W3C: http://www.w3.org/TR/html5/states-of-the-type-attribute.html#date-and-ti...

Comments

hansyg’s picture

I'll work on this

hansyg’s picture

Assigned: Unassigned » hansyg
hansyg’s picture

Assigned: hansyg » Unassigned
Status: Active » Needs work

Unassigning, this is conflicting with the theme_datetime in theme.inc
Need to put some thought into how to do this

hansyg’s picture

Status: Needs work » Needs review
StatusFileSize
new7.49 KB

I did some work on this, the validation needs to be looked at but its very close. I used http://drupal.org/node/1174634#comment-5461504 as a reference to make this patch.

Status: Needs review » Needs work

The last submitted patch, add_fapi_element_datetime-1496644-5773708.patch, failed testing.

hansyg’s picture

Issue tags: +html5
swentel’s picture

Status: Needs work » Closed (fixed)