rainlab / builder-plugin

Visual development tool for October CMS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Date localization

SciCrea opened this issue · comments

Hello, the date is displayed without localization. The language is installed in the settings. The Blog plugin displays localization.

commented

Please provide more information on the problem, expectation and current behaviour

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

Need more information?

You need to specify the type of field in the model.
protected $dates = ["variable"];