From bcc2301c06796edec3923c666078e82eaf5a1990 Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Wed, 6 Dec 2023 13:32:46 -0500 Subject: [PATCH] Fix timezone-reliance in LastUpdated (#1170) Co-authored-by: Elian Co-authored-by: Chris Swithinbank --- .changeset/new-starfishes-accept.md | 5 +++++ packages/starlight/components/LastUpdated.astro | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/new-starfishes-accept.md diff --git a/.changeset/new-starfishes-accept.md b/.changeset/new-starfishes-accept.md new file mode 100644 index 00000000000..6b16f58b97c --- /dev/null +++ b/.changeset/new-starfishes-accept.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': patch +--- + +Fix timezone-reliance in LastUpdated diff --git a/packages/starlight/components/LastUpdated.astro b/packages/starlight/components/LastUpdated.astro index a4e70d51602..6e5fb8414cd 100644 --- a/packages/starlight/components/LastUpdated.astro +++ b/packages/starlight/components/LastUpdated.astro @@ -9,7 +9,7 @@ const { labels, lang, lastUpdated } = Astro.props;

{labels['page.lastUpdated']}{' '}

)