diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-05-11 16:55:27 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-05-11 16:55:27 -0400 |
| commit | 3382e320cc66360afd12bc6e8ae6665a9ad89498 (patch) | |
| tree | 561db12a5f8c87249bb7740aaaa13645bbfd8b79 /www/js/EventCtrl.js | |
| parent | 02ad62d14f9f0b17c0dec6756fe499874d29e611 (diff) | |
formatting of time
Diffstat (limited to 'www/js/EventCtrl.js')
| -rw-r--r-- | www/js/EventCtrl.js | 3 |
1 files changed, 2 insertions, 1 deletions
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; }; |
