Skip to content

Instantly share code, notes, and snippets.

@vasilvestre
Created September 13, 2021 08:36
Show Gist options
  • Save vasilvestre/1fa0a824446a1398bd6a37ab13aae29d to your computer and use it in GitHub Desktop.
Save vasilvestre/1fa0a824446a1398bd6a37ab13aae29d to your computer and use it in GitHub Desktop.
{# @var ea \EasyCorp\Bundle\EasyAdminBundle\Context\AdminContext #}
{# @var field \EasyCorp\Bundle\EasyAdminBundle\Dto\FieldDto #}
{# @var entity \EasyCorp\Bundle\EasyAdminBundle\Dto\EntityDto #}
<time datetime="{{ field.value|date('c') }}" title="{{ field.value|date('r') }}">{{ field.formattedValue }}</time>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment