Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS mode duration doesn't work , first time #269

Open
docampog30 opened this issue Apr 11, 2019 · 0 comments
Open

IOS mode duration doesn't work , first time #269

docampog30 opened this issue Apr 11, 2019 · 0 comments

Comments

@docampog30
Copy link

docampog30 commented Apr 11, 2019

if you initialize the plugin and pass a date object into the {date: dateobject} in mode 'Duration' it always show '00:01' the first time that the datePicker is showed in the app, it only happend in IOS

this.datePicker
      .show({
        date: selectedDate.toDate(), //eg Wed Apr 10 2019 00:45:00 GMT-0500 (-05)
        mode: ‘duration’,
        is24Hour: true,
        androidTheme: this.datePicker.ANDROID_THEMES.THEME_HOLO_LIGHT,
      })

With other modes, it works correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant