1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 23:47:24 +08:00

Better match join and last seen texts and tooltips with osu-web

This commit is contained in:
HoutarouOreki 2018-05-23 03:24:37 +02:00
parent 6cf227a7af
commit 8e9dde97ce

View File

@ -364,12 +364,12 @@ namespace osu.Game.Overlays.Profile
else else
{ {
infoTextLeft.AddText("Joined ", lightText); infoTextLeft.AddText("Joined ", lightText);
infoTextLeft.AddText(new DrawableDate(user.JoinDate), boldItalic); infoTextLeft.AddText(new DrawableDate("{0:MMMM yyyy}", user.JoinDate, "{0:d MMMM yyyy}"), boldItalic);
} }
infoTextLeft.NewLine(); infoTextLeft.NewLine();
infoTextLeft.AddText("Last seen ", lightText); infoTextLeft.AddText("Last seen ", lightText);
infoTextLeft.AddText(new DrawableDate(user.LastVisit), boldItalic); infoTextLeft.AddText(new DrawableDate(user.LastVisit, "{0:d MMMM yyyy H:mm \"UTC\"z}"), boldItalic);
infoTextLeft.NewParagraph(); infoTextLeft.NewParagraph();
if (user.PlayStyle?.Length > 0) if (user.PlayStyle?.Length > 0)