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
This commit is contained in:
Joe Milazzo 2023-08-05 14:02:35 -05:00 committed by GitHub
parent c3b3f9a640
commit a65963c817
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 99 additions and 150 deletions

View file

@ -9,7 +9,7 @@ namespace API.DTOs;
/// A Chapter is the lowest grouping of a reading medium. A Chapter contains a set of MangaFiles which represents the underlying
/// file (abstracted from type).
/// </summary>
public class ChapterDto : IHasReadTimeEstimate, IEntityDate
public class ChapterDto : IHasReadTimeEstimate
{
public int Id { get; init; }
/// <summary>
@ -59,8 +59,6 @@ public class ChapterDto : IHasReadTimeEstimate, IEntityDate
/// <summary>
/// When chapter was created
/// </summary>
public DateTime Created { get; set; }
public DateTime LastModified { get; set; }
public DateTime CreatedUtc { get; set; }
public DateTime LastModifiedUtc { get; set; }
/// <summary>