Date
class Date extends LocalDate
Date overrides the Twig 'date' filter. As all dates are stored and handled in UTC, this converts them to the local timezone before display.
{{ 'now'|date('m/d/y g:ia') }}
Methods
string
getFilterName()
Return the filter name
Details
in BaseFilter at line 13
__construct()
in BaseFilter at line 22
getFilterOptions()
in BaseFilter at line 31
object
getDI()
Return default dependency injector
at line 20
string
getFilterName()
Return the filter name
in LocalDate at line 32
string
handle(mixed $time, string $format = 'c')
Handle filter response