Sfoglia il codice sorgente

Fix for utc in timepicker, Closes #713

Torkel Ödegaard 11 anni fa
parent
commit
299053f2d5
2 ha cambiato i file con 361 aggiunte e 226 eliminazioni
  1. 2 2
      src/app/panels/timepicker/module.js
  2. 359 224
      src/vendor/moment.js

+ 2 - 2
src/app/panels/timepicker/module.js

@@ -193,8 +193,8 @@ function (angular, app, _, moment, kbn) {
             moment(model.to.date).fromNow();
         }
         else {
-          model.rangeString = $scope.dashboard.formatDate(model.from.date, 'MMM D, YYYY hh:mm:ss') + ' to ' +
-            $scope.dashboard.formatDate(model.to.date, 'MMM D, YYYY hh:mm:ss');
+          model.rangeString = $scope.dashboard.formatDate(model.from.date, 'MMM D, YYYY HH:mm:ss') + ' to ' +
+            $scope.dashboard.formatDate(model.to.date, 'MMM D, YYYY HH:mm:ss');
         }
       }
 

File diff suppressed because it is too large
+ 359 - 224
src/vendor/moment.js


Some files were not shown because too many files changed in this diff