Fixing the date format.