Too Busy For Words - the PaulWay Blog

Sun 11th Jun, 2006

If HTML is 'semantic' markup...

... why doesn't it have a '<date>' tag? Something that would allow you to specify that a particular field was a date and could be formatted on the client's system to their particular date viewing method? You're allowed to mark up dictionary definitions, acronyms, document titles, emphasis, and citations. And date conversion, unlike money or distance measures, is a well-known, well-understood idea for most date systems.

I was thinking something like:

<date srctz="Australia/Canberra" iso8901="2006-06-11 12:03:15">11/6/06 12:03:15</date>

Time to write that RFC...

Last updated: | path: tech | permanent link to this entry


All posts licensed under the CC-BY-NC license. Author Paul Wayper.


Main index / tbfw/ - © 2004-2023 Paul Wayper
Valid HTML5 Valid CSS!