Converting File Statistics to locale strings.

This commit is contained in:
Roland 2022-12-15 13:50:58 -07:00
parent f8c0e77f87
commit b47df503ab
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
3 changed files with 15 additions and 9 deletions

View file

@ -792,3 +792,7 @@ export const filterToMimetypes = (filter) => {
return ['application/zip'];
}
}
export const toLocaleString = (num, locale = 'en-US') => {
return num.toLocaleString(locale);
}