Skip to content

Switch from datetime to firestore.SERVER_TIMESTAMP #53

Description

@benjaminkostiuk

For some reason in production with AWS pushing datetime objects to firestore causes them to be incorrectly parsed. Using SERVER_TIMESTAMP works and has been used as a workaround for now.

Ideally we root cause and figure out what exactly is the issue. Or we can just switch over wherever we push to firebase to use SERVER_TIMESTAMP instead of the datetime.now(timezone.utc) call. Dunno what to do about a specific time.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions