mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-21 07:50:37 +01:00
add more info to advanced db page
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user