Fix working plan configuration am/pm hour parsing so that it works in all languages (#1606)

This commit is contained in:
Alex Tselegidis 2024-10-21 10:16:57 +09:00
parent fc60d63ec9
commit 6172e5e6c0
3 changed files with 3 additions and 2 deletions

View file

@ -8,6 +8,7 @@ developers to maintain and readjust their custom modifications on the main proje
### Fixed
- Fix the date parsing issue on Safari web browsers during the booking process (#1584)
- Fix working plan configuration am/pm hour parsing so that it works in all languages (#1606)
## [1.5.0] - 2024-07-07

View file

@ -131,7 +131,7 @@ window.App.Utils.UI = (function () {
weekAbbreviation: lang('week_short'),
scrollTitle: lang('scroll_to_increment'),
toggleTitle: lang('click_to_toggle'),
amPM: [lang('am'), lang('pm')],
amPM: ['am', 'pm'],
yearAriaLabel: lang('year'),
monthAriaLabel: lang('month'),
hourAriaLabel: lang('hour'),

View file

@ -43,7 +43,7 @@ App.Utils.WorkingPlan = (function () {
enableSubmit = false;
/**
* Setup the dom elements of a given working plan.
* Set up the dom elements of a given working plan.
*
* @param {Object} workingPlan Contains the working hours and breaks for each day of the week.
*/