print times in local timezone (#217)

dont resolve location ahead of time

fixup! use local timezone for all printed times

fixup! use local timezone for all printed times

use local timezone for all printed times

Co-authored-by: Norwin Roosen <git@nroo.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/217
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: 6543 <6543@noreply.gitea.io>
This commit is contained in:
Norwin
2020-10-05 12:23:32 +00:00
committed by 6543
parent 30c3aa4f5b
commit 03ec6d0eee
10 changed files with 19 additions and 15 deletions

View File

@ -65,7 +65,7 @@ func RunReleasesList(ctx *cli.Context) error {
[]string{
release.TagName,
release.Title,
release.PublishedAt.Format("2006-01-02 15:04:05"),
print.FormatTime(release.PublishedAt),
status,
release.TarURL,
},