AMBARI-7936. Slider View: date is showing up as number (Buzhor Denys via 
alexantonenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/6065783b
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6065783b
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6065783b

Branch: refs/heads/trunk
Commit: 6065783b10e8ca45e81c6ac71d2e804af02b4ea0
Parents: 5ce9b52
Author: Alex Antonenko <[email protected]>
Authored: Thu Oct 23 21:59:13 2014 +0300
Committer: Alex Antonenko <[email protected]>
Committed: Thu Oct 23 22:55:15 2014 +0300

----------------------------------------------------------------------
 .../src/main/resources/ui/app/templates/slider_app/summary.hbs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/6065783b/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/summary.hbs
----------------------------------------------------------------------
diff --git 
a/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/summary.hbs
 
b/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/summary.hbs
index aabf3c8..506fdf1 100644
--- 
a/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/summary.hbs
+++ 
b/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/summary.hbs
@@ -36,11 +36,11 @@
         </tr>
         <tr>
           <td>{{t common.started}}</td>
-          <td>{{formatWordBreak controller.model.started}}</td>
+          <td>{{formatWordBreak controller.model.startedToLocalTime}}</td>
         </tr>
         <tr>
           <td>{{t common.finished}}</td>
-          <td>{{formatWordBreak controller.model.ended}}</td>
+          <td>{{formatWordBreak controller.model.endedToLocalTime}}</td>
         </tr>
         <tr>
           <td>{{t common.diagnostics}}</td>
@@ -139,4 +139,4 @@
       </div>
     </div>
   </div>
-{{/if}}
\ No newline at end of file
+{{/if}}

Reply via email to