\Ceo\View\FiltersDate

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') }}

Summary

Methods
Properties
Constants
getFilterName()
handle()
__construct()
getFilterOptions()
getDI()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getFilterName()

getFilterName() : string

Return the filter name

Returns

string

handle()

handle(mixed  $time, string  $format = 'c') : string

Handle filter response

Parameters

mixed $time
string $format

Returns

string

__construct()

__construct() 

getFilterOptions()

getFilterOptions() 

getDI()

getDI() : object

Return default dependency injector

Returns

object —

Phalcon\Di