We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8215c6 commit bfc887eCopy full SHA for bfc887e
apps/webapp/app/components/primitives/DateTime.tsx
@@ -275,7 +275,8 @@ function DateTimeTooltipContent({
275
const offset = -new Date().getTimezoneOffset();
276
const sign = offset >= 0 ? "+" : "-";
277
const hours = Math.abs(Math.floor(offset / 60));
278
- return `(UTC ${sign}${hours})`;
+ const minutes = Math.abs(offset % 60);
279
+ return `(UTC ${sign}${hours}${minutes ? `:${minutes.toString().padStart(2, "0")}` : ""})`;
280
};
281
282
return (
0 commit comments