VitaliiBlagodir / cordova-plugin-datepicker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ANDROID] one day before

yoan1005 opened this issue · comments

Hi,

I use this plugin for my ionic app, and i have a bug with android devices (on ios simulator it work well)
when i set date, it's the yesterday of date selected who is set.
For example, if i choose 2017-12-11 (11 december) in datePicker, the return will be 2017-12-10 (10 december)
have you already see this bug ? Have you an issue.

Thanks a lot

Hi, I just did solve the same issue.
You are probably displaying the date in locale time (GMT-X) while the datepicker time might be 2017-12-11:00:00:00 GMT.