I noticed that when syncing firebase to typesense, timestamps from firestore are converted to integers. Is there any way to convert them back to a date clientside?
j
Jason Deutsch
11/07/2022, 6:04 AM
Are these not unix timestamps?
Jason Deutsch
11/07/2022, 6:04 AM
I expect they are, if so, converting back should be straight forward.
k
Kishore Nallan
11/07/2022, 8:26 AM
Yes, Typesense does not have a date/time type so timestamps are stored as unix timestamp in int64 type. You can use any date formatting library to format it.