Fix off by one in date formatting.