Hi,
I read careful https://electricimp.com/docs/squirrel/system/date/ , but on
DEVICE:
now = date();
server.log("Day of Year: "+now.yday)
Returns always zero.
The same code on AGENT is working …
Documentation says: “The usec key is available only when date() is called from within agent code”, but nothing about YDAY.
Am I missing something ?
There is a regression with date() — this will be fixed in impOS 36, out shortly.
10x, hope impOS 36 will be released soon …
@smittytone
any EST when impOS 36 will released?
We’ll be collecting beta participant volunteers shortly. Stay tuned.
impOS 36 is now available for beta testing - see this post
Hi,
I’m testing impOS 36, and “Day of the year” is working
10x