Skip to content

Commit

Permalink
feat(fixtures): add time zone (#26674)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxdvl authored Nov 3, 2023
1 parent efc3d6a commit 9031a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sport/app/football/views/matchList/matchesList.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<td class="football-match__status football-match__status--@MatchStatus(theMatch.matchStatus).toString.toLowerCase table-column--sub">
@if(theMatch.isFixture){
<time datetime="@theMatch.date.format(DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ssZ").withZone(Edition(request).timezoneId))" data-timestamp="@theMatch.date.toInstant.toEpochMilli">
@theMatch.date.format(DateTimeFormatter.ofPattern("HH:mm ").withZone(Edition(request).timezoneId))</time>
@theMatch.date.format(DateTimeFormatter.ofPattern("HH:mm z").withZone(Edition(request).timezoneId))</time>
}else{
@MatchStatus(theMatch.matchStatus)
}
Expand Down

0 comments on commit 9031a6f

Please sign in to comment.