Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: microsecond math (#15084)

Danny Xu2042f023103a
diff --git a/frontend/src/utils/v1/sql.ts b/frontend/src/utils/v1/sql.ts
index 7314873031..407a58ec9e 100644
--- a/frontend/src/utils/v1/sql.ts
+++ b/frontend/src/utils/v1/sql.ts
@@ -68,7 +68,7 @@ const formatTimestampWithTz = (timestampTzValue: RowValue_TimestampTZ) => {
: `-${timezoneOffsetPrefix}${Math.abs(hourOffset)}`;
const microseconds = Math.floor(
- timestampTzValue.timestamp?.nanos ?? 0 / 1000
+ (timestampTzValue.timestamp?.nanos ?? 0) / 1000
);
const formattedTimestamp =
microseconds > 0