diff --git a/ghost/admin/app/components/gh-members-chart.hbs b/ghost/admin/app/components/gh-members-chart.hbs
index a0fe7fcbea..a18a290a9d 100644
--- a/ghost/admin/app/components/gh-members-chart.hbs
+++ b/ghost/admin/app/components/gh-members-chart.hbs
@@ -46,7 +46,7 @@
Total Members
-
{{if this.fetchStatsTask.isRunning "-" this.stats.total}}
+
{{if this.fetchStatsTask.isRunning "-" (format-number this.stats.total)}}
{{#if (eq this.range "all-time")}}
@@ -54,11 +54,11 @@
{{else}}
Signed up in the last {{this.range}} days
{{/if}}
-
{{if this.fetchStatsTask.isRunning "-" this.stats.total_in_range}}
+
{{if this.fetchStatsTask.isRunning "-" (format-number this.stats.total_in_range)}}
Signed up today
-
{{if this.fetchStatsTask.isRunning "-" this.stats.new_today}}
+
{{if this.fetchStatsTask.isRunning "-" (format-number this.stats.new_today)}}
\ No newline at end of file
diff --git a/ghost/admin/app/controllers/members.js b/ghost/admin/app/controllers/members.js
index 2498fc10d9..5a810cb96b 100644
--- a/ghost/admin/app/controllers/members.js
+++ b/ghost/admin/app/controllers/members.js
@@ -3,6 +3,7 @@ import ghostPaths from 'ghost-admin/utils/ghost-paths';
import {A} from '@ember/array';
import {action} from '@ember/object';
import {alias} from '@ember/object/computed';
+import {formatNumber} from 'ghost-admin/helpers/format-number';
import {pluralize} from 'ember-inflector';
import {inject as service} from '@ember/service';
import {task} from 'ember-concurrency-decorators';
@@ -41,7 +42,7 @@ export default class MembersController extends Controller {
return 'Search result';
}
- let count = `${members.length.toLocaleString()} ${pluralize(members.length, 'member', {withoutCount: true})}`;
+ let count = `${formatNumber(members.length)} ${pluralize(members.length, 'member', {withoutCount: true})}`;
if (selectedLabel && selectedLabel.slug) {
if (members.length > 1) {
diff --git a/ghost/admin/app/helpers/format-number.js b/ghost/admin/app/helpers/format-number.js
new file mode 100644
index 0000000000..41f96719ec
--- /dev/null
+++ b/ghost/admin/app/helpers/format-number.js
@@ -0,0 +1,9 @@
+import {helper} from '@ember/component/helper';
+
+export function formatNumber(number) {
+ return Number(number).toLocaleString();
+}
+
+export default helper(function ([number]/*, hash*/) {
+ return formatNumber(number);
+});