I read careful https://electricimp.com/docs/squirrel/system/date/ , but on
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 …
We’ll be collecting beta participant volunteers shortly. Stay tuned.
I’m testing impOS 36, and “Day of the year” is working