capacitor-community / capacitor-community/date-picker

Input format is not correctly interpreted

Open
#14 9 comments 0 reactions 1 assignee Claimed by @danielprrazevedo View on GitHub
documentation
Dominant language
Swift
Stars
94
Forks
30
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
when giving custom date input matching format input, datepicker's date does not match it

**To Reproduce**
Steps to reproduce the behavior:
1. Open Datepicker with custom date and format
2. Date is wrong

**Expected behavior**
Proper date

**Screenshots**
![Screenshot 2020-08-21 at 16 20 48](https://user-images.githubusercontent.com/6069870/90900853-53f9cc00-e3ca-11ea-838b-9db500314f61.png)
![Screenshot 2020-08-21 at 16 20 42](https://user-images.githubusercontent.com/6069870/90900861-552af900-e3ca-11ea-9745-cd6bbcd93de1.png)

**Smartphone (please complete the following information):**
Device : Iphone 11 Pro - Simulator
OS :

Device : Pixel 3 - Emulator
OS : Android 10

**iOS log**
⚡️ [log] - from: 2020-07-22

**Android log**
2020-08-21 16:13:50.578 19915-20133/com.agorapulse.beta.app V/Capacitor: callback: 13389292, pluginId: DatePickerPlugin, methodName: present, methodData: {"theme":"light","date":"2020-07-22","format":"YYYY-MM-DD","mode":"date","max":"2020-08-20"}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.