This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
Date Twig filters¶
Date and time Twig filters format a date and time object (DateTimeInterface) in one of the formats defined in user preferences.
ibexa_full_datetimeibexa_full_dateibexa_full_timeibexa_short_datetimeibexa_short_dateibexa_short_time
If the DateTimeInterface argument is null, the filter returns the current date and time in the selected format.
1 | |
The filters also accept an optional timezone parameter for displaying date and time in a chosen time zone:
1 | |