1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 14:17:26 +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>
/// A user-presentable display title representing this score.
/// </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})";
}
}