parsing dates with fractions correctly (rounding to millis)