diff --git a/package-lock.json b/package-lock.json index b4b7a304b..051d585cf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "answers-hitchhiker-theme", - "version": "1.23.0", + "version": "1.23.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 7074738bc..e3d096a7f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "answers-hitchhiker-theme", - "version": "1.23.0", + "version": "1.23.1", "description": "A starter answers theme for hitchhikers", "scripts": { "test": "cross-env NODE_ICU_DATA=node_modules/full-icu jest --verbose", diff --git a/static/js/hours/stringslocalizer.js b/static/js/hours/stringslocalizer.js index c06dee585..301afecb2 100644 --- a/static/js/hours/stringslocalizer.js +++ b/static/js/hours/stringslocalizer.js @@ -53,7 +53,7 @@ export default class HoursStringsLocalizer { time.setHours(Math.floor(yextTime / 100)); time.setMinutes(yextTime % 100); - return time.toLocaleString(this.locale, { + return time.toLocaleString(this._locale, { hour: 'numeric', minute: 'numeric', ...this._isTwentyFourHourClock && { hourCycle: this._isTwentyFourHourClock ? 'h24' : 'h12' } diff --git a/static/package-lock.json b/static/package-lock.json index 305a2c38f..0929c23c4 100644 --- a/static/package-lock.json +++ b/static/package-lock.json @@ -1,6 +1,6 @@ { "name": "answers-hitchhiker-theme", - "version": "1.23.0", + "version": "1.23.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/static/package.json b/static/package.json index 137ff2e0d..9f3dfa15b 100644 --- a/static/package.json +++ b/static/package.json @@ -1,6 +1,6 @@ { "name": "answers-hitchhiker-theme", - "version": "1.23.0", + "version": "1.23.1", "description": "Toolchain for use with the HH Theme", "main": "Gruntfile.js", "scripts": {