It is currently December 13th, 2018, 2:33 pm

CountUP (down) timer

Help with creating, editing & fixing problems with skins
mak_kawa
Posts: 219
Joined: December 30th, 2015, 9:47 am

Re: CountUP (down) timer

mak_kawa » November 20th, 2017, 10:19 am

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: 7176
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: CountUP (down) timer

balala » November 20th, 2017, 1:29 pm

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.