Am Donnerstag, 23. November 2006 17:24 schrieb Tom Chiverton:
> On Thursday 23 November 2006 12:27, Oliver Lietz wrote:
> > Is this desired behavior? Looks like a bug to me.
>
> Your timezone is +1, so I'd expect a 1h difference between locale time and
> UTC time.

Tom,

it was 13:26:20 (CET) on my Mac.

nowString: Thu Nov 23 13:26:20 GMT+0100 2006
looks good, matches my locale time.

utcString: Thu Nov 23 12:26:20 2006 UTC
looks good, matches UTC/GMT (CET-0100)

fromDate: 14:26:20
fromString: 14:26:20
fromLocaleString: 14:26:20
fromUTCString: 13:26:20

but these look bad. Why is the _Formatter_ adding one hour? The used method is 
format and not convert or addOneHourAndFormat.

Remember, output of first two is from simple toString()/toUTCString() and time 
looks fine - but output from Formatter is plus one hour. IMHO it's a problem 
with DateFormatter not Date or my timezone.

thanks,
O.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to