Improve communications console countdown formatting (#30495)
* improve communications console countdown formatting * tostring
This commit is contained in:
@@ -130,7 +130,7 @@ namespace Content.Client.Communications.UI
|
||||
|
||||
EmergencyShuttleButton.Text = Loc.GetString("comms-console-menu-recall-shuttle");
|
||||
var infoText = Loc.GetString($"comms-console-menu-time-remaining",
|
||||
("time", diff.TotalSeconds.ToString(CultureInfo.CurrentCulture)));
|
||||
("time", diff.ToString(@"hh\:mm\:ss", CultureInfo.CurrentCulture)));
|
||||
CountdownLabel.SetMessage(infoText);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user