mirror of
https://github.com/ppy/osu
synced 2024-12-13 18:37:04 +00:00
Fix date string
This commit is contained in:
parent
66f5dbaa9f
commit
661fc01e7d
@ -46,9 +46,7 @@ namespace osu.Game.Overlays.Changelog
|
||||
|
||||
Add(new OsuSpriteText
|
||||
{
|
||||
// do we need .ToUniversalTime() here?
|
||||
// also, this should be a temporary solution to weekdays in >localized< date strings
|
||||
Text = build.CreatedAt.Date.ToLongDateString().Replace(build.CreatedAt.ToString("dddd") + ", ", ""),
|
||||
Text = build.CreatedAt.Date.ToString("dd MMM yyyy"),
|
||||
Font = OsuFont.GetFont(weight: FontWeight.Regular, size: 24),
|
||||
Colour = OsuColour.FromHex(@"FD5"),
|
||||
Anchor = Anchor.TopCentre,
|
||||
|
@ -73,9 +73,7 @@ namespace osu.Game.Overlays.Changelog
|
||||
|
||||
existing.Add(new OsuSpriteText
|
||||
{
|
||||
// do we need .ToUniversalTime() here?
|
||||
// also, this should be a temporary solution to weekdays in >localized< date strings
|
||||
Text = Build.CreatedAt.Date.ToLongDateString().Replace(Build.CreatedAt.ToString("dddd") + ", ", ""),
|
||||
Text = Build.CreatedAt.Date.ToString("dd MMM yyyy"),
|
||||
Font = OsuFont.GetFont(weight: FontWeight.Regular, size: 14),
|
||||
Colour = OsuColour.FromHex(@"FD5"),
|
||||
Anchor = Anchor.BottomCentre,
|
||||
|
Loading…
Reference in New Issue
Block a user