Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 2

Rainmeter 3.2 • Re: New Time and Locale functionality

$
0
0
Hi guys, it's been a while since I messed up with my skins. I just found about this timestamp function and I assumed I could use it to translate dates into Spanish (my first language). I used to have this date widget and used the Substitute function to handle the translation:

Code:

[measureDay]Measure=TimeFormat=%aSubstitute="Sun":"Domingo","Mon":"Lunes","Tue":"Martes","Wed":"Miércoles","Thu":"Jueves","Fri":"Viernes","Sat":"Sábado"
I get I need to use the timestamp function to use the locale format and get translations, but when I use it, the displayed date is not correct.

Code:

[MeasureDate]Measure=TimeTimeStamp=Monday, January 21TimeStampFormat=%A, %B %#dTimeStampLocale=en-USFormatLocale=es-MXFormat=%A, %B %#d
Today's Thu, Feb 11. But when I use the timestamp function, it gives random dates, like "sun, Jan 21". If I change the timestamp date, sometimes the days change, and sometimes the day number does. I don't get what I need to do to display the current date. Any help will be much appreciated. :)

Statistics: Posted by PoochMx — February 11th, 2021, 7:40 pm



Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images