It is currently April 27th, 2024, 7:34 pm

Problem with date format

Report bugs with the Rainmeter application and suggest features.
User avatar
Active Colors
Moderator
Posts: 1255
Joined: February 16th, 2012, 3:32 am
Location: Berlin, Germany

Problem with date format

Post by Active Colors »

I have a problem(not only me) when:

Measure=Time
Format=%d.%m.%y


When I write %Y - log shows nothing, but when I write %y - log shows an error, but skin works!

Log
Image
How I can to remove this error?

My Rainmeter version is: 2.3.0 beta r1349 (Apr 29 2012)
The same problem in other skins too.

In 2.2 version this error doesn't show. Maybe it is problem in beta version?
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Problem with date format

Post by jsmorley »

I think you must have some problem with a hidden characters or other "encoding" issue, as I get no such errors with any version of Rainmeter.
poiru
Developer
Posts: 2872
Joined: April 17th, 2009, 12:18 pm

Re: Problem with date format

Post by poiru »

Is os.setlocale used in any of Lua scripts?
User avatar
Active Colors
Moderator
Posts: 1255
Joined: February 16th, 2012, 3:32 am
Location: Berlin, Germany

Re: Problem with date format

Post by Active Colors »

poiru wrote:Is os.setlocale used in any of Lua scripts?
My skin hasn't any lua scripts.
poiru
Developer
Posts: 2872
Joined: April 17th, 2009, 12:18 pm

Re: Problem with date format

Post by poiru »

Active Colors wrote:My skin hasn't any lua scripts.
Do you have any other active skin, which has Lua script calling os.setlocale?

If not, can .zip your skin, upload to mediafire.com or something similar, and post link?
User avatar
Active Colors
Moderator
Posts: 1255
Joined: February 16th, 2012, 3:32 am
Location: Berlin, Germany

Re: Problem with date format

Post by Active Colors »

poiru wrote: Do you have any other active skin, which has Lua script calling os.setlocale?
I closed all active skins and left only my skin - problem didn't remove
poiru wrote:If not, can .zip your skin, upload to mediafire.com or something similar, and post link?
Yes, I can, but the same problem in Illustro too! When i change in Illustro from %Y to %y - log shows the same error :confused:

Screenshoot where log shows error in illustro:
Image
User avatar
Active Colors
Moderator
Posts: 1255
Joined: February 16th, 2012, 3:32 am
Location: Berlin, Germany

Re: Problem with date format

Post by Active Colors »

I think this error shows in every skin... but in version 2.2 this problem doesn't appear.