website
website copied to clipboard
Improve humanization of dates on the website
The humanization of dates is resolved during build time therefore it gets stale immediately after the deployment.
Some possible alternatives to consider:
- Do the humanization of dates on the client-side instead
- Set up a more frequent deployment (e.g. nightly)
- doesn't completely resolve the issue, but improves it
- (something else?)
Client-side is probably best - that way we can even customize it for the browser culture if we want to
Client-side is probably best - that way we can even customize it for the browser culture if we want to
Agreed and if we have something like a Unix timestamp as the data it's easy to get right in js and will respect the viewer's timezone.
I'd like to help out with this issue