diff options
| author | pliablepixels <pliablepixels@gmail.com> | 2016-03-31 16:24:58 -0400 |
|---|---|---|
| committer | pliablepixels <pliablepixels@gmail.com> | 2016-03-31 16:24:58 -0400 |
| commit | c7373686044592f576bc638230ae0f2fcb0de062 (patch) | |
| tree | fe70d166eded698e07c37703fc01a1b7511282c0 /www/js/DataModel.js | |
| parent | fd323c81b66cf2099c991cf95bde9d9f4a9c8eb6 (diff) | |
#209 replaced vis with the new ChartJS 2.0 (beta) - allows for much better performance and drag/hover which is easier
Former-commit-id: 2dbca6b7378a6f8f21ff386969150bba7ace504e
Diffstat (limited to 'www/js/DataModel.js')
| -rw-r--r-- | www/js/DataModel.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js index 695f9bba..5e41cda5 100644 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -559,6 +559,11 @@ angular.module('zmApp.controllers') { return (loginData.use24hr ? "HH:mm": "hh:mm a"); }, + + getTimeFormatSec: function() + { + return (loginData.use24hr ? "HH:mm:ss": "hh:mm:ss a"); + }, //------------------------------------------------------------------ // switches screen to 'always on' or 'auto' |
