antpaw/kohana_calendar

For months that start with 1 on Sunday, creates an extra blank row.

Closed this issue · 1 comments

Change line 247 to add a check for $days!==0
if ($days % 7 === 0 && $days !== 0)

This works b/c if previous month has no days displayed (i.e. first of month falls on Sunday), then $days=0

thx ive pushed