Commits
Pokey Rule authored and GitHub committed aca6992edfc
feat(firestore): add toJSON() and valueOf() to FirestoreTimestamp (#4439) * Add toJSON() and valueOf() to FirestoreTimestamp For parity with JS SDK, and also to make comparisons work as expected. Copied from https://github.com/firebase/firebase-js-sdk/blob/7c1c7f182b59e0fc7d175f53e5e2360cdee0ccab/packages/firestore/src/api/timestamp.ts#L162-L182. Please lmk if this is something you'd be interested in including, and I'd be happy to add a unit test * Update packages/firestore/lib/FirestoreTimestamp.js Co-authored-by: Mike Hardy <github@mikehardy.net>