Kavita/API/DTOs/Jobs/JobDto.cs
Joe Milazzo a65963c817
Localized Dates (#2182)
* Removed 4 properties from SiteThemeDto which weren't supposed to be there.

* Removed another set of date fields not used on DTOs

* Hangfire jobs will now grab a utc date and render that date in user's local timezone.

* Scrobble errors are now localized dates.

Added simplified chinese language code

* Fixed a bunch of newlines in the translation files

* Localized compact number and fixed some missing localizations

* Fixed remove from on deck key issue

* Scrobble events is now localized

* Scrobble events is now localized

* Removed some duplicate fields from chapter
2023-08-05 12:02:35 -07:00

25 lines
585 B
C#

using System;
namespace API.DTOs.Jobs;
public class JobDto
{
/// <summary>
/// Job Id
/// </summary>
public string Id { get; set; } = default!;
/// <summary>
/// Human Readable title for the Job
/// </summary>
public string Title { get; set; } = default!;
/// <summary>
/// When the job was created
/// </summary>
public DateTime? CreatedAtUtc { get; set; }
/// <summary>
/// Last time the job was run
/// </summary>
public DateTime? LastExecutionUtc { get; set; }
public string Cron { get; set; } = default!;
}