Improve commit date in commit graph (#24399)

The commit date time is based on server's time zone not user's local
time zone.

Before:

![image](https://user-images.githubusercontent.com/18380374/235074112-cc1e032f-6b43-4876-a1bc-dd48b393866b.png)

After:

![image](https://user-images.githubusercontent.com/18380374/235074056-329811e8-3e81-4b55-b5a1-580ac22b6d72.png)
This commit is contained in:
yp05327 2023-04-29 03:58:59 +09:00 committed by GitHub
parent a6450494c3
commit 5bc9f7fcf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,7 @@
{{$userName}}
{{end}}
</span>
<span class="time gt-df gt-ac">{{$commit.Date}}</span>
<span class="time gt-df gt-ac">{{DateTime "full" $commit.Date}}</span>
{{end}}
</li>
{{end}}