From ac1007c0dc091daecce785f71229e9be923ccba9 Mon Sep 17 00:00:00 2001 From: Sergey Krylov Date: Sun, 12 Apr 2026 08:40:15 +0300 Subject: [PATCH] fix: fix types --- src/lib/utils/timestamp-to-iso.util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/utils/timestamp-to-iso.util.ts b/src/lib/utils/timestamp-to-iso.util.ts index 54146f2..c6f5701 100644 --- a/src/lib/utils/timestamp-to-iso.util.ts +++ b/src/lib/utils/timestamp-to-iso.util.ts @@ -1,5 +1,5 @@ import { Timestamp } from '@teacinema/contracts/gen/ts/google/protobuf/timestamp' export function timestampToISO(ts: Timestamp) { - new Date(ts.seconds * 1000 + ts.nanos / 1_000_000).toISOString() + return new Date(ts.seconds * 1000 + ts.nanos / 1_000_000).toISOString() }