minor fix

master
Константин 2023-08-10 18:23:26 +03:00
parent 4f17d3eba6
commit 5c302d0c45
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ class Publication extends Model {
} }
public function getPublishDateRusAttribute(): string { public function getPublishDateRusAttribute(): string {
return $this->published_at ? $this->published_at->format('d') . ' ' . $this->published_at->getTranslatedMonthName('Do MMMM') . ' ' . $this->published_at->format('Y') : 'когда-то'; return $this->published_at ? $this->published_at->format('d') . ' ' . $this->published_at->getTranslatedMonthName('Do MMMM') . ' ' . $this->published_at->format('Y') . ' г.' : 'когда-то';
} }