W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2009

[whatwg] Use cases for the time element

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Fri, 27 Nov 2009 16:09:36 +0100
Message-ID: <4B0FEBB0.4010708@lachy.id.au>
Henri Sivonen wrote:
> On Nov 26, 2009, at 18:50, Jeremy Keith wrote:
>
>> "The following extract shows how an IM conversation log could be marked up.
>> <p>  <time>14:22</time>  <b>egof</b>  I'm not that nerdy, I've only seen 30% of the star trek episodes"
>
> What's the point of having the time semantically marked up in this
> example? What kind of processing scenario would benefit?

It might be more valuable if the datetime attribute was used to give the 
date and/or timezone information.  This is effictively what the IRC log 
for the #microformats channel does.

http://rbach.priv.at/Microformats/IRC/2009-11-27

That would allow, for example, user scripts to automatically convert 
times in the chat log to local times.  It could also be used for styling 
purposes, so it can be styled differently to distingish it from the rest 
of the line.

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/
Received on Friday, 27 November 2009 07:09:36 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:19 UTC