Converting Firestore Timestamps to Dates in Typesense
TLDR Andrew asked about converting Firestore integer timestamps in Typesense back to dates. Jason and Kishore Nallan confirmed they're unix timestamps and suggested using a date formatting library.
1
Nov 07, 2022 (13 months ago)
Andrew
05:53 AMJason
06:04 AMJason
06:04 AMKishore Nallan
08:26 AM1
Typesense
Indexed 3015 threads (79% resolved)
Similar Threads
Discussing Firebase Extension and Timestamp Implementation.
Loic enquired about timestamp inf Firebase implementation. Jason confirmed it's supported and shared the extension version, its functionality, and where the conversion happens. Loic planned to test this.
Current server timestamp retrieval in Typesense
Loic inquired about obtaining current server timestamp with Typesense. Jason said it's not possible with Typesense but backend could be used to get it. Loic explains his requirement is to sync app users with server timestamp to prevent accessibility and security issues.
Resolving Typesense Cloud and Firebase Timestamp Error
Eoin faced an issue with Firebase timestamp when setting up Typesense Cloud. Jason suggested converting timestamps to Unix and sync them as int64 fields in Typesense.