mirror of
https://github.com/ppy/osu
synced 2024-12-15 19:36:34 +00:00
Unify join time text's visual format with the web
This commit is contained in:
parent
38feb7651c
commit
6938adc148
@ -357,12 +357,16 @@ namespace osu.Game.Overlays.Profile
|
|||||||
|
|
||||||
infoTextLeft.NewParagraph();
|
infoTextLeft.NewParagraph();
|
||||||
|
|
||||||
if (user.JoinDate.ToUniversalTime().Year >= 2008)
|
if (user.JoinDate.ToUniversalTime().Year < 2008)
|
||||||
|
{
|
||||||
|
infoTextLeft.AddText(new DrawableJoinDate(user.JoinDate), lightText);
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
infoTextLeft.AddText("Joined ", lightText);
|
infoTextLeft.AddText("Joined ", lightText);
|
||||||
|
infoTextLeft.AddText(new DrawableJoinDate(user.JoinDate), boldItalic);
|
||||||
}
|
}
|
||||||
|
|
||||||
infoTextLeft.AddText(new DrawableJoinDate(user.JoinDate), boldItalic);
|
|
||||||
|
|
||||||
infoTextLeft.NewLine();
|
infoTextLeft.NewLine();
|
||||||
infoTextLeft.AddText("Last seen ", lightText);
|
infoTextLeft.AddText("Last seen ", lightText);
|
||||||
|
Loading…
Reference in New Issue
Block a user