axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-820) ConverterUtil does not handle time zones correctly in convertToString(Calendar)
Date Fri, 16 Feb 2007 04:53:06 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Amila Chinthaka Suriarachchi resolved AXIS2-820.
------------------------------------------------

    Resolution: Fixed

fixed with revision 508309.
parse the date using available simpleDateFormat functionalites.

> ConverterUtil does not handle time zones correctly in convertToString(Calendar)
> -------------------------------------------------------------------------------
>
>                 Key: AXIS2-820
>                 URL: https://issues.apache.org/jira/browse/AXIS2-820
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.0
>            Reporter: Jeff Peterson
>         Assigned To: Deepal Jayasinghe
>
> If convertToString(Calendar) is passed a calendar object with a timezone other than GMT/UTC/Zulu,
it is not treated appropriately.  
> For example, if I pass (Wed Jun 14 13:33:50 PDT 2006) as a calendar object, it is formatted
by convertToString() to "2006-06-14T13:33:50.784Z".  Notice the GMT/UTC/Zulu designation "Z"
at the end of the string.  Clearly these two dates are not equivalent.  convertToString()
should return either "2006-06-14T13:33:50.784-7:00" or "2006-06-14T20:33:50.784Z"
> See: modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java:136

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message