Skip to content
This repository was archived by the owner on May 7, 2021. It is now read-only.
This repository was archived by the owner on May 7, 2021. It is now read-only.

custom time stamp causing error #21

Description

@ZaynJarvis
FirebaseError: Function DocumentReference.set() called with invalid data. Unsupported field value: a custom Timestamp object (found in field startTime)

I am encountering this error from last week. I am not sure how to debug this, is it the case that firebase disallowing adding custom timestamps?
I tries to use Timestamp.fromMillis(event.startTime), and Timestamp.fromDate(event.startTime),
Doesn't seem to work in both case.

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