Skip to content

Commit 411002d

Browse files
authored
Use Timestamp in Date fields (#12)
1 parent 9d4dc6a commit 411002d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firestore/test.firestore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ describe("firestore", () => {
225225
stringExample: "Hello world!",
226226
booleanExample: true,
227227
numberExample: 3.14159265,
228-
dateExample: new Date("December 10, 1815"),
228+
dateExample: firebase.firestore.Timestamp.fromDate(new Date("December 10, 1815")),
229229
arrayExample: [5, true, "hello"],
230230
nullExample: null,
231231
objectExample: {

0 commit comments

Comments
 (0)