1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 22:23:32 +08:00

use ToShortDateString to create a date depending on current culture

This commit is contained in:
Aergwyn 2017-12-30 22:41:01 +01:00
parent 0dad9cbe53
commit 2a0699f13c

View File

@ -250,7 +250,7 @@ namespace osu.Game.Screens.Ranking
{ {
Origin = Anchor.CentreLeft, Origin = Anchor.CentreLeft,
Anchor = Anchor.CentreLeft, Anchor = Anchor.CentreLeft,
Text = datetime.ToString("dd/MM/yyyy"), Text = datetime.ToShortDateString(),
Padding = new MarginPadding { Horizontal = 10, Vertical = 5 }, Padding = new MarginPadding { Horizontal = 10, Vertical = 5 },
Colour = Color4.White, Colour = Color4.White,
}, },