Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
fix: date locale
Browse files Browse the repository at this point in the history
  • Loading branch information
koying committed Jul 12, 2021
1 parent abc067a commit b1e0c2f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions weather-card-chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ class WeatherCardChart extends Polymer.Element {
type: 'time',
adapters: {
date: {
locale: this._hass.locale,
locale: this.lang,
},
},
display: false,
Expand All @@ -442,7 +442,7 @@ class WeatherCardChart extends Polymer.Element {
position: 'top',
adapters: {
date: {
locale: this._hass.locale,
locale: this.lang,
},
},
grid: {
Expand Down Expand Up @@ -470,7 +470,7 @@ class WeatherCardChart extends Polymer.Element {
position: 'left',
adapters: {
date: {
locale: this._hass.locale,
locale: this.lang ,
},
},
grid: {
Expand All @@ -493,7 +493,7 @@ class WeatherCardChart extends Polymer.Element {
suggestedMax: 20,
adapters: {
date: {
locale: this._hass.locale,
locale: this.lang,
},
},
grid: {
Expand Down

0 comments on commit b1e0c2f

Please sign in to comment.