Discuții » Parere despre Geasy Fork

GMT time conversion error

§
Postat în: 29-04-2025
Editat în: 29-04-2025

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


https://greasyfork.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

§
Postat în: 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?

§
Postat în: 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://greasyfork.org/en/relative_date_test and filed https://github.com/github/relative-time-element/issues/313.

Postează un raspuns

Autentifică-te pentru a posta un răspuns.