FIX: Wrong days in month

Fixing the bug that caused the days from the previous and next mont to
display.
Fix permissions back to 644