I think I may have found a bug with parseDate not correctly parsing a given date.
I'm diffing two date strings
Date 1: 2017-10-06T14:36:48.243177Z
Date 2: 2017-10-06T14:36:48.24416Z
Using the following logic:
toMillis(parseDate(date_str, "yyyy-MM-dd'T'HH:mm:ss.SSSSSS'Z'")) as date_millis
I'm getting the following milliseconds for each
Date 1 ms: 1,507,326,051,177
Date 2 ms: 1,507,325,832,416
I'm not sure how Date 2 clearly happening after Date 1 has a smaller millisecond value than Date 1. Am I missing something or could this be a bug?
Please sign in to leave a comment.