adjust last seen format in game interface

This commit is contained in:
RaidMax
2023-06-02 16:35:00 -05:00
parent e4535e09a0
commit e843f839f5
6 changed files with 12 additions and 9 deletions

View File

@ -117,6 +117,9 @@ namespace SharedLibraryCore.Database.Models
[NotMapped] public TeamType Team { get; set; }
[NotMapped] public string TeamName { get; set; }
[NotMapped]
public string TimeSinceLastConnectionString => (DateTime.UtcNow - LastConnection).HumanizeForCurrentCulture();
[NotMapped]
// this is kinda dirty, but I need localizable level names
public ClientPermission ClientPermission => new ClientPermission