stable

Clone or download

Read-only

fix: Unable to add time via personal timetracking widget

Fixes request #35079 Unable to add time via personal timetracking widget Note: I did not migrate the time-formatters to TS because it will be done during the Vue3/TS migration soon. How to reproduce: - In the personal timetracking widget, open the details modal - Click on [+Add time] --> The date is the current one, and has the YYYY-mm-dd format - Fill up the step and the time fields --> The date format has mutated - Try to submit --> REST error How to test: --> You should be able to submit your new time without reselecting the current date in the date-picker Change-Id: I38c88afc620c9bf9758c504e1993448cab6bf158

Modified Files

Name
M plugins/timetracking/scripts/lib/time-formatters/src/time-formatters.js +9 −0 Go to diff View file
M plugins/timetracking/scripts/lib/time-formatters/src/time-formatters.test.js +9 −0 Go to diff View file
M plugins/timetracking/scripts/personal-timetracking-widget/src/components/modal/WidgetModalEditTime.test.js +61 −43 Go to diff View file
M plugins/timetracking/scripts/personal-timetracking-widget/src/components/modal/WidgetModalEditTime.vue +5 −2 Go to diff View file