Hi,
The default in the .js is dateFormat: “MMM Do”, for fun have you tried “Do MMM”?
Cheers.
Hi,
The default in the .js is dateFormat: “MMM Do”, for fun have you tried “Do MMM”?
Cheers.
Hi,
I went through moment.js looking at ways to capitalize ‘domingo’ etc. I could create a function with ‘var str =’ and ‘var res =’, or do a moment.locale (“es”) define a var for months and days with uppercase and do a moment.UpdateLocale but all involving modifying the .js file.
There was a solution editing the /MagicMirror/vendor/node_modules/moment/min/moment-with-locales.js which would change every module.
However, this morning I tripped over just adding text-transform: capitalize to the .css for the module. I updated .clock and calendar_monthly. It worked. It’s simple and no messing with moment.locale and the .js
I learned some things poking around in moment.js but the .css solution was way easier.
Thank you for your insight and suggestions.
Cheers!
O.K.
and… onlyTemp: ‘true’, would not have any quotes.