§
Publicado: 29/04/2025
Editado: 29/04/2025

It is now Beijing time on April 30, 2025 05:23:49


https://greasyforks.org/zh-CN/scripts/529453-twitter-x-media-downloader/versions
When checking the script update record, I found that there was an error in the GMT time conversion.
It should not be yesterday It should be 2 days ago 2025.04.30

§
Publicado: 30/04/2025

I've just updated the library that does this (https://github.com/github/relative-time-element). Do you still see the problem?

§
Publicado: 30/04/2025

It looks like once it's more than 36 hours ago, the library will stop showing "yesterday", possibly because it's rounding 1.5 days to 2.

I've created a test page https://greasyforks.org/en/relative_date_test and filed https://github.com/github/relative-time-element/issues/313.

Publicar respuesta

Inicia sesión para responder.

长期地址
遇到问题?请前往 GitHub 提 Issues。