-
Notifications
You must be signed in to change notification settings - Fork 48
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
Allow timeinput without ':' #5129
Comments
Interesting. What time would you expect with the following inputs:
I tried different methods:
The challenges generally are with numbers greater than 23 The best effort method assumes that people may have paused writing and will add the last digit, therefore our guess is already close (maybe off by max. 9 minutes for 3 digit numbers). Also they probably care less for minutes than for hours or ten minutes increments. This method prioritizes the afternoon instead of the nighttime: 145 => 14:50 instead of 01:45. |
Core Meeting DecisionImplement as in https://angular.app.sbb.ch/angular/components/time-input/overview |
Thanks for implementing this QoL feature, will save me some nerves and let's me enjoy Ecamp3 more🙏 |
Block times must be entered by explicitly enter 7:00 or 07:00.
I'd like to enter times similar to https://sbb.ch, there I can enter different formats that get auto formatted:
700 = 7:00
7.00 = 7:00
0700 = 07:00
7 = 7:00
07 : 7:00
Time input may depend on culture - this feature is therefore possibly specific to (swiss-) german input culture.
As I guess Ecamp is currently only used in Switzerland this feature can be limited to be working with this culture and ignored for others.
The text was updated successfully, but these errors were encountered: