Fixed datetime parsing