changeset 4713:cd9216c073fd

minor fixes date localization
author Thomas Junk <thomas.junk@intevation.de>
date Thu, 17 Oct 2019 12:27:12 +0200
parents 3b5268263c5b
children 88de29143147
files client/src/components/gauge/HydrologicalConditions.vue client/src/components/gauge/Waterlevel.vue
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/gauge/HydrologicalConditions.vue	Thu Oct 17 12:24:52 2019 +0200
+++ b/client/src/components/gauge/HydrologicalConditions.vue	Thu Oct 17 12:27:12 2019 +0200
@@ -612,7 +612,7 @@
           : d3.timeHour(date) < date
           ? d3.timeFormat("%H:%M")
           : d3.timeDay(date) < date
-          ? d3.timeFormat("%H")
+          ? d3.timeFormat("%H:%M")
           : d3.timeMonth(date) < date
           ? d3.timeWeek(date) < date
             ? d3.timeFormat("%b %d")
--- a/client/src/components/gauge/Waterlevel.vue	Thu Oct 17 12:24:52 2019 +0200
+++ b/client/src/components/gauge/Waterlevel.vue	Thu Oct 17 12:27:12 2019 +0200
@@ -362,7 +362,7 @@
           : d3.timeHour(date) < date
           ? d3.timeFormat("%H:%M")
           : d3.timeDay(date) < date
-          ? d3.timeFormat("%H")
+          ? d3.timeFormat("%H:%M")
           : d3.timeMonth(date) < date
           ? d3.timeWeek(date) < date
             ? d3.timeFormat("%a %d")