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:
parent
0dad9cbe53
commit
2a0699f13c
@ -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,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user