We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f28db6 commit c03dc3fCopy full SHA for c03dc3f
firebase-firestore/src/commonTest/kotlin/dev/gitlive/firebase/firestore/firestore.kt
@@ -476,8 +476,8 @@ class FirebaseFirestoreTest {
476
477
val timestamp = Timestamp.now()
478
479
- val pastTimestamp = Timestamp(timestamp.seconds - 60, timestamp.nanoseconds)
480
- val futureTimestamp = Timestamp(timestamp.seconds + 60, timestamp.nanoseconds)
+ val pastTimestamp = Timestamp(timestamp.seconds - 60, 12345000) // note: iOS truncates 3 last digits of nanoseconds due to internal conversions
+ val futureTimestamp = Timestamp(timestamp.seconds + 60, 78910000)
481
482
collection.add(DocumentWithTimestamp(pastTimestamp))
483
collection.add(DocumentWithTimestamp(futureTimestamp))
0 commit comments