Small bug in date formatting

BugzId: 3094