﻿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);
    }
}

﻿// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// 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
{
    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);
    }
}

Add license header to the new file
Add license header to the new file
