<?php setlocale(LC_TIME, 'ru'); echo $row->created_at->formatLocalized('%A %d %B %Y');?> |
1 answer
And if so
setlocale(LC_ALL, 'ru_RU.CP1251', 'rus_RUS.CP1251', 'Russian_Russia.1251'); If it does not work, then there is no support.
https://github.com/LaravelRUS/localized-carbon
Supports multiple languages
English (en) Russian (ru) Ukrainian (uk) Dutch (nl) Spanish (es) Portuguese (pt) You can also try to change in /app/config/app.php : 'locale' => 'en'
- Anyway, the downturn - das
- @das Wrote more options - Vasily Barbashev
|