Skip to content

unwrapFirestoreDoc() should .toDate() all timestamps #1

@lupas

Description

@lupas

If a documents contains timestamps, one has to convert them to the date format with toDate() before they can be used in the app.

It would be great if the unwrapFirestoreDoc() could detect all timestamps, .toDate() them and add them back to the items like so:

message.date = message.date.toDate()

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions