Fix Windows date formatting issue