Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Teach awyeah-api to handle ISO8601 timestamps with microsecond precision
This is a divergence from aws-api. The aws-api uses java.text.SimpleDateFormat for timestamp parsing, and is unable to parse timestamps with precision greater than milliseconds. (Attempting to do so silently corrupts the timestamp. See aws-api commit 636a7af35b6f11c3b26eaa9aa47067ac5b312b20 for an example.) awyeah-api uses java.time.format.DateTimeFormatter, which can parse timestamps with up to nanosecond precision. We likely only need microsecond precision given the samples I've seen, so add a formatter than handles microsecond-precision ISO8601 timestamps.
- Loading branch information