[minor] fixes to moment.defaultDateFormat and daily work summary eplies

This commit is contained in:
Rushabh Mehta
2018-06-25 22:37:43 +05:30
parent 5c13cb3221
commit 096b943b0c
4 changed files with 16 additions and 8 deletions

View File

@@ -81,7 +81,7 @@ erpnext.LeadController = frappe.ui.form.Controller.extend({
if (this.frm.doc.contact_date) {
let d = moment(this.frm.doc.contact_date);
d.add(1, "hours");
this.frm.set_value("ends_on", d.format(moment.defaultDatetimeFormat));
this.frm.set_value("ends_on", d.format(frappe.defaultDatetimeFormat));
}
}
});