PostHog / squeak

A Q&A widget for your docs
https://squeak.posthog.com/
MIT License
177 stars 15 forks source link

Better timestamps #249

Open pjhul opened 1 year ago

pjhul commented 1 year ago

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 commented 1 year ago

Recommendation via @ajsharp:

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