Discussies » Greasy Fork-feedback
GMT time conversion error
I've just updated the library that does this (https://github.com/github/relative-time-element). Do you still see the problem?
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.
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 be2 days ago