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

Hours input also taking 24,25...,29 values #150

Closed
kinjaldave-tech opened this issue Sep 21, 2022 · 6 comments
Closed

Hours input also taking 24,25...,29 values #150

kinjaldave-tech opened this issue Sep 21, 2022 · 6 comments
Labels
question Further information is requested stale

Comments

@kinjaldave-tech
Copy link

Hours input also taking 24,25...,29 values. Its not taking 30 and more than that. Also in minutes its taking upto 99. I have set locale ="sv-sv" Please help.

@cemysf

This comment was marked as off-topic.

@wojtekmaj
Copy link
Owner

Hours input also taking 24,25...,29 values. Its not taking 30 and more than that. Also in minutes its taking upto 99. I have set locale ="sv-sv" Please help.

Just checked and it seems like it's not the case, min/max attribute values are set correctly, and we have unit tests for that. Is there something I'm missing?

Note that you may be able to write invalid input, somehow - but it won't result in an invalid timestamp to be returned.

@wojtekmaj

This comment was marked as off-topic.

@wojtekmaj wojtekmaj added the question Further information is requested label Nov 9, 2022
@kinjaldave-tech
Copy link
Author

Hours input also taking 24,25...,29 values. Its not taking 30 and more than that. Also in minutes its taking upto 99. I have set locale ="sv-sv" Please help.

Just checked and it seems like it's not the case, min/max attribute values are set correctly, and we have unit tests for that. Is there something I'm missing?

Note that you may be able to write invalid input, somehow - but it won't result in an invalid timestamp to be returned.

Thanks for the reply.
It was also converting 24,25,..29 to invalid/undefined value or randomly values like 02:00 like that..
Also i was using this in my project for start time & end time, but i kept starting time not required but end time required, And if i was not setting any value in start time it automatically send invalid/undefined value.

@github-actions
Copy link
Contributor

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.

@github-actions github-actions bot added the stale label Feb 13, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2023

This issue was closed because it has been stalled for 14 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested stale
Projects
None yet
Development

No branches or pull requests

3 participants