aelveborn / Wii-Scale

Turns your Wii Balance Board into a scale and presents your weight on a responsive website. Runs Linux and works on your Raspberry Pi.
http://aelveborn.github.io/Wii-Scale/
GNU General Public License v2.0
116 stars 27 forks source link

Date/Time being handled wrong (12hr/24hr conversion?) #34

Closed mo-g closed 3 years ago

mo-g commented 6 years ago

The following entries were made on my app today, but the datetime is being handled kind of wrong.

2018-06-17T00:34+0100 displays as 12:34
2018-06-17T10:16+0100 displays as 10:16
2018-06-17T19:08+0100 displays as 07:08

It looks like there's some sort of mangled conversion into 12 hour time going on - the values (12:30, 10:20, 7:10) are correct in 12 hour time, but they're then displayed as 24 hour times.

My preference would be to remove the conversion and just display them as 24 hour times, or build it in as a per-user option. What does everyone else think?