diff --git a/app/Models/Publications/Publication.php b/app/Models/Publications/Publication.php index 7a0afca..7f4ddb3 100644 --- a/app/Models/Publications/Publication.php +++ b/app/Models/Publications/Publication.php @@ -86,7 +86,7 @@ class Publication extends Model { } 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') . ' г.' : 'когда-то'; }