-
-
Notifications
You must be signed in to change notification settings - Fork 524
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
Possibility to add activities in HHmm format (without colon) #4723
Comments
If I remember correctly, this was possible in Kimai 1.x |
Thanks for linking to the other issue, I'll close this here as duplicate. |
I'm not sure, if the other issue is a direct duplicate. I linked them because I expect the fix to be at the same point in the sources and could probably be fixed together. |
Same but different => re-open |
I try to figure out, where the regular expression to check the format is created. (As I suspect a missing or wrong regex to be the cause). This pattern:
|
I think it'd be wiser to try to do what I suggest in #4707 (comment) instead of coming up with a working regex; they're messy at best and probably won't do away with backend parsing/validation anyway ... :think |
Currently it is validated by that regex in the browser. I'd like to remove or fix the pattern of the regular expression, because it causes my issues with the entry format. But I can't find the source code which causes the regex to be rendered into the patter attribute if the input field. |
I think it would be great to allow both |
This would definitely be great to have and be able to enter 1830 instead of 6:30 PM. Much easier on the numpad data entry muscles. |
Ah, the input is currently locale aware. So displaying and entering the time expects the same format. |
Describe the problem
I'm a fan of using my numeric keypad to enter my hours into kimai and I'd love to be able to "speed-fill" my form by entering the start / end hour in the format HHmm (i.e., 1600 instead of 16:00).
Describe the solution you'd like
Possibility to add times in the format HHmm
Describe alternatives you've considered
No response
Screenshots
Additional info
If this has a chance of getting merged, I am happy to propose a PR for this.
The text was updated successfully, but these errors were encountered: