It is currently March 29th, 2024, 3:43 pm

CountUP (down) timer

Get help with creating, editing & fixing problems with skins
mak_kawa
Posts: 908
Joined: December 30th, 2015, 9:47 am

Re: CountUP (down) timer

Post by mak_kawa »

Weird... My Windows is on non-english (Japanese) locale, but posted code works fine without TimeStampLocale=en.

kchongjen, Manage Rainmeter -> Open log -> Skins dialog is our friend for debugging as eclectic-tech said. How are the values on the skins dialog?
You do not have the required permissions to view the files attached to this post.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: CountUP (down) timer

Post by balala »

eclectic-tech wrote:The TargetDate variable must be in the format of:
1 Jan 2017 {3 parts: 'Day Number' 'Short Month Name' '4-Number Year'}
In the code posted by mak_kawa yes, but its format can be easily modified if you modify accordingly the TimeStampFormat option of the [TargetDayMeasure] measure. Eg the following options pair will also work:

Code: Select all

[Variables]
TargetDay="1 1 2017"

[TargetDayMeasure]
...
TimeStampFormat=%#d %#m %Y
Please kchongjen try the above TargetDay variable and TimeStampFormat option. Let's see if with this modification the code works. Because I agree with eclectic-tech, it works for me, too.
If it still doesn't, please pack the root config and upload it here, to can better check what's happening.