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 ];