Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix calculation of data sizes (1024 kB per MB, etc) - JENKINS-33714
  • Loading branch information
svanoort committed Apr 22, 2016
1 parent abf6e1d commit 2eb2a5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/src/main/js/util/formatters.js
Expand Up @@ -23,9 +23,9 @@
*/

var KB = 1024;
var MB = KB * 1000;
var GB = MB * 1000;
var TB = GB * 1000;
var MB = KB * 1024;
var GB = MB * 1024;
var TB = GB * 1024;

var sec = 1000;
var min = sec * 60;
Expand Down

0 comments on commit 2eb2a5c

Please sign in to comment.