From 613314465ba8f50ba0882f9def845d589e469545 Mon Sep 17 00:00:00 2001 From: Arslan Date: Wed, 6 Nov 2024 21:00:07 +0500 Subject: [PATCH] removing this code after confirmation --- lms/static/js/instructor_dashboard/util.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lms/static/js/instructor_dashboard/util.js b/lms/static/js/instructor_dashboard/util.js index 1c8d4e00c1e5..39544a0bce1a 100644 --- a/lms/static/js/instructor_dashboard/util.js +++ b/lms/static/js/instructor_dashboard/util.js @@ -99,14 +99,7 @@ */ name: gettext('Submitted'), - minWidth: 120, - formatter: function(row, cell, value) { - if (!value) { - return value - } - var fromNow = moment(value).fromNow() - return value.concat("
(", fromNow, ")") - } + minWidth: 120 }, { id: 'duration_sec', field: 'duration_sec',