You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by do...@apache.org on 2008/05/06 17:16:18 UTC

svn commit: r653804 - /incubator/shindig/trunk/features/opensocial-0.7/jsonperson.js

Author: doll
Date: Tue May  6 08:16:18 2008
New Revision: 653804

URL: http://svn.apache.org/viewvc?rev=653804&view=rev
Log:
Json person now handles the dateOfBirth field correctly. 


Modified:
    incubator/shindig/trunk/features/opensocial-0.7/jsonperson.js

Modified: incubator/shindig/trunk/features/opensocial-0.7/jsonperson.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/opensocial-0.7/jsonperson.js?rev=653804&r1=653803&r2=653804&view=diff
==============================================================================
--- incubator/shindig/trunk/features/opensocial-0.7/jsonperson.js (original)
+++ incubator/shindig/trunk/features/opensocial-0.7/jsonperson.js Tue May  6 08:16:18 2008
@@ -26,9 +26,10 @@
 JsonPerson = function(opt_params) {
   opt_params = opt_params || {};
 
-  // TODO: doesn't handle dateOfBirth, drinker, smoker, or gender yet
+  // TODO: doesn't handle drinker, smoker, or gender yet
   JsonPerson.constructObject(opt_params, "bodyType", opensocial.BodyType);
   JsonPerson.constructObject(opt_params, "currentLocation", opensocial.Address);
+  JsonPerson.constructObject(opt_params, "dateOfBirth", Date);
   JsonPerson.constructObject(opt_params, "name", opensocial.Name);
   JsonPerson.constructObject(opt_params, "profileSong", opensocial.Url);
   JsonPerson.constructObject(opt_params, "profileVideo", opensocial.Url);