diff --git a/CTFd/static/admin/js/team.js b/CTFd/static/admin/js/team.js index 032f9bf..86a6216 100644 --- a/CTFd/static/admin/js/team.js +++ b/CTFd/static/admin/js/team.js @@ -41,14 +41,6 @@ function scoregraph () { }); } -function adjust_times () { - $.each($(".solve-time"), function(i, e){ - $(e).text( moment(parseInt(e.innerText)).local().format('LLL') ) - }) - $(".solve-time").css('color', "#222") -} - - function keys_percentage_graph(){ // Solves and Fails pie chart $.get('/admin/fails/'+teamid(), function(data){ @@ -125,4 +117,4 @@ function category_breakdown_graph(){ category_breakdown_graph(); keys_percentage_graph(); adjust_times(); -scoregraph(); \ No newline at end of file +scoregraph(); diff --git a/CTFd/templates/admin/team.html b/CTFd/templates/admin/team.html index 6b38054..e103bb9 100644 --- a/CTFd/templates/admin/team.html +++ b/CTFd/templates/admin/team.html @@ -66,7 +66,7 @@ {% for addr in addrs %} {{ addr.ip|long2ip }} - {{ addr.date|unix_time_millis }} + {% endfor %} @@ -91,7 +91,7 @@ {{ solve.flag }} {{ solve.chal.category }} {{ solve.chal.value }} - {{ solve.date|unix_time_millis }} + {% endfor %} @@ -135,7 +135,7 @@ {{ wrong_key.chal.name }} {{ wrong_key.flag }} - {{ wrong_key.date|unix_time_millis }} + {% endfor %}