feat(isTime): add `withOptionalSeconds` option by greenbea · Pull Request #2521 · validatorjs/validator.js
Navigation Menu
{{ message }}
validatorjs / validator.js Public
- Notifications You must be signed in to change notification settings
- Fork 2.4k
Merged
feat(isTime): add withOptionalSeconds option#2521
rubiin merged 1 commit intovalidatorjs:masterfrom
feat(isTime): add withOptionalSeconds option#2521
rubiin merged 1 commit intovalidatorjs:masterfrom
Conversation
Copy link Copy Markdown
Contributor
The withOptionalSeconds option is useful when you want to validate a time and want to allow with or without seconds.
Checklist
- PR contains only changes related; no stray files, etc.
- README updated (where applicable)
- Tests written (where applicable)
- References provided in PR (where applicable)
rubiin
requested a review
from WikiRik
WikiRik approved these changes Mar 26, 2025
WikiRik
requested a review
from rubiin
WikiRik
changed the title
feat(isTime) add withOptionalSeconds option
feat(isTime): add withOptionalSeconds option
rubiin approved these changes Mar 27, 2025
rubiin
merged commit
2866bb1
into
validatorjs:master
greenbea
deleted the
patch-1
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment