Unify join time text's visual format with the web

This commit is contained in:
HoutarouOreki 2018-06-15 15:00:41 +02:00
parent 38feb7651c
commit 6938adc148

View File

@ -357,12 +357,16 @@ namespace osu.Game.Overlays.Profile
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(new DrawableJoinDate(user.JoinDate), boldItalic);
}
infoTextLeft.AddText(new DrawableJoinDate(user.JoinDate), boldItalic);
infoTextLeft.NewLine();
infoTextLeft.AddText("Last seen ", lightText);