diff --git a/src/time.ts b/src/time.ts index c6e95f7..d4ea5de 100644 --- a/src/time.ts +++ b/src/time.ts @@ -148,7 +148,7 @@ export const relativeTimestamp = ( * @returns string - The date formatted as a short string. */ export const getShortTimestampFormat = (timestamp: Timestamp): string => { - return format(bigIntToNumber(timestamp.time), shortDateFormat); + return format(fromTimestampToDate(timestamp), shortDateFormat); }; /**