Page 1 of 1

%sunrise-15m% not working anymore...?

Posted: 01 Oct 2022, 12:22
by joost d
In a rule I use %sunset-1h%. That has always worked. Now I notice that this no longer works.

[url]viewtopic.php?t=5415/url] describes that %sunrise-15m% should work.

I'have made next test-rule:

On Clock#Time=All,**:** do
logentry,"test-1 %sunrise%"
logentry,"test-2 %sunrise-15m%"
endon

Returns the following logentry:
140415471: ACT : logentry,'test-1 7:41'
140415472: test-1 7:41
140415474: ACT : logentry,'test-2 %sunrise-15m%'
140415477: test-2 %sunrise-15m%

Am I doing something wrong?

Re: %sunrise-15m% not working anymore...?

Posted: 01 Oct 2022, 12:32
by TD-er
Just tested it on a new build with the current code base and indeed it no longer works.
I will make a fix for it.

N.B. a very quick test is to load the /sysvars page as it will check all variables on that page.

Re: %sunrise-15m% not working anymore...?

Posted: 01 Oct 2022, 12:52
by TD-er

Re: %sunrise-15m% not working anymore...?

Posted: 01 Oct 2022, 19:25
by joost d
Yep, its working!
tanks