Fix swapped date and time formatting