diff --git a/match_play.go b/match_play.go index 7728bd0..01df344 100644 --- a/match_play.go +++ b/match_play.go @@ -510,7 +510,7 @@ func buildMatchPlayList(matchType string) (MatchPlayList, error) { for i, match := range matches { matchPlayList[i].Id = match.Id matchPlayList[i].DisplayName = prefix + match.DisplayName - matchPlayList[i].Time = match.Time.Format("3:04 PM") + matchPlayList[i].Time = match.Time.Local().Format("3:04 PM") matchPlayList[i].Status = match.Status switch match.Winner { case "R": diff --git a/match_review.go b/match_review.go index 662211e..989d68d 100644 --- a/match_review.go +++ b/match_review.go @@ -162,7 +162,7 @@ func buildMatchReviewList(matchType string) ([]MatchReviewListItem, error) { for i, match := range matches { matchReviewList[i].Id = match.Id matchReviewList[i].DisplayName = prefix + match.DisplayName - matchReviewList[i].Time = match.Time.Format("Mon 1/02 03:04 PM") + matchReviewList[i].Time = match.Time.Local().Format("Mon 1/02 03:04 PM") matchReviewList[i].RedTeams = []int{match.Red1, match.Red2, match.Red3} matchReviewList[i].BlueTeams = []int{match.Blue1, match.Blue2, match.Blue3} matchResult, err := db.GetMatchResultForMatch(match.Id)