1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-24 06:33:21 +08:00

append date to score export filename

This commit is contained in:
integer 2022-12-20 23:40:00 +00:00
parent d81a724dd7
commit b06a7daf26

View File

@ -12,6 +12,6 @@ namespace osu.Game.Scoring
/// <summary> /// <summary>
/// A user-presentable display title representing this score. /// A user-presentable display title representing this score.
/// </summary> /// </summary>
public static string GetDisplayTitle(this IScoreInfo scoreInfo) => $"{scoreInfo.User.Username} playing {scoreInfo.Beatmap.GetDisplayTitle()}"; public static string GetDisplayTitle(this IScoreInfo scoreInfo) => $"{scoreInfo.User.Username} playing {scoreInfo.Beatmap.GetDisplayTitle()} ({scoreInfo.Date.LocalDateTime:yyyy-MM-dd})";
} }
} }