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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to