Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add real time as well as relative time to last seen. #72

Merged
merged 2 commits into from
Nov 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ReplayBrowser/Pages/Profile.razor
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ else
<p><small>Calculated by adding up the total time for each round played by the player.</small></p>
<p><b>Total rounds played:</b> @_playerData.TotalRoundsPlayed</p>
<p><b>Total antag rounds played:</b> @_playerData.TotalAntagRoundsPlayed</p>
<p><b>Last seen:</b> @_playerData.LastSeen.Humanize()</p>
<p><b>Last seen:</b> @_playerData.LastSeen.Date (@_playerData.LastSeen.Humanize())</p>

<h2>Characters</h2>
<table class="table">
Expand Down Expand Up @@ -155,7 +155,7 @@ else
Total estimated playtime: {_playerData.TotalEstimatedPlaytime.Humanize()}
Total rounds played: {_playerData.TotalRoundsPlayed}
Total antag rounds played: {_playerData.TotalAntagRoundsPlayed}
Last seen: {_playerData.LastSeen.Humanize()}
Last seen: {_playerData.LastSeen.Date}
";

protected override async Task OnInitializedAsync()
Expand Down