Fix intenaldate parser