1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 18:07:24 +08:00
osu-lazer/osu.Game/Graphics/DrawableJoinDate.cs
2018-05-25 14:00:32 +02:00

21 lines
506 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace osu.Game.Graphics
{
public class DrawableJoinDate : DrawableDate
{
private readonly DateTimeOffset date;
public DrawableJoinDate(DateTimeOffset date) : base(date)
{
this.date = date;
}
protected override string Format() => Text = string.Format("{0:MMMM yyyy}", date);
public override string TooltipText => string.Format("{0:d MMMM yyyy}", date);
}
}