Add plural formatting for months in narrow form (#7744)

This commit is contained in:
surfdude29
2025-02-24 21:10:40 +00:00
committed by GitHub
parent 1fd3af3c46
commit bf4d3e89c2
+1 -1
View File
@@ -180,7 +180,7 @@ export function formatDateDiff({
? i18n._(plural(diff.value, {one: '# month', other: '# months'}))
: i18n._(
defineMessage({
message: `${diff.value}mo`,
message: plural(diff.value, {one: '#mo', other: '#mo'}),
comment: `How many months have passed, displayed in a narrow form`,
}),
)