[Microformats-dev] ISO Dates
Ryan King
ryan at technorati.com
Tue Jul 19 08:01:00 PDT 2005
On Jul 19, 2005, at 5:26 AM, Brian Suda wrote:
> On the discuss list there has been so talk about ISO date formats.
> Currently, X2V only supports Dates without the '-' seperators (which
> is wrong and will be changed).
Good.
> X2V currently takes the date with a timezone and attempts to convert
> it to a UTC date so that importing applications can adjust
> accordingly. This is ALOT of work in XSLT, which i'm wondering if it
> is needed at all?
You wouldn't think so, as long as you send along the timezone with
the date. Converting to UTC is actually a lossly transformation, b/c
the timezone of a vevent is significant.
> Maybe, instead of trying to convert things, i should just take exactly
> what the user put as án 'iso date' and use that even if it is wrong.
> Then let the importing application deal with it? This would make the
> code ALOT easier and it would also then accept the dates with and
> without dashes.
Let me know if you want help testing this.
> Is there a reason it should be attempting to convert all dates to UTC?
> I figured i'd ask the list before making any changes.
I can't think of a reason.
-ryan
More information about the Microformats-dev
mailing list