Date format in email is different from erpnext

Hi everyone,
I use dd-mm-yy as a date format in a custom doctype, however when I receive the email through reminder the format changes in yyyy-mm-dd how can I resolve this.
Thank you


If custom email template then maybe you can set it.

i will create the custom email template but where shall i enter this code- {{ frappe.utils.get_datetime(doc.date_field_name).strftime(“%d-%m-%Y”) }}

i’m new to this.

In email template