-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Dashboard heatmap always loading on mysql 8 #5220
Comments
Does this also fail in mysql 5/ mariadb 10? |
I tested on MySQL 5.6.37 - work fine. |
@gaydin do you know how to make a PR ? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[x]
):https://gist.github.com/gaydin/ee00f012fbefe913daa53a98c0c55f1c
Description
Maybe need changed
https://github.com/go-gitea/gitea/blob/master/models/user_heatmap.go#L26
UNIX_TIMESTAMP(DATE_FORMAT(FROM_UNIXTIME(created_unix), '%Y%m%d'))
to
UNIX_TIMESTAMP(DATE(FROM_UNIXTIME(created_unix)))
The text was updated successfully, but these errors were encountered: