Corrected off-by-12 error in date formatting