Skip to content

Commit

Permalink
Fix stupid mistake, its 6 not 2 digits
Browse files Browse the repository at this point in the history
  • Loading branch information
veeck committed Oct 24, 2022
1 parent 730e6f2 commit b8bfcb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/default/weather/providers/smhi.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ WeatherProvider.register("smhi", {
*/
getURL() {
const formatter = new Intl.NumberFormat("en-US", {
minimumFractionDigits: 2,
maximumFractionDigits: 2
minimumFractionDigits: 6,
maximumFractionDigits: 6
});
const lon = formatter.format(this.config.lon);
const lat = formatter.format(this.config.lat);
Expand Down

0 comments on commit b8bfcb2

Please sign in to comment.