Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Output the Date in a better format

Roland Geider8f1491c112e3
diff --git a/weight/templates/overview.html b/weight/templates/overview.html
index 9601a8e55..d97b916b1 100644
--- a/weight/templates/overview.html
+++ b/weight/templates/overview.html
@@ -52,7 +52,7 @@
showChartLabels: false,
hint: {
content: function () {
- return this.x + ', ' + this.y + ' kg'
+ return this.x.toLocaleDateString() + ', ' + this.y + ' kg'
},
contentStyle: {
"font-size": "10pt"