Skip to content

Replace jquery.timeentry with jquery-timepicker #152

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
merged 2 commits into from
Jul 25, 2025

Conversation

alindeman-NOAA
Copy link
Collaborator

This PR implements the timepicker mentioned in #104.

I like it (e.g., it allows typing "1935" and will automatically format it as "19:35") but it does work differently from the current version as far as tabbing. I won't merge it until I have a chance to talk to @jeremiaheb about the differences, and to make sure they are OK to ship.

minTime and maxTime also work differently. If we set them, "0500" will not format to "05:00" but it will otherwise validate if nothing is checking the format. Therefore I chose to punt the validation of the time range to jquery-validation instead for a consistent experience and error message.

@alindeman-NOAA alindeman-NOAA merged commit 23ccd7b into master Jul 25, 2025
2 checks passed
@alindeman-NOAA alindeman-NOAA deleted the new-timepicker branch July 25, 2025 14:38
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

Successfully merging this pull request may close these issues.

1 participant