From 2e63063d33487f9728457b672fd65edfc2479cd2 Mon Sep 17 00:00:00 2001 From: Sebastian Mezger Date: Wed, 25 Sep 2024 08:12:27 +0200 Subject: [PATCH] fixes (#83) * fixes * fix Readme.md, reference correct repo * fix reference of css files to give custom.css highest prio * fix typos in localization.js * fix numberic --- README.md | 6 +++--- site/index.html | 4 ++-- site/js/localization.js | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 350bbb4..b482cfc 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # :sunny: Sunalyzer -![Python checks](https://github.com/VanKurt/Sunalyzer/actions/workflows/python_lint.yml/badge.svg) -![Unit tests](https://github.com/VanKurt/Sunalyzer/actions/workflows/unit_tests.yml/badge.svg) -![Docker build](https://github.com/VanKurt/Sunalyzer/actions/workflows/docker.yml/badge.svg) +![Python checks](https://github.com/BorisBrock/Sunalyzer/actions/workflows/python_lint.yml/badge.svg) +![Unit tests](https://github.com/BorisBrock/Sunalyzer/actions/workflows/unit_tests.yml/badge.svg) +![Docker build](https://github.com/BorisBrock/Sunalyzer/actions/workflows/docker.yml/badge.svg) Sunalyzer is a free, open source and vendor independent solar monitoring system. It collects relevant data from your inverter/smart meter and stores them safely in a data base. diff --git a/site/index.html b/site/index.html index 141aaff..0746d1f 100644 --- a/site/index.html +++ b/site/index.html @@ -8,10 +8,10 @@ Sunalyzer - - + + diff --git a/site/js/localization.js b/site/js/localization.js index c1973fa..3e9e440 100644 --- a/site/js/localization.js +++ b/site/js/localization.js @@ -185,25 +185,25 @@ function getHistoryString(id) { } -// Numer format with 2 decimals +// Number format with 2 decimals const format2_en = new Intl.NumberFormat('en-US', { minimumFractionDigits: 2, maximumFractionDigits: 2, }); -// Numer format with 0 decimals +// Number format with 0 decimals const format0_en = new Intl.NumberFormat('en-US', { minimumFractionDigits: 0, maximumFractionDigits: 0, }); -// Numer format with 2 decimals +// Number format with 2 decimals const format2_de = new Intl.NumberFormat('de-DE', { minimumFractionDigits: 2, maximumFractionDigits: 2, }); -// Numer format with 0 decimals +// Number format with 0 decimals const format0_de = new Intl.NumberFormat('de-DE', { minimumFractionDigits: 0, maximumFractionDigits: 0,