From 1f1a6371b4a1f09a5c552680b570924723254ad5 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Wed, 7 Jan 2026 23:45:46 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8(frontend)=20remove=20the=20default?= =?UTF-8?q?=20comma=20delimiter=20in=20humanized=20durations?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The comma caused values like 1h30 to be rendered as “1 heure, 30 minutes,” which feels awkward in most European languages. --- CHANGELOG.md | 1 + .../features/recording/hooks/useHumanizeRecordingMaxDuration.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 936310f8..f76de79e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to - 📈(frontend) track new recording's modes - ♿️(frontend) improve SR and focus for transcript and recording #810 +- 🚸(frontend) remove the default comma delimiter in humanized durations ### Fixed diff --git a/src/frontend/src/features/recording/hooks/useHumanizeRecordingMaxDuration.ts b/src/frontend/src/features/recording/hooks/useHumanizeRecordingMaxDuration.ts index 4e1905cb..b8793e32 100644 --- a/src/frontend/src/features/recording/hooks/useHumanizeRecordingMaxDuration.ts +++ b/src/frontend/src/features/recording/hooks/useHumanizeRecordingMaxDuration.ts @@ -11,6 +11,7 @@ export const useHumanizeRecordingMaxDuration = () => { return humanizeDuration(data?.recording?.max_duration, { language: i18n.language, + delimiter: ' ', }) }, [data]) }