Fixed the handling of days.
Merge branch 'master' of https://github.com/Sebelino/scheduler-curt