w3c / i18n-drafts

A place to edit articles, tutorials, and the like for the /International subtree of the W3C site. Also, captures issues and comments.
63 stars 61 forks source link

[questions/qa-date-format] add info about html5 date markup #7

Open r12a opened 8 years ago

r12a commented 8 years ago

source [en]

We should mention the date & time markup in HTML5, esp. how it's useful to indicate the locale-sensitive date that appears on rendering.

kylenstone commented 6 years ago

It looked like this update may have already been done. Should this ticket be moved along?

r12a commented 6 years ago

It's not done yet (note the last substantive update was in 2007).

The suggested addition relates more to input of dates than to output, but would probably be a useful extension of the article.

The article should probably also be updated to include locale-related functions in JavaScript that can be used for displaying dates and times.

xfq commented 2 years ago

About input of dates, we can mention input type="datetime-local" in HTML.

For functions in JavaScript, we can at least mention these functions in the document: