Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lupas opened this issue Nov 22, 2018 · 0 comments
Open

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

lupas opened this issue Nov 22, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@lupas
Copy link
Owner

lupas commented Nov 22, 2018

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()

lupas pushed a commit that referenced this issue Jan 2, 2019
@lupas lupas added the enhancement New feature or request label Apr 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant