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

@ZaynJarvis

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.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions