« All helpers
Helps convert dates to show in the current timezone. Loads and initializes the jQuery localize plugin.
Usage:
$this->run ('admin/util/dates');
Or anywhere in your view:
{! admin/util/dates !}
{{ date_value|I18n::date }} {{ date_value|I18n::time }} {{ date_value|I18n::date_time }}
These will display dates in the following forms:
January 3, 2012 5:30PM April 16, 2012 - 11:13AM
See the I18n class for a list of available filter methods.
Helps convert dates to show in the current timezone. Loads and initializes the jQuery localize plugin.
Usage:
1. Load this handler either in your handler:
Or anywhere in your view:
2. Filter your dates via:
These will display dates in the following forms:
See the I18n class for a list of available filter methods.