Try satisfying AppVeyor

This commit is contained in:
HoutarouOreki 2018-05-25 14:25:12 +02:00
parent 71c04f4605
commit 39224931f8
2 changed files with 3 additions and 5 deletions

View File

@ -62,6 +62,6 @@ namespace osu.Game.Graphics
private void updateTime() => Format();
public virtual string TooltipText => string.Format("{0:d MMMM yyyy H:mm \"UTC\"z}", date);
public virtual string TooltipText => string.Format($"{date:d MMMM yyyy H:mm \"UTC\"z}");
}
}

View File

@ -2,8 +2,6 @@
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using System.Text;
namespace osu.Game.Graphics
{
@ -16,8 +14,8 @@ namespace osu.Game.Graphics
this.date = date;
}
protected override string Format() => Text = string.Format("{0:MMMM yyyy}", date);
protected override string Format() => Text = string.Format($"{date:MMMM yyyy}");
public override string TooltipText => string.Format("{0:d MMMM yyyy}", date);
public override string TooltipText => string.Format($"{date:d MMMM yyyy}");
}
}