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 6a5906b commit 5038470Copy full SHA for 5038470
src/Objects/FileObject.php
@@ -28,7 +28,7 @@ public function getKey(): string
28
29
public function getModifyAtForHumans(): string
30
{
31
- $carbon = new Carbon($this->file->getMTime());
+ $carbon = Carbon::createFromTimestamp($this->file->getMTime());
32
return "<span title='{$carbon->format('Y-m-d H:i:s')}'>{$carbon->diffForHumans()}</span>";
33
}
34
0 commit comments