Skip to content

Commit

Permalink
use local timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-garcia committed Mar 22, 2024
1 parent c6206dd commit 5d01eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sentaur.Leaderboard.Web/Pages/Score.razor
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ else
<td>@score.Name</td>
<td>@score.Score</td>
<td>@score.Duration.ToString(@"mm\:ss")</td>
<td>@TimeZoneInfo.ConvertTimeFromUtc(score.Timestamp.DateTime, TimeZoneInfo.FindSystemTimeZoneById("America/Los_Angeles")).ToString("dddd, h:mm tt")</td>
<td>@score.Timestamp.ToLocalTime().ToString("dddd, h:mm tt")</td>
</tr>
}
</tbody>
Expand Down

0 comments on commit 5d01eb7

Please sign in to comment.