Skip to content

Commit 75f34f0

Browse files
committed
Undo client side time zone because scorp just told me that it runs server side anyways meaning that it would not even work regardless
1 parent 16d490f commit 75f34f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/overrides/LastUpdated.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const acc: GitHubAccount = await getGitHubAccountFromFile(filePath);
1414
<time datetime={lastUpdated.toISOString()}>
1515
{lastUpdated.toLocaleDateString(lang, {
1616
dateStyle: "medium",
17-
timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone,
17+
timeZone: "UTC",
1818
})}
1919
</time>
2020
{" by "}

0 commit comments

Comments
 (0)