Read the statement by Michael Teeuw here.
Calendar times in 24 hour format?
-
Here is output from
date
pi@MagicMirror:~ $ date wto, 25 lip 2017, 20:59:48 CEST
Yes in
12
, but in24
I have 03:00 instead 15:00 -
I think there is simply an understanding problem. You wrote:
“When i change timeFormat to 12 calendar add PM to 03:00 so it’s correctly, but when i change to 24, PM disappear.”So, if I’m interpreting this right, you are looking for something that isn’t the usual case. You want to display something like: “20:59 PM”
Is this correct? -
This post is deleted! -
Is your google calendar in the correct time zone?
-
You mean calendar on Google website?
But everything work correctly until lastest update of mm -
Then I have no idea. Sorry…
-
Thx for response.
-
i have the same problem, maybe I have time on the weekend for more test.
For me it is really ugly -
-
Hi
I also had this problem. The problem is that the time format string in modules/default/calendar/calendar.js is wrong for 24h setup.
Find these lines and change lower case
hh
intoH
in time format string.case 24: { moment.updateLocale(config.language, { longDateFormat: { LT: "H:mm" // FIX here: was "hh:mm" } }); break; }
This was already fixed in development branch: https://github.com/MichMich/MagicMirror/pull/943/files