Fixes day value in format date