add more info to advanced db page

This commit is contained in:
Barış Soner Uşaklı
2018-11-28 19:24:54 -05:00
parent 4b486a808e
commit ed1bf9a16f
5 changed files with 33 additions and 1 deletions

View File

@@ -501,7 +501,7 @@
// takes a string like 1000 and returns 1,000
addCommas: function (text) {
return text.replace(/(\d)(?=(\d\d\d)+(?!\d))/g, '$1,');
return String(text).replace(/(\d)(?=(\d\d\d)+(?!\d))/g, '$1,');
},
toISOString: function (timestamp) {