Skip to content

Commit

Permalink
Fix working plan configuration am/pm hour parsing so that it works in…
Browse files Browse the repository at this point in the history
… all languages (#1606)
  • Loading branch information
alextselegidis committed Oct 21, 2024
1 parent fc60d63 commit 6172e5e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion assets/js/utils/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down
2 changes: 1 addition & 1 deletion assets/js/utils/working_plan.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 6172e5e

Please sign in to comment.