You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by zh...@apache.org on 2016/12/19 05:57:35 UTC

kylin git commit: KYLIN-2298,timer component get wrong seconds

Repository: kylin
Updated Branches:
  refs/heads/master 5fd3c5640 -> 699a88eba


KYLIN-2298,timer component get wrong seconds

Signed-off-by: zhongjian <ji...@163.com>


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/699a88eb
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/699a88eb
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/699a88eb

Branch: refs/heads/master
Commit: 699a88eba6833449defa166cc3397a96ff765961
Parents: 5fd3c56
Author: luguosheng <55...@qq.com>
Authored: Mon Dec 19 13:55:30 2016 +0800
Committer: zhongjian <ji...@163.com>
Committed: Mon Dec 19 13:57:22 2016 +0800

----------------------------------------------------------------------
 webapp/app/js/directives/directives.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/699a88eb/webapp/app/js/directives/directives.js
----------------------------------------------------------------------
diff --git a/webapp/app/js/directives/directives.js b/webapp/app/js/directives/directives.js
index bf1690c..3d18451 100644
--- a/webapp/app/js/directives/directives.js
+++ b/webapp/app/js/directives/directives.js
@@ -271,7 +271,7 @@ KylinApp.directive('kylinPagination', function ($parse, $q) {
 
         var hour = newDate.getHours()<10?'0'+newDate.getHours():newDate.getHours();
         var mins = newDate.getMinutes()<10?'0'+newDate.getMinutes():newDate.getMinutes();
-        var seconds = newDate.getSeconds()<10?'0'+newDate.getSeconds():getSeconds();
+        var seconds = newDate.getSeconds()<10?'0'+newDate.getSeconds():newDate.getSeconds();
 
         var viewVal = year+"-"+month+"-"+date+" "+hour+":"+mins+":"+seconds;
         return viewVal;