It is currently April 21st, 2019, 1:10 pm

Lua locale clarification needed

Discuss the use of Lua in Script measures.
User avatar
SilverAzide
Posts: 549
Joined: March 23rd, 2015, 5:26 pm

Lua locale clarification needed

SilverAzide » May 1st, 2018, 10:16 pm

Hello,

I've recently noticed that Lua date formatting functions, like os.date("today is %A") appears to return day and month names in English only, not the localized language. I see the docs say os.setlocale is not supported at this time. Does this mean that Lua scripts in Rainmeter are English only? I took the docs to imply that you could not change the locale, but it seems to be that the locale is fixed to be English. Is this correct?
DeviantArt Gadgets More...