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

Adam Winer resolved SHINDIG-933.
--------------------------------

       Resolution: Fixed
    Fix Version/s: trunk

Fixed on trunk with Aaron's patch.

Added Javascript to preserve Date parsing on the date-of-birth fields.  All 
other "date" fields are still strings (the old behavior);  we should probably 
have a separate issue to parse these to Date objects in the json API.

> JsonSerializer  doesn't serialize dates as valid xs:date or xs:dateTime 
> ------------------------------------------------------------------------
>
>                 Key: SHINDIG-933
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-933
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: trunk
>            Reporter: Aaron Evans
>            Assignee: Adam Winer
>             Fix For: trunk
>
>         Attachments: fix-933-bug.patch
>
>
> Parts of the model that represent dates use java.util.Date and are serialized 
> by the JsonSerializer by simply calling toString() on the date.  The result 
> is that dates are serialized as invalid xs:date or xs:dateTime.
> One solution would be to replace the use of Date with something like the 
> gdata java client's DateTime so that calling toString() would produce a 
> proper xs:date or xs:dateTime.

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

Reply via email to