It appears that sometimes aws returns CreationDateTime in floating
point unix epox format (or this was a regression, but I found no
evidence for this in the git blame).
When running tests recently I got the following error:
Because we're using posix second conversions anyways, it seems
perfectly fine to round (or truncate, floor, ceil, whatever) the
floating point to the latest integer before conversion. This
immediately resolved the problem for me.
It appears that sometimes aws returns CreationDateTime in floating point unix epox format (or this was a regression, but I found no evidence for this in the git blame).
When running tests recently I got the following error:
Because we're using posix second conversions anyways, it seems perfectly fine to round (or truncate, floor, ceil, whatever) the floating point to the latest integer before conversion. This immediately resolved the problem for me.