Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect relative times close to Jan 2024 #32716

Closed
silverwind opened this issue Dec 4, 2024 · 3 comments · Fixed by #32730
Closed

Incorrect relative times close to Jan 2024 #32716

silverwind opened this issue Dec 4, 2024 · 3 comments · Fixed by #32730
Labels
type/bug type/upstream This is an issue in one of Gitea's dependencies and should be reported there

Comments

@silverwind
Copy link
Member

Description

Example: https://gitea.com/gitea/docs/commits/branch/main?page=6

Renders like this currently for me:

image

I suspect it might be github/relative-time-element#250, but we should investigate whether this is really the case.

Gitea Version

main

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Database

None

@wxiaoguang
Copy link
Contributor

wxiaoguang commented Dec 4, 2024

Maybe it seems to be related to to the leap year? There is Feb 29 in 2024.

github/relative-time-element#250 (comment)

@wxiaoguang

This comment was marked as outdated.

@wxiaoguang
Copy link
Contributor

wxiaoguang commented Dec 4, 2024

Hmm, I know how to fix it now

@yp05327 yp05327 added the type/upstream This is an issue in one of Gitea's dependencies and should be reported there label Dec 5, 2024
@lunny lunny closed this as completed in ff14ada Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug type/upstream This is an issue in one of Gitea's dependencies and should be reported there
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants