diff --git a/apps/mobile/src/features/archive/ArchivedThreadsScreen.tsx b/apps/mobile/src/features/archive/ArchivedThreadsScreen.tsx index 3e1934100c..1ebfddf7ee 100644 --- a/apps/mobile/src/features/archive/ArchivedThreadsScreen.tsx +++ b/apps/mobile/src/features/archive/ArchivedThreadsScreen.tsx @@ -272,7 +272,7 @@ function ArchivedThreadRow(props: { {timestamp} diff --git a/apps/mobile/src/features/home/HomeScreen.tsx b/apps/mobile/src/features/home/HomeScreen.tsx index 8a68371473..8634f745ec 100644 --- a/apps/mobile/src/features/home/HomeScreen.tsx +++ b/apps/mobile/src/features/home/HomeScreen.tsx @@ -370,7 +370,7 @@ function ThreadRow(props: { {timestamp} diff --git a/apps/mobile/src/lib/time.ts b/apps/mobile/src/lib/time.ts index 9cbdada68f..1fbbc6b3e7 100644 --- a/apps/mobile/src/lib/time.ts +++ b/apps/mobile/src/lib/time.ts @@ -1,12 +1,13 @@ export function relativeTime(input: string): string { const timestamp = Date.parse(input); if (Number.isNaN(timestamp)) { - return "now"; + return "<1m"; } + // Anything under a minute renders as "<1m" rather than a live seconds count. + // The seconds ticker changed width every second and reflowed the surrounding row. const deltaSeconds = Math.max(0, Math.floor((Date.now() - timestamp) / 1000)); - if (deltaSeconds < 10) return "now"; - if (deltaSeconds < 60) return `${deltaSeconds}s`; + if (deltaSeconds < 60) return "<1m"; const deltaMinutes = Math.floor(deltaSeconds / 60); if (deltaMinutes < 60) return `${deltaMinutes}m`;