diff --git a/hrms/templates/generators/job_opening.html b/hrms/templates/generators/job_opening.html index 740ab40014..eacfdb663a 100644 --- a/hrms/templates/generators/job_opening.html +++ b/hrms/templates/generators/job_opening.html @@ -187,7 +187,7 @@ {{ _("Closes On") if status == "Open" else _("Closed On") }}
- {{ frappe.format_date(closes_on if status == "Open" else closed_on, "d MMM, YYYY") }} + {{ frappe.utils.format_date(closes_on if status == "Open" else closed_on, "d MMM, YYYY") }}
diff --git a/hrms/www/jobs/index.html b/hrms/www/jobs/index.html index b7be8d1f00..5e85dfbc46 100644 --- a/hrms/www/jobs/index.html +++ b/hrms/www/jobs/index.html @@ -241,7 +241,7 @@

{{ _("Job Openings") }}

{%- if jo.closes_on -%} {{ _("Closes on:") + " " }} - {{ frappe.format_date(jo.closes_on, "d MMM, YYYY") }} + {{ frappe.utils.format_date(jo.closes_on, "d MMM, YYYY") }} {% endif %}