Colin Bau created CB-9175:
-----------------------------
Summary: contact's birthday attribute not work in android ios and
wp8
Key: CB-9175
URL: https://issues.apache.org/jira/browse/CB-9175
Project: Apache Cordova
Issue Type: Bug
Components: Plugin Contacts
Affects Versions: 5.0.0
Environment: Android 4.4
iOS 8.3
winphone 8.1
with contact plugin 1.0.0
Reporter: Colin Bau
Priority: Critical
this is my full code
=====
var contact = navigator.contacts.create();
contact.nickname = 'nick';
contact.birthday = new Date(1983,2,23).toLocaleDateString();
contact.save(onSuccess, onError);
=====
the data will insert success
but the birthday information will totally wrong
when in Android => it will become a long integer such like "417196800000"
when in iOS => it will become a null value
when in WP8 => it will become a strange date formate such like "00001/1/1
00:00:00"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]