From 3382e320cc66360afd12bc6e8ae6665a9ad89498 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 11 May 2018 16:55:27 -0400 Subject: formatting of time --- www/js/EventCtrl.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'www/js/EventCtrl.js') diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index c4b90a47..6da6f884 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -3268,7 +3268,8 @@ angular.module('zmApp.controllers') var min = Math.floor(num/60); var sec = Math.floor(num - min * 60); stime=""; - if (min) stime += min+"m,"; + if (min) stime += min+"m "; + if (sec) stime += sec+"s"; return stime; }; -- cgit v1.2.3