Closed j0hannesr0th closed 1 year ago
We need a good javascript library for that. Could be used in Kimai core then as well, but this topic is still open. Each one I investigated had one problem or another. Any idea?
Unfortutantely not supported by Safari: https://www.w3schools.com/tags/att_input_type_time.asp
Hm, I know all of them. https://timepicker.co is the best, but last commit was 5 years ago ... I don't want to use dead code. Seems we should probably wait for the next release of https://github.com/Eonasdan/tempus-dominus
Or these two: https://github.com/Pikaday/Pikaday (no dependencies) https://github.com/flatpickr/flatpickr (jQuery dependency)
Pikaday does not work as Tim input, does it? https://flatpickr.js.org/examples/#time-picker looks okay, but there is something about it that I don't fully like. Probably better though than the current system^^
But this whole discussion belongs actually to https://github.com/kevinpapst/kimai2/issues/571
Hm, regarding pikaday: true, there is no time input option... then it is not working for this use case.
I looked up all sorts of time pickers for a (Vue-) project some time ago, and Flatpickr worked pretty good.
currently it's only possible to add datetime values, but only the time (like in Begin and End) is not possible.