[uf-discuss] Parsing dates in preferred format
Scott Reynen
scott at randomchaos.com
Tue Sep 19 14:09:46 PDT 2006
On Sep 19, 2006, at 3:52 PM, Andy Mabbett wrote:
> In message <4E400692-5E4D-4108-8CF6-2F8D73D0FCAE at technorati.com>, Ryan
> King <ryan at technorati.com> writes
>
>>> In the meantime, and as a test case, surely that could be done now,
>>> with
>>> a FireFox extension or GreaseMonkey script?
>>>
>>> (The former would be preferable from my PoV)
>>
>> Go for it! :)
>
> Er, that was me "going for it".
I could possibly be convinced to write such a Greasemonkey script,
but I currently suspect it would end up being more annoying than
useful. For example, here's a clipping from the second (first
English) live example in the wiki for hCalendar [1]:
<th scope="row">Tuesday 12<br>
<abbr class="dtstart" title="2006-09-12T19:30:00+01:00">7:30</
abbr>–<abbr class="dtend" title="2006-09-12T21:30:00
+01:00">9:30</abbr>pm</th>
That displays as:
Tuesday 12
7:30–9:30pm
By auto-converting the ISO8601 dates to my preferred format, that
would display as:
Tuesday 12
September 12, 2006 7:30pm–September 12, 2006 9:30pm
I prefer the original, and I suspect this is more the norm than the
exception.
[1] http://www.westmidlandbirdclub.com/diary/2006-09.htm
Peace,
Scott
More information about the microformats-discuss
mailing list