axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "giovanni zigliara (JIRA)" <>
Subject [jira] [Commented] (AXIS2-4719) Wrong time when parsing time without time zone information.
Date Tue, 07 Jun 2011 15:05:04 GMT


giovanni zigliara commented on AXIS2-4719:

which is the version this bug is fixed in? 
Will be fixed in version 1.5.5? If so, could you please tell me when the 1.5.5 version is
planned to be released.
Thanks in advance.

> Wrong time when parsing time without time zone information.
> -----------------------------------------------------------
>                 Key: AXIS2-4719
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>         Environment: All
>            Reporter: Rikard Swahn
>              Labels: daylight, local, savings, time, timezone, zone
>   Original Estimate: 2h
>  Remaining Estimate: 2h
> Functions public static Date convertToDate(String source) and public static Calendar
convertToDateTime(String source) returns wrong time when parsing a data without timezone information.
> When parsing a time without timezone set, default timezone is used, But, daylight saving
is always set to zero (instead of using the local default daylight savings also). This gives
the wrong time back when the local daylight savings is not zero.
> The fix is to only set daylight savings to zero (   calendar.set(Calendar.DST_OFFSET,
0);   ) when the time has time zone information.

This message is automatically generated by JIRA.
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message