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