From 0e077dbfa82ec8b508bebd1eb7d2d4431f93a257 Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Fri, 5 Apr 2019 13:03:13 +0530 Subject: [PATCH] fix: Set with_timestamp=false by default --- frappe/public/js/frappe/misc/energy_point_utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/public/js/frappe/misc/energy_point_utils.js b/frappe/public/js/frappe/misc/energy_point_utils.js index 46afc9b412..4bf2b3b8f6 100644 --- a/frappe/public/js/frappe/misc/energy_point_utils.js +++ b/frappe/public/js/frappe/misc/energy_point_utils.js @@ -20,7 +20,7 @@ Object.assign(frappe.energy_points, { } return __('via automatic rule {0} for {1}', [log.rule.bold(), doc_link]); }, - format_log(log, with_timestamp=true) { + format_log(log, with_timestamp=false) { let formatted_log = ` ${this.get_points(log.points)} ${this.log_message(log)} ${ with_timestamp ? ' - ' + frappe.datetime.comment_when(log.creation):''}