From 056276c60e467be1ff35df6621e87360fb8c5c9f Mon Sep 17 00:00:00 2001 From: Saurabh Date: Wed, 11 Jan 2017 15:50:09 +0530 Subject: [PATCH] [minor][fix] show date in user format --- .../doctype/cheque_print_template/cheque_print_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/cheque_print_template/cheque_print_template.py b/erpnext/accounts/doctype/cheque_print_template/cheque_print_template.py index 752ecdaeb7..5b7d73f2bd 100644 --- a/erpnext/accounts/doctype/cheque_print_template/cheque_print_template.py +++ b/erpnext/accounts/doctype/cheque_print_template/cheque_print_template.py @@ -35,7 +35,7 @@ def create_or_update_cheque_print_format(template_name): - {{doc.reference_date or '' }} + {{ frappe.utils.formatdate(doc.reference_date) or '' }}