Closed snoweuph closed 4 months ago
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:
After looking at the code that builds these Unix times, I haven't been able to determine the cause (or if the problem resides elsewhere). If you wish, you can open a new issue so that we can track this potential bug.
so, i'm just now building a gitea binary myself, based on the v22 tag and i'm changing it up to return the startingOfWeek
as debugging data
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 Debian 10
, the git
version is 2.20
which is not working with the new version of gitea, solution: install git from source
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