cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sarangan Rajamanickam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-11052) contacts: returns birthday as null when year is not specified
Date Mon, 11 Apr 2016 21:47:25 GMT

    [ https://issues.apache.org/jira/browse/CB-11052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15236036#comment-15236036
] 

Sarangan Rajamanickam commented on CB-11052:
--------------------------------------------

@mohitgupta1918 I agree that both are valid scenarios. But, with the current Java and JS restrictions,
it is not possible to create a date without the year. Putting in a dummy year might work but
this would be a design change that might actually break other scenarios. So, I am unassigning
this ticket from me for now.

> contacts: returns birthday as null when year is not specified
> -------------------------------------------------------------
>
>                 Key: CB-11052
>                 URL: https://issues.apache.org/jira/browse/CB-11052
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Contacts
>            Reporter: Mohit Gupta
>            Assignee: Sarangan Rajamanickam
>              Labels: Android, triaged
>
> I have created a contact with birth date without adding the year.(20/Feb)
> When I retrieve the contact from the system,the birth date it returns is null. 
> I have tested it on Android with different dates, still the same behavior.
> NOTE: IF YOU ADD THE YEAR TO THE DATE, IT WORKS PERFECTLY.
> Versions:
> Android: 6.0.1
> Cordova: 6.1.1
> Platform: 5.1.1
> Cordova-Plugin-Contacts: 2.0.1



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


Mime
View raw message