From 5c302d0c453ea1f3eccd5c134400610780c49456 Mon Sep 17 00:00:00 2001 From: panabonic Date: Thu, 10 Aug 2023 18:23:26 +0300 Subject: [PATCH] minor fix --- app/Models/Publications/Publication.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') . ' г.' : 'когда-то'; }