1👍
✅
Adding to what @ChidG said in his comment, you need to either:
-
Do the modification in your view prior to rendering.
-
Add a custom
templatetag
that takes this string and does it for you.
Ie,{{ order.created_at|shopify_date|date:'Y-m-d H:i' }}
If you really insist on not doing the first, then the second is your only other hope.
👤Rebs
Source:stackexchange.com