mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-19 00:51:30 -07:00
Localize game history timestamp
This commit is contained in:
parent
71d41b40a8
commit
890e4ea4f2
@ -62,7 +62,13 @@ namespace Bloxstrap.Models.Entities
|
||||
{
|
||||
get
|
||||
{
|
||||
string desc = string.Format("{0} • {1} - {2}", UniverseDetails?.Data.Creator.Name, TimeJoined.ToString("h:mm tt"), TimeLeft?.ToString("h:mm tt"));
|
||||
string desc = string.Format(
|
||||
"{0} • {1} {2} {3}",
|
||||
UniverseDetails?.Data.Creator.Name,
|
||||
TimeJoined.ToString("t"),
|
||||
Locale.CurrentCulture.Name.StartsWith("ja") ? '~' : '-',
|
||||
TimeLeft?.ToString("t")
|
||||
);
|
||||
|
||||
if (ServerType != ServerType.Public)
|
||||
desc += " • " + ServerType.ToTranslatedString();
|
||||
|
Loading…
Reference in New Issue
Block a user