Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/routes/_libraries/blog.$.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function BlogPost() {

const blogContent = `<small>_by ${formatAuthors(authors)} on ${format(
new Date(published || 0),
'MMM dd, yyyy',
'MMM d, yyyy',
)}._</small>

${content}`
Expand Down
4 changes: 2 additions & 2 deletions src/routes/_libraries/blog.index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ function BlogIndex() {
{published ? (
<time
dateTime={published}
title={format(new Date(published), 'MMM dd, yyyy')}
title={format(new Date(published), 'MMM d, yyyy')}
>
{' '}
on {format(new Date(published), 'MMM dd, yyyy')}
on {format(new Date(published), 'MMM d, yyyy')}
</time>
) : null}
</p>
Expand Down
7 changes: 3 additions & 4 deletions src/routes/_libraries/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Link, MatchRoute, createFileRoute } from '@tanstack/react-router'
import { twMerge } from 'tailwind-merge'
import { Link, createFileRoute } from '@tanstack/react-router'
import { Footer } from '~/components/Footer'
import { LazySponsorSection } from '~/components/LazySponsorSection'
import discordImage from '~/images/discord-logo-white.svg'
Expand Down Expand Up @@ -385,11 +384,11 @@ function Index() {
dateTime={published}
title={format(
new Date(published),
'MMM dd, yyyy',
'MMM d, yyyy',
)}
>
{' '}
on {format(new Date(published), 'MMM dd, yyyy')}
on {format(new Date(published), 'MMM d, yyyy')}
</time>
) : null}
</p>
Expand Down
Loading