Read the statement by Michael Teeuw here.
MMM-CalendarExt3
-
@Selph
It is not the translation’s problem.
This module (and agenda) depends on its internationalization to Intl internal Javascript object. (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl). That is supposed to be a standard method for I18N/L10N in JavaScript world.
But unfortunately, Chromium(Electron of MagicMirror is using it) is known to have a bug in handling Icelandic locale ‘is’ or ‘is-IS’, and not been fixed yet.
https://support.google.com/chrome/thread/26467925/icelandic-locale-formating-wrong?hl=enSorry. At this moment, I cannot help about it.
-
@MMRIZE can he use chromium browser instead of electron to work around this issue?
-
@sdetweil
It’s all Chromium based browser’s issue; chrome, chromium, and even MS edge. -
@MMRIZE ok, no workaround…
-
Well that is indeed unfortunate. Thanks for the info, I appreciate it. I guess I’ll try to hardcode the translation values into
CalendarExt3.js
for now. -
@MMRIZE
Thanks for the help. I actually just had to specify singleday and fullday along with the calendar name, which I’m ashamed I didn’t think of before. -
@MMRIZE Sorry if this has already been reported: I just installed MMM-CalendarExt3 and it appears to be listing my calendar events (Google Calendar .ics) in reverse order (events on each day are listed from latest to earliest). Not sure what additional information is helpful, but I’m using month view, locale is
en-US
, usingtimeFormat: 12
, and this is all that’s in my module config:{ module: "MMM-CalendarExt3", position: "bottom_center", title: "", config: { mode: "month", instanceId: "basicCalendar", locale: 'en-US', maxEventLines: 5, firstDayOfWeek: 1, calendarSet: ['work', 'home', 'us-holidays', "leisure"], } },
Any idea what might be happening? Thank you!
-
-
@MMRIZE I found the discrepancy! It show up in the correct order on Chromium based browsers, however is in the reverse order when viewed on Firefox.
@sfb said in MMM-CalendarExt3:
@MMRIZE Sorry if this has already been reported: I just installed MMM-CalendarExt3 and it appears to be listing my calendar events (Google Calendar .ics) in reverse order (events on each day are listed from latest to earliest). Not sure what additional information is helpful, but I’m using month view, locale is
en-US
, usingtimeFormat: 12
, and this is all that’s in my module config:{ module: "MMM-CalendarExt3", position: "bottom_center", title: "", config: { mode: "month", instanceId: "basicCalendar", locale: 'en-US', maxEventLines: 5, firstDayOfWeek: 1, calendarSet: ['work', 'home', 'us-holidays', "leisure"], } },
Any idea what might be happening? Thank you!
-
@sfb
interesting symptom.
I suspect some CSS property compatibility issues.(maybe-webkit
and-moz
diffrence) I’ll look inside at what happens in Firefox. Anyway, MM is supposed to work on Electron in standalone mode, So I regard Chromium as a de facto standard environment of MM. -
@MMRIZE Thanks for looking into it! Totally understandable. I’ve been testing MM serving from a docker container and viewed in various environments, so it’s not a typical setup.