This has proven to be bit more challenging than initially presumed.
To recap – I’m setting up a heating schedule for several zones in our house – all I need to do is to send out setpoint temperatures to the wireless thermostats in each zone at the correct time.
So I decided to define everything in a JSON file, and parse time and dates with Chronic to control everything. So far it all sounds easy, and I came up with something like this :
But I wanted to set all timings using 24 hour time, so in the end I had this :
It looks a bit weird – as the “today” tag should not be needed IMHO, but some of the times (i.e. those that would have been in the “past” – such as “00:01” ended up being interpreted by Chronic as 7 days into the future….
So that explains the “today” tag.