You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Colin Bau (JIRA)" <ji...@apache.org> on 2015/06/14 10:36:00 UTC
[jira] [Created] (CB-9175) contact's birthday attribute not work in
android ios and wp8
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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org