Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

fix ApproximateCreationDateTime #2

Merged
merged 1 commit into from
Sep 28, 2017

Conversation

andriiberezhynskyi
Copy link

Date.now() returns milliseconds which is interpreted incorectly by
boto3. For example boto3 will interprete the ApproximateCreationDateTime as something like Fri Jan 08 49712 17:18:22. This crashes boto3 with an error year is out of range. We need unix timestamp there (seconds)

Date.now() returns milliseconds which is interpreted incorectly by
boto3. For example boto3 will interprete the ApproximateCreationDateTime as something like `Fri Jan 08 49712 17:18:22`. This crashes boto3 with an error `year is out of range`. We need unix timestamp there (seconds)
@tomasbartkus tomasbartkus merged commit 9d1ef15 into feature/dynamodbstreams Sep 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants