Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Starts" before dates for future streams to differentiate from past streams #786

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

FlaminSarge
Copy link

@FlaminSarge FlaminSarge commented Sep 22, 2024

This change only affects streams starting in more than 23 hours (which display dates instead of relative time), bringing some consistency in how future streams are displayed vs past streams by including the (localized) "Starts" prefix for all future streams instead of only near-future ones.

I believe this also works correctly in other languages without looking too strange, but would like verification from experts on that.

Also slightly cleans up formatDistance.

Screenshots (first video in each has the updated behavior):
Screenshot 2024-09-22 at 4 16 56 AM

Screenshot 2024-09-22 at 4 17 33 AM

…st streams

This change only affects streams starting in more than 23 hours (which display dates instead of relative time).
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.

1 participant