-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Activity pages (besides Pulse) brocken - Server sends negative Unix-time #31248
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
Comments
I did a small test, to make sure that the go time lib works, and it seems to look fine: root@euph:~/test# cat main.go package main
import (
"fmt"
"time"
)
func main() {
now := time.Now()
fmt.Println("The current time and date is:", now)
} root@euph:~/test# go run main.go
The current time and date is: 2024-06-04 15:35:18.373897005 +0000 UTC m=+0.000015481 |
@kemzeb you said:
so, i'm just now building a gitea binary myself, based on the v22 tag and i'm changing it up to return the |
well, my compiled binary ( compiled on the Server) directly crashes (using make build) so I guess, I will have to try somethign else |
I fixed it, by installing a nwer git version with sha256 support (the newest one) from source. the git on debian 10 is to old |
On Linode |
Glad that you were able to solve it! Did not expect it to be because of an outdated git |
Yea, same |
Description
The Activity Tab are loading a long time, and then are just empty.
This does not seeme to be the same problem as: #30851
This happens to all Repos on my Instance:.
Test Repo: https://git.euph.dev/Snoweuph/Dotfiles/activity/contributors
it looks like my server is sending negative unix time:
https://git.euph.dev/Snoweuph/Dotfiles/activity/contributors/data
specificly all unixtimestamps are
-62135596800000
Gitea Version
22.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://pastebin.com/LU9eVE2W
Screenshots
Git Version
2.20.1
Operating System
Debian 10 - Kernel 4.19.0-26
How are you running Gitea?
I run gitea as a Systemd Service.
gitea.service
app.ini
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered: