Skip to content

Commit 57bcee2

Browse files
authoredMar 11, 2017
Issue mongodb#1131 fix
1 parent b464c2f commit 57bcee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/Jenssegers/Mongodb/Eloquent/Model.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ protected function getDateFormat()
108108
*/
109109
public function freshTimestamp()
110110
{
111-
return new UTCDateTime(null);
111+
return new UTCDateTime(time() * 1000);
112112
}
113113

114114
/**

0 commit comments

Comments
 (0)
Please sign in to comment.