axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Peterson (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-820) ConverterUtil does not handle time zones correctly in convertToString(Calendar)
Date Wed, 14 Jun 2006 20:39:29 GMT
ConverterUtil does not handle time zones correctly in convertToString(Calendar)
-------------------------------------------------------------------------------

         Key: AXIS2-820
         URL: http://issues.apache.org/jira/browse/AXIS2-820
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug

  Components: databinding  
    Versions: 1.0    
    Reporter: Jeff Peterson


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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
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