fixed bug where calendar is not displayed correctly if month started on a sunday
Merge branch 'master' into webversion