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 5a3b2a9 commit 0182618Copy full SHA for 0182618
1 file changed
packages/firebase-firestore/index.ios.ts
@@ -83,6 +83,10 @@ function serializeItems(value) {
83
return value;
84
}
85
86
+ if (value instanceof Date) {
87
+ return NSDate.dateWithTimeIntervalSince1970(value.getTime() / 1000);
88
+ }
89
+
90
if (value instanceof Timestamp) {
91
return value.native;
92
0 commit comments