Date localization
SciCrea opened this issue · 4 comments
SciCrea commented
Hello, the date is displayed without localization. The language is installed in the settings. The Blog plugin displays localization.
daftspunk commented
Please provide more information on the problem, expectation and current behaviour
SciCrea commented
I created a plugin with the "Date and Time" field. Twig:
{{ record.date|date('d M') }}
Get:
12 Apr
I'm waiting for a date in Cyrillic
SciCrea commented
Need more information?
SciCrea commented
You need to specify the type of field in the model.
protected $dates = ["variable"];