[
https://issues.apache.org/jira/browse/AXIS2-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281492#comment-13281492
]
Hudson commented on AXIS2-4719:
-------------------------------
Integrated in Axis2 #1503 (See [https://builds.apache.org/job/Axis2/1503/])
Fixed AXIS2-5324, added modifications and test cases extracted from given
patch. This solved any remaining issues of AXIS2-4719 too. (Revision 1341780)
Result = SUCCESS
sagara :
Files :
*
/axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java
*
/axis/axis2/java/core/trunk/modules/adb/test/org/apache/axis2/databinding/utils/ConverterUtilTest.java
> Wrong time when parsing time without time zone information.
> -----------------------------------------------------------
>
> Key: AXIS2-4719
> URL: https://issues.apache.org/jira/browse/AXIS2-4719
> Project: Axis2
> Issue Type: Bug
> Components: adb
> Environment: All
> Reporter: Rikard Swahn
> Labels: daylight, local, savings, time, timezone, zone
> Fix For: 1.6.0
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]