Skip to content

Commit 2a576e0

Browse files
Revert "Fix ignoring dateFormat model property"
This reverts commit b33b674.
1 parent cc6be2c commit 2a576e0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Eloquent/DocumentModel.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,6 @@ public function getDateFormat()
148148
/** @inheritdoc */
149149
public function freshTimestamp()
150150
{
151-
if (isset($this->dateFormat)) {
152-
return Date::now();
153-
}
154151
return new UTCDateTime(Date::now());
155152
}
156153

0 commit comments

Comments
 (0)