Skip to content

Commit

Permalink
v1.23.1
Browse files Browse the repository at this point in the history
### Bug Fixes
- Corrected a typo that was causing hours information to be improperly localized in our formatters. (#936)
  • Loading branch information
tmeyer2115 committed Aug 30, 2021
2 parents 6e4a9d6 + 3221358 commit 2bc4ff5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion static/js/hours/stringslocalizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' }
Expand Down
2 changes: 1 addition & 1 deletion static/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion static/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 2bc4ff5

Please sign in to comment.