cordova-plugin-contacts
cordova-plugin-contacts copied to clipboard
Plugin skip birthday without year on android
Bug Report
Problem
Contact with birthday, which is without year imports with empty birthday
What is expected to happen?
Expects to have contact with birthday with empty year
What does actually happen?
We have contact with empty birthday
Information

This problem is because date without year in android passed as "--MM-DD"(https://stackoverflow.com/questions/25161485/is-the-mm-dd-format-for-month-day-part-of-iso-8601), which cannot parse by Date.valueOf
method.
Command or Code
Environment, Platform, Device
Reproduced on Android 26 Pixel Emulator
Checklist
- [ x] I searched for existing GitHub issues
- [x ] I updated all Cordova tooling to most recent version
- [ x] I included all the necessary information above