Skip to content

Commit

Permalink
Preserve whitespace in <LastUpdated />
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis committed Sep 1, 2023
1 parent f1019c3 commit 965a8fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/starlight/components/LastUpdated.astro
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ try {
{
date && (
<p>
{t('page.lastUpdated')}
{t('page.lastUpdated')}{' '}
<time datetime={date.toISOString()}>
{date.toLocaleDateString(lang, { dateStyle: 'medium' })}
</time>
Expand Down

0 comments on commit 965a8fd

Please sign in to comment.