Fix handling of current day.
Merge branch 'master' of github.com:CTPUG/wafer