Bug 34539 added code to auto-set the time element to 23:59 when a manually entered date is entered into a flatpickr input. However.. it neglected to ONLY set this default for time enabled flatpickrs and instead sets it for all.
Created attachment 156750 [details] [review] Bug 35014: Only set time for enable-time flatpickr This patch adds a check to the onChange function such that we only attempt to set the default time on change for time enabled flatpickrs when the date is entered manually.
Created attachment 156753 [details] [review] Bug 35014: Only set time for enable-time flatpickr This patch adds a check to the onChange function such that we only attempt to set the default time on change for time enabled flatpickrs when the date is entered manually. Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Created attachment 156767 [details] [review] Bug 35014: Only set time for enable-time flatpickr This patch adds a check to the onChange function such that we only attempt to set the default time on change for time enabled flatpickrs when the date is entered manually. Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to master for 23.11. Nice work everyone, thanks!
Strange to see Bug 34539 as dependancy since it is NEW Can this be backported ?
Hmm, I thought I'd removed that dependency.. it was a typo on my part when first opening the bug.. I suspect a bugzilla conflict put it back again.
Pushed to 23.05.x for 23.05.05
Nice work everyone! Pushed to oldstable for 22.11.x