fix incorrect computation of starting day

if first day of week was set to monday, events starting at sunday displayed incorrectly in week view
Remove useless lines
Merge pull request #1 from mlocati/patch-1

Remove useless lines
Merge pull request #59 from izar-cz/patch-1

fix incorrect computation of starting day