Override date format in template
-
Hi,
Is there a way to override the default date format we get from data.formatted.postedDate in a custom template?
Ideally, I would like to make some custom function to show “X hours ago” for recent posts and the default format, but with translated months, for older posts. If it’s not possible to use a custom function, I could be satisfied with a date format like d/m/Y.
Thanks and best regards
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Override date format in template’ is closed to new replies.