fix bug for adding time entries is broken at the end of month Edit

fixes launchpad bug
https://bugs.launchpad.net/eventum/+bug/1186330