Skip to content

Commit 6ce7b94

Browse files
committed
Dates from Query are UTC
1 parent 2ceaf28 commit 6ce7b94

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/webapp/app/components/code/TSQLResultsTable.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ function getFormattedValue(value: unknown, column: OutputColumnMetadata): string
133133
hour: "2-digit",
134134
minute: "2-digit",
135135
second: "2-digit",
136+
timeZone: "UTC",
136137
});
137138
} catch {
138139
return String(value);
@@ -667,7 +668,7 @@ function CellValue({
667668

668669
if (isDateTimeType(type)) {
669670
if (typeof value === "string") {
670-
return <DateTimeAccurate date={value} showTooltip={hovered} />;
671+
return <DateTimeAccurate date={value} showTooltip={hovered} timeZone="UTC" />;
671672
}
672673
return <span>{String(value)}</span>;
673674
}

0 commit comments

Comments
 (0)