From ac9d28767c91b0d934c827e963b0fe17552bf98a Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Mon, 20 Jul 2026 16:26:12 -0700 Subject: [PATCH 1/2] fix(library): show full unambiguous dates on featured and related cards --- .../components/content-index-page/content-index-page.tsx | 3 ++- .../components/content-post-page/content-post-page.tsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/sim/app/(landing)/components/content-index-page/content-index-page.tsx b/apps/sim/app/(landing)/components/content-index-page/content-index-page.tsx index 52f29a453c3..431d08631e4 100644 --- a/apps/sim/app/(landing)/components/content-index-page/content-index-page.tsx +++ b/apps/sim/app/(landing)/components/content-index-page/content-index-page.tsx @@ -84,7 +84,8 @@ export function ContentIndexPage({ {new Date(p.date).toLocaleDateString('en-US', { month: 'short', - year: '2-digit', + day: 'numeric', + year: 'numeric', })}

diff --git a/apps/sim/app/(landing)/components/content-post-page/content-post-page.tsx b/apps/sim/app/(landing)/components/content-post-page/content-post-page.tsx index fccff3158de..5c4925f16ad 100644 --- a/apps/sim/app/(landing)/components/content-post-page/content-post-page.tsx +++ b/apps/sim/app/(landing)/components/content-post-page/content-post-page.tsx @@ -152,7 +152,8 @@ export function ContentPostPage({ {new Date(p.date).toLocaleDateString('en-US', { month: 'short', - year: '2-digit', + day: 'numeric', + year: 'numeric', })}

From 84c41a03eead0ad00d8a3e928fbd944d5f27ac04 Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Mon, 20 Jul 2026 16:32:04 -0700 Subject: [PATCH 2/2] fix(library): format content dates in UTC to avoid off-by-one day --- .../components/content-author-page/content-author-page.tsx | 2 ++ .../components/content-index-page/content-index-page.tsx | 3 +++ .../components/content-post-page/content-post-page.tsx | 2 ++ 3 files changed, 7 insertions(+) diff --git a/apps/sim/app/(landing)/components/content-author-page/content-author-page.tsx b/apps/sim/app/(landing)/components/content-author-page/content-author-page.tsx index db9b21b2a99..a6b646653d5 100644 --- a/apps/sim/app/(landing)/components/content-author-page/content-author-page.tsx +++ b/apps/sim/app/(landing)/components/content-author-page/content-author-page.tsx @@ -73,6 +73,7 @@ export function ContentAuthorPage({ month: 'short', day: 'numeric', year: 'numeric', + timeZone: 'UTC', })} @@ -82,6 +83,7 @@ export function ContentAuthorPage({ month: 'short', day: 'numeric', year: 'numeric', + timeZone: 'UTC', })}

diff --git a/apps/sim/app/(landing)/components/content-index-page/content-index-page.tsx b/apps/sim/app/(landing)/components/content-index-page/content-index-page.tsx index 431d08631e4..fee875358bb 100644 --- a/apps/sim/app/(landing)/components/content-index-page/content-index-page.tsx +++ b/apps/sim/app/(landing)/components/content-index-page/content-index-page.tsx @@ -86,6 +86,7 @@ export function ContentIndexPage({ month: 'short', day: 'numeric', year: 'numeric', + timeZone: 'UTC', })}

@@ -114,6 +115,7 @@ export function ContentIndexPage({ month: 'short', day: 'numeric', year: 'numeric', + timeZone: 'UTC', })} @@ -123,6 +125,7 @@ export function ContentIndexPage({ month: 'short', day: 'numeric', year: 'numeric', + timeZone: 'UTC', })}

diff --git a/apps/sim/app/(landing)/components/content-post-page/content-post-page.tsx b/apps/sim/app/(landing)/components/content-post-page/content-post-page.tsx index 5c4925f16ad..e6777a573c1 100644 --- a/apps/sim/app/(landing)/components/content-post-page/content-post-page.tsx +++ b/apps/sim/app/(landing)/components/content-post-page/content-post-page.tsx @@ -83,6 +83,7 @@ export function ContentPostPage({ month: 'short', day: 'numeric', year: 'numeric', + timeZone: 'UTC', })} @@ -154,6 +155,7 @@ export function ContentPostPage({ month: 'short', day: 'numeric', year: 'numeric', + timeZone: 'UTC', })}