[Ietf-calsify] Re: DURATION and PERIOD - proposal

Michiel van Leeuwen mvl at exedo.nl
Fri Apr 15 12:17:47 PDT 2005


Doug Royer wrote:

> Show an example that fails when you do the conversion to UTC, then
> the duration math, then the conversion back to the TZID.

in javascript:

js> d=new Date("March 27, 2005 0:0:0");
Sun Mar 27 2005 00:00:00 GMT+0100 (CET)
js> d.setUTCDate(d.getUTCDate()+1);
1111964400000
js> d
Mon Mar 28 2005 01:00:00 GMT+0200 (CEST)

In other words, the end date is not 00:00 anymore, like the user would 
expect.

> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Ietf-calsify mailing list
> Ietf-calsify at osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/ietf-calsify



More information about the Ietf-calsify mailing list