[ 
https://issues.apache.org/jira/browse/SHINDIG-986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683495#action_12683495
 ] 

Adam Winer commented on SHINDIG-986:
------------------------------------

This was already implemented on trunk for SHINDIG-933.  If you need a fix for 
the 1.0.0 branch, please merge in Subversion revision r754978.

> parsing date values into person.dateOfBirth
> -------------------------------------------
>
>                 Key: SHINDIG-986
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-986
>             Project: Shindig
>          Issue Type: Bug
>          Components: Javascript , PHP
>    Affects Versions: 1.0.0-rc1
>            Reporter: Nagy Attila
>             Fix For: 1.0.0-rc1
>
>         Attachments: shindig_birthday_date_format.js.patch
>
>
> When parsing json values in jsonperson.js date fields (currently dateofbirth 
> only) are parsed the following way: value = new Date(jsonvalue); This 
> requires the server to send values in a format parseable by Date.parse(). 
> Unfortunately this does not handle values in ISO format (yyyy-mm-dd), what is 
> used by php-shindig.
> Upon accessing person.getField(opensocial.Person.Field.DATE_OF_BIRTH) one 
> gets an Invalid Date error.

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