Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: JiBX 1.2.2
-
Fix Version/s: None
-
Component/s: core
-
Labels:None
-
Number of attachments :
Description
I would suggest that serializeZonedDateTime needs to be made consistent for all offsets.
Currently, an offset of 0 will result in exactly the same output as serializeUTCDateTime
DateTime dt = new DateTime().withZone(DateTimeZone.forOffsetHours(0)); System.out.println(JodaConvert.serializeUTCDateTime(dt)); System.out.println(JodaConvert.serializeZonedDateTime(dt));
this will result in
2010-04-16T09:26:40.42Z 2010-04-16T09:26:40.42Z
where I would have thought it should result in.
2010-04-16T09:26:40.42Z 2010-04-16T09:26:40.42+00:00
Activity
Dennis Sosnoski
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Dennis Sosnoski [ dsosnoski ] |
Ben Davies
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Not A Bug [ 6 ] |
Dennis Sosnoski
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Sorry, raised as "Major" by accident, but it is obviously not.