1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 03:27:24 +08:00

use ToShortTimeString to create a time depending on current culture

This commit is contained in:
Aergwyn 2017-12-30 22:45:28 +01:00
parent 301efb948e
commit 3d66b879a7

View File

@ -258,7 +258,7 @@ namespace osu.Game.Screens.Ranking
{
Origin = Anchor.CentreRight,
Anchor = Anchor.CentreRight,
Text = datetime.ToString("HH:mm"),
Text = datetime.ToShortTimeString(),
Padding = new MarginPadding { Horizontal = 10, Vertical = 5 },
Colour = Color4.White,
}