minor fix
parent
4f17d3eba6
commit
5c302d0c45
|
|
@ -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') . ' г.' : 'когда-то';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue