Skip to content

feat: add minuteInterval parameter for time picker intervals#616

Merged
robingenz merged 4 commits into
capawesome-team:mainfrom
Brechard:feat/add-minute-interval-parameter
Oct 19, 2025
Merged

feat: add minuteInterval parameter for time picker intervals#616
robingenz merged 4 commits into
capawesome-team:mainfrom
Brechard:feat/add-minute-interval-parameter

Conversation

@Brechard
Copy link
Copy Markdown
Contributor

@Brechard Brechard commented Sep 22, 2025

  • Add minuteInterval parameter to PresentOptions interface
  • Implement native iOS support using UIDatePicker.minuteInterval
  • Add Android parameter support (ignored due to platform limitations)
  • Update documentation with platform-specific behavior notes
  • Maintain backward compatibility with default value of 1

Pull request checklist

Please check if your PR fulfills the following requirements:

  • [ X ] The changes have been tested successfully.
  • [ X ] A changeset has been created (npm run changeset).
  • [ X ] I have read and followed the pull request guidelines.

Close #622

@robingenz
Copy link
Copy Markdown
Member

Thank you for this PR. Have you really tested your changes? I ask because you apparently haven't read the pull request guidelines either and I want to make sure that the PR really works.

@Brechard
Copy link
Copy Markdown
Contributor Author

Yes sorry I was a bit in a rush and forgot to do it, here is the issue: #622 , and as it is said in the code it only works on ios, android does not seem to support it

@robingenz
Copy link
Copy Markdown
Member

@Brechard In this case please remove all changes in the "android" folder as they are not needed.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Oct 17, 2025

Open in StackBlitz

@capawesome/capacitor-age-signals

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome/capacitor-age-signals@616

@capawesome-team/capacitor-android-battery-optimization

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome-team/capacitor-android-battery-optimization@616

@capawesome/capacitor-android-dark-mode-support

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome/capacitor-android-dark-mode-support@616

@capawesome/capacitor-android-edge-to-edge-support

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome/capacitor-android-edge-to-edge-support@616

@capawesome-team/capacitor-android-foreground-service

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome-team/capacitor-android-foreground-service@616

@capawesome/capacitor-app-review

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome/capacitor-app-review@616

@capawesome/capacitor-app-shortcuts

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome/capacitor-app-shortcuts@616

@capawesome/capacitor-app-update

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome/capacitor-app-update@616

@capawesome/capacitor-asset-manager

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome/capacitor-asset-manager@616

@capawesome/capacitor-background-task

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome/capacitor-background-task@616

@capawesome/capacitor-badge

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome/capacitor-badge@616

@capawesome/capacitor-cloudinary

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome/capacitor-cloudinary@616

@capawesome-team/capacitor-datetime-picker

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome-team/capacitor-datetime-picker@616

@capawesome-team/capacitor-file-opener

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome-team/capacitor-file-opener@616

@capawesome/capacitor-file-picker

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome/capacitor-file-picker@616

@capawesome/capacitor-libsql

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome/capacitor-libsql@616

@capawesome/capacitor-live-update

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome/capacitor-live-update@616

@capawesome/capacitor-managed-configurations

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome/capacitor-managed-configurations@616

@capawesome/capacitor-photo-editor

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome/capacitor-photo-editor@616

@capawesome/capacitor-posthog

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome/capacitor-posthog@616

@capawesome/capacitor-realtimekit

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome/capacitor-realtimekit@616

@capawesome/capacitor-screen-orientation

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome/capacitor-screen-orientation@616

@capawesome/capacitor-screenshot

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome/capacitor-screenshot@616

@capawesome/capacitor-torch

npm i https://pkg.pr.new/capawesome-team/capacitor-plugins/@capawesome/capacitor-torch@616

commit: 540e6ff

@Brechard
Copy link
Copy Markdown
Contributor Author

@robingenz removed, and verified it works fine both in android and ios

Comment thread .changeset/hot-feet-roll.md Outdated
Copy link
Copy Markdown
Member

@robingenz robingenz left a comment

Choose a reason for hiding this comment

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

Thank you!

@robingenz robingenz merged commit 43cf6c3 into capawesome-team:main Oct 19, 2025
@github-actions github-actions Bot mentioned this pull request Oct 19, 2025
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.

feat: Minute intervals

2 participants