Improve communications console countdown formatting (#30495)

* improve communications console countdown formatting

* tostring
This commit is contained in:
slarticodefast
2024-08-05 05:16:19 +02:00
committed by GitHub
parent 82d7636619
commit d0884a3074

View File

@@ -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);
}
}