\Ceo\View\FiltersLocalDate

LocalDate provides the 'localDate' twig filter.

Local dates are converted the the site's local timezone, not the user's.

{{ 'now'|localDate('m/d/y g:ia') }}

Summary

Methods
Properties
Constants
__construct()
getFilterOptions()
getDI()
getFilterName()
handle()
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

__construct()

__construct() 

getFilterOptions()

getFilterOptions() 

getDI()

getDI() : object

Return default dependency injector

Returns

object —

Phalcon\Di

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