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

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
joost d
Normal user
Posts: 53
Joined: 24 Dec 2020, 17:55
Location: Netherlands/ Haarlem

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

#1 Post by joost d » 01 Oct 2022, 12:22

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?

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

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

#2 Post by TD-er » 01 Oct 2022, 12:32

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.


joost d
Normal user
Posts: 53
Joined: 24 Dec 2020, 17:55
Location: Netherlands/ Haarlem

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

#4 Post by joost d » 01 Oct 2022, 19:25

Yep, its working!
tanks

Post Reply

Who is online

Users browsing this forum: No registered users and 31 guests