mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 05:39:12 +00:00
[minor] fixes to moment.defaultDateFormat and daily work summary eplies
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user