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 d5a189d commit cf3589fCopy full SHA for cf3589f
src/I18n/Time.php
@@ -278,8 +278,7 @@ public function timeAgoInWords(array $options = []) {
278
}
279
280
if ($diff > abs($now - (new static($end))->format('U'))) {
281
- $absoluteTime = new static($inSeconds);
282
- return sprintf($absoluteString, $absoluteTime->i18nFormat($format));
+ return sprintf($absoluteString, $this->i18nFormat($format));
283
284
285
// If more than a week, then take into account the length of months
0 commit comments