Neighbourhood.omg.lol/Models/API/NowData.cs

13 lines
373 B
C#
Raw Permalink Normal View History

2024-07-01 23:19:37 +00:00
namespace Neighbourhood.omg.lol.Models
{
public class NowData {
2024-07-02 00:29:50 +00:00
public string Address { get; set; } = string.Empty;
public string Url { get; set; } = string.Empty;
public TimeData Updated { get; set; } = TimeData.Empty;
2024-06-11 00:36:48 +00:00
public string UpdatedRelative {
get => Utilities.RelativeTimeFromUnix(Convert.ToInt64(Updated.UnixEpochTime));
2024-06-11 00:36:48 +00:00
}
}
}