str_to_date
Converts a string timestamp into a date value to be passed. This value can be passed to another filter that takes a date value such as date.
Input
Output
Input
Output
str_to_date
handles unix timestamps
Input
Output
str_to_date
can be combined with the date filter to format the date value.
Input
Output
Last updated