Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Better timestamps #249

Open
pjhul opened this issue Nov 10, 2022 · 1 comment
Open

Better timestamps #249

pjhul opened this issue Nov 10, 2022 · 1 comment
Labels
enhancement New feature or request squeak-react

Comments

@pjhul
Copy link
Contributor

pjhul commented Nov 10, 2022

Original issue: https://github.com/PostHog/squeak-react/issues/50

Before we get to a 525,600 minutes sort of situation, it might make sense to cap these "X days ago" at a month, then start to use X months ago or something that scales a little better.

image

@pjhul pjhul added enhancement New feature or request squeak-react labels Nov 10, 2022
@pjhul
Copy link
Contributor Author

pjhul commented Nov 10, 2022

Recommendation via @ajsharp:

https://day.js.org/docs/en/plugin/relative-time

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request squeak-react
Projects
None yet
Development

No branches or pull requests

1 participant