[ 
http://issues.apache.org/jira/browse/AXIS-1907?page=comments#action_62175 ]
     
Tom Jordahl commented on AXIS-1907:
-----------------------------------

Two things:
1. The "Z" is part of the specified ISO format for date/time stamps - it is a 
literal character and is correct.  With no data following the Z, the time is 
defined to be GMT.

2. The Axis date/time serializer always sends dates and times in GMT (aka UTC). 
 This is to avoid any interop problems with timezones.  This is behaving as 
designed (and with proven interoperability).  The recieving end generally 
converts times in to the desired timezone.

I don't think there is any bug here.


> Calendar De|Serializer with incorrect date format
> -------------------------------------------------
>
>          Key: AXIS-1907
>          URL: http://issues.apache.org/jira/browse/AXIS-1907
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>  Environment: Windows XP Pro, Java 1.4.2, Axis 1.2RC3
>     Reporter: Bobby Lawrence

>
> The CalendarSerializer and CalendarDeserializer are supposed to know how to 
> convert betweeb date/time strings and java.util.Calendar objects.
> The problem is, it will never know how to convert the timezone information 
> because of the incorrect format in its private static SimpleDateFormat object.
> The format is given as:
> yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
> As you can clearly see, the letter Z is single quoted and therefore will pass 
> through as a literal 'Z' instead of timezone information like -007 or 
> something.
> This same format is in both the serializer and deserializer classes and 
> everytime Axis serializes my objects into XML, it places a 'Z' character 
> instead of the timezone.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to