Skip to content

Conversation

@erickzhao
Copy link
Member

Uses date-fns to generate human-readable time spans.

Before After
image image

About the same result for newest versions but provides better strings for older versions. Also flips the date and the human-readable time span.

@erickzhao erickzhao requested review from a team as code owners May 3, 2025 03:31
@MarshallOfSound MarshallOfSound temporarily deployed to release-stat-feat-impro-x79a4q May 3, 2025 03:32 Inactive
Copy link
Member

@MarshallOfSound MarshallOfSound left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The old function has very specific semantics around timezones to ensure that SSR hydration always worked.

Requesting changes till someone can verify this doesn't break hydration across timezones

@MarshallOfSound MarshallOfSound temporarily deployed to release-stat-feat-impro-kf5ujj June 10, 2025 23:43 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants