Github user wangyum commented on a diff in the pull request: https://github.com/apache/spark/pull/19640#discussion_r150863877 --- Diff: core/src/main/resources/org/apache/spark/ui/static/utils.js --- @@ -46,3 +46,25 @@ function formatBytes(bytes, type) { var i = Math.floor(Math.log(bytes) / Math.log(k)); return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + ' ' + sizes[i]; } + +function padZeroes(num) { + return ("0" + num).slice(-2); --- End diff -- `padStart` with poor compatibility: Feature | Chrome | Edge | Firefox | Internet Explorer | Opera | Safari -- | -- | -- | -- | -- | -- | -- Basic support | 57 | 15 | 48 | No | 44 | 10 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/padStart https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/slice
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org