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

Wrong date selected.. #24

Open
VrUnd14 opened this issue Jul 1, 2021 · 0 comments
Open

Wrong date selected.. #24

VrUnd14 opened this issue Jul 1, 2021 · 0 comments

Comments

@VrUnd14
Copy link

VrUnd14 commented Jul 1, 2021

suppose if i select 1 july 2021.
i get 30 june 2021 as result

datePicker.setup(beginWith: startDate, min: minDate, max: Date()) { [self] (selected, date) in if selected, let selectedDate = date { print(date) startDate = getDateWithReverseDash(selectedDate) fromDate.text = " \(startDate.toString(dateFormat: defaultSlashDateFormat))" } else { print("Cancelled") } }

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