Skip to content

Commit 09738e4

Browse files
authored
Merge pull request #72 from Spencer-Easton/master
Set timestamp field to ISOString during wrapDate_
2 parents f4b4baa + 131f918 commit 09738e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FirestoreDocument.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ function wrapBoolean_ (boolean) {
171171
}
172172

173173
function wrapDate_ (date) {
174-
return { 'timestampValue': date }
174+
return { 'timestampValue': date.toISOString() }
175175
}
176176

177177
function wrapLatLong_ (latLong) {

0 commit comments

Comments
 (0)