[uf-dev] floating time

Tantek Ç elik tantek at cs.stanford.edu
Wed Jun 7 18:37:56 PDT 2006


On 6/7/06 4:37 PM, "Ryan King" <ryan at technorati.com> wrote:

> I've started working on the hCalendar test suite and have a question.
> 
> In X2V, all datetime's are converted to UTC, even if no timezone
> offset was specified.

Really? That sounds like a bug.

I'm fairly certain Brian and I had discussed this at some point and
clarified the floating vs. fixed times issue.


> It seems that if the publisher didn't specify
> an offset, it would be better to treat this datetime as a floating
> time. From section 4.3.5 of RFC 2445:
> 
>> FORM #1: DATE WITH LOCAL TIME
>> 
>>    The date with local time form is simply a date-time value that does
>>    not contain the UTC designator nor does it reference a time
>> zone. For
>>    example, the following represents Janurary 18, 1998, at 11 PM:
>> 
>>      DTSTART:19980118T230000
>> 
>>    Date-time values of this type are said to be "floating" and are not
>>    bound to any time zone in particular.

Yes, that's correct.

> I can't seem to find any previous discussion on the wiki or maillist
> list that indicates that floating-time date-times are prohibited, so
> I wanted to check first, before going ahead with the test cases.

They are certainly not prohibited, and should work as specified in RFC2445.

Thanks,

Tantek



More information about the microformats-dev mailing list