Fix timestamps parsed as datetime by changing order