Skip to content

fix issue #126 #992

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

Merged

Conversation

Tatsunori-Morita
Copy link
Contributor

Summary

This PR fixes #126 .

Test Plan

What's required for testing (prerequisites)?

What are the steps to reproduce (after prerequisites)?

Compatibility

OS Implemented
iOS
Android

Checklist

  • I have tested this on a device and a simulator
  • I added the documentation in README.md
  • I updated the typed files (TS and Flow)
  • I added a sample use of the API in the example project (example/App.js)
  • I have added automated tests, either in JS or e2e tests, as applicable

Copy link
Member

@vonovak vonovak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi! Thanks for the PR, this looks okay!

Can you please check whether maxDate prop needs the same treatment?

Thank you!

@Tatsunori-Morita
Copy link
Contributor Author

@vonovak

Hi! Thanks for the review and the suggestion!

I checked the maxDate behavior, and no additional handling is needed.

If maxDate falls between intervals — for example, 18:29 with a minuteInterval of 15 — the picker automatically rounds down to the closest valid value (18:15 in this case), so it doesn’t allow values beyond maxDate.

I’ll attach a short video as a reference.

Thanks again!

Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-07-28.at.16.30.58.mp4

@vonovak vonovak merged commit 5266faf into react-native-datetimepicker:master Jul 28, 2025
5 checks passed
@vonovak
Copy link
Member

vonovak commented Jul 28, 2025

Than you!

vonovak pushed a commit that referenced this pull request Jul 28, 2025
## [8.4.3](v8.4.2...v8.4.3) (2025-07-28)

### Bug Fixes

* **ios:** minuteInterval breaks minimumDate ([#992](#992)) ([5266faf](5266faf))
@vonovak
Copy link
Member

vonovak commented Jul 28, 2025

🎉 This issue has been resolved in version 8.4.3 🎉

If this package helps you, consider sponsoring us! 🚀

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

Successfully merging this pull request may close these issues.

[iOS] minimumDate + minuteInterval
3 participants