Improve number formatting

Use locale-aware number formatting (i.e. add grouping separators).

Use hours and minutes to format travel time.
This commit is contained in:
Henrik Fehlauer 2019-05-30 23:52:59 +02:00
parent 3ee90b5cd9
commit 9bc38fea89
3 changed files with 32 additions and 14 deletions

View file

@ -44,8 +44,8 @@
"kilowatthour-abbrev": "kWh",
"meter": "meters",
"meter-abbrev": "m",
"minutes": "minutes",
"minutes-abbrev": "min",
"hours": "hours",
"hours-abbrev": "h",
"total-energy": "Total Energy",
"energy-per-100km": "Energy per 100 km",
"travel-time": "Travel time"