From 3bd34dc2eb36a9059aabd550bd0720911d834a56 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Wed, 3 Sep 2025 21:38:25 -0500 Subject: [PATCH] Comment --- src/components/PostControls/util.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/PostControls/util.ts b/src/components/PostControls/util.ts index 2997817cac..5d3ea74e49 100644 --- a/src/components/PostControls/util.ts +++ b/src/components/PostControls/util.ts @@ -1,5 +1,10 @@ import {type I18n} from '@lingui/core' +/** + * This matches `formatCount` from `view/com/util/numeric/format.ts`, but has + * additional truncation logic for large numbers. `roundingMode` should always + * match the original impl, regardless of if we add more formatting here. + */ export function formatPostStatCount( i18n: I18n, count: number,