vendor.js 706 B

1
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageA/common/vendor"],{"2bad":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readablizeBytes=function(e){var t=Math.floor(Math.log(e)/Math.log(1024));return(e/Math.pow(1024,Math.floor(t))).toFixed(2)+" "+["Bytes","KB","MB","GB","TB","PB"][t]},t.renderTime=function(e){var t=new Date(parseInt(e)),o=(t.getFullYear(),t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1),n=t.getDate()<10?"0"+t.getDate():t.getDate(),a=t.getHours()<10?"0"+t.getHours():t.getHours(),g=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes();t.getSeconds(),t.getSeconds();return"".concat(o,"-").concat(n," ").concat(a,":").concat(g)}}}]);