Fix XML date-time formatting