As part of putting together the home automation for our house we need to do a lot of schedules – and at the moment the main focus is for the heating. This involves things like :

NewImage

and the sensible choice to parse these dates seems to be chronic.

But I hit a small problem – today is Saturday january 2nd of 2016, and things do not work out of the box :

NewImage

in other words if I tell chronic to parse “Saturday 12:00” I was expecting the returned detesting to be ‘2016-01-02 12:00’ – but instead it gives me next Saturday?

Hm! I need to look into this.