Closed uknowmeright closed 6 years ago
Hi @uknowmeright , in this case, I think that you can loop through the array and convert the string to date by using a helper like the moment package or new Date() in JavaScript, then write data to firestore. You can use Firebase function helper to do it.
Everything worked correctly for me except the export of dates. They seem to be imported back into the database as a string.
ex: 2018-05-31T04:00:00.000Z
Any advice on getting around this?
Thanks,