website icon indicating copy to clipboard operation
website copied to clipboard

Improve humanization of dates on the website

Open augustoproiete opened this issue 4 years ago • 3 comments

The humanization of dates is resolved during build time therefore it gets stale immediately after the deployment.

image

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?)

augustoproiete avatar Jan 13 '21 16:01 augustoproiete

Client-side is probably best - that way we can even customize it for the browser culture if we want to

daveaglick avatar Jan 14 '21 14:01 daveaglick

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.

devlead avatar Jan 14 '21 14:01 devlead

I'd like to help out with this issue

fierc3 avatar Sep 28 '22 13:09 fierc3