DateFormat in .edge template

Hi,
How to convert date from API to (DD/MM/YYYY) inside .edge template?

@dvi.moreira You have to extend global see this in the docs.

https://adonisjs.com/docs/4.0/views#_globals_2

2 Likes