From 8112212c95eb3a072a5853d0973f0280c08fe4bb Mon Sep 17 00:00:00 2001 From: panabonic Date: Thu, 7 Sep 2023 11:15:16 +0300 Subject: [PATCH] minor fix --- app/Models/Publications/Publication.php | 2 +- config/files.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/Publications/Publication.php b/app/Models/Publications/Publication.php index 7f4ddb3..4943ec9 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') . ' г.' : 'Дата не указана'; } diff --git a/config/files.php b/config/files.php index 888e27c..e834ba8 100644 --- a/config/files.php +++ b/config/files.php @@ -1,5 +1,5 @@ 200 * 1024 * 1024 + 'maxsize' => 100 * 1024 * 1024 ];