Bug fix: fixed date handling in controller (changed day in year to day
in month notation)