summaryrefslogtreecommitdiff
path: root/www/js/DevOptionsCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-10-21 09:31:05 -0400
committerPliable Pixels <pliablepixels@gmail.com>2016-10-21 09:31:05 -0400
commit846977faa53afb9390f7491880fde484afc3fe6b (patch)
tree4c3de1d9435d5d0613b8c9b42ed501a968aa90cc /www/js/DevOptionsCtrl.js
parent8490d20a5f8cc7e6209bdd5736edadd959530ef2 (diff)
#353 - display server time zone
Former-commit-id: 444e179d5c12d1bbdafbb0f6cd5da70bd1254a76
Diffstat (limited to 'www/js/DevOptionsCtrl.js')
-rw-r--r--www/js/DevOptionsCtrl.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/js/DevOptionsCtrl.js b/www/js/DevOptionsCtrl.js
index 2fc9115b..984b59cc 100644
--- a/www/js/DevOptionsCtrl.js
+++ b/www/js/DevOptionsCtrl.js
@@ -60,6 +60,11 @@ angular.module('zmApp.controllers').controller('zmApp.DevOptionsCtrl', ['$scope'
{
return NVRDataModel.isTzSupported();
};
+
+ $scope.getTimeZoneNow = function()
+ {
+ return NVRDataModel.getTimeZoneNow();
+ };
//------------------------------------------------------------------
// Perform the login action when the user submits the login form