diff --git a/ts/util/timestamp.ts b/ts/util/timestamp.ts index 90134fab1..0a0936e9e 100644 --- a/ts/util/timestamp.ts +++ b/ts/util/timestamp.ts @@ -170,7 +170,7 @@ export function formatTime( }); } - return new Date(timestamp).toLocaleTimeString([], { + return formatTimestamp(timestamp, { hour: 'numeric', minute: '2-digit', });