Comment
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
import {type I18n} from '@lingui/core'
|
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(
|
export function formatPostStatCount(
|
||||||
i18n: I18n,
|
i18n: I18n,
|
||||||
count: number,
|
count: number,
|
||||||
|
|||||||
Reference in New Issue
Block a user