You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Silwing (Jira)" <ji...@apache.org> on 2019/10/14 14:01:00 UTC
[jira] [Commented] (AXIS2-5324) Wrong time when parsing time
without time zone information with with milliseconds.
[ https://issues.apache.org/jira/browse/AXIS2-5324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16951019#comment-16951019 ]
Silwing commented on AXIS2-5324:
--------------------------------
The same technique could be applied to the method ConverterUtil.convertToDate. It has the same check of if(source.length() >= 10) which sets DST_OFFSET despite timezone not being present, causing the same issue there.
> Wrong time when parsing time without time zone information with with milliseconds.
> ----------------------------------------------------------------------------------
>
> Key: AXIS2-5324
> URL: https://issues.apache.org/jira/browse/AXIS2-5324
> Project: Axis2
> Issue Type: Bug
> Components: adb
> Affects Versions: 1.5.4, 1.6.2
> Environment: SuSE Linux 11.3, Windows XPSP3 DE running Tomcat6, java 1.6
> Reporter: Martin Pischky
> Priority: Critical
> Labels: calendar, datetime, daylight, timezone
> Fix For: 1.6.3, 1.7.0
>
> Attachments: ConverterUtil.txt, ConverterUtilTest.txt, axis2-1.5.4.patch_AXIS2-5324.patch
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> reopen of AXIS2-4719, see my comment there.
> BTW: The test testConvertToDateTime in for ConverterUtilTest does not contain any Assert.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org