From 69020431a40fd792186a3c62c3abb4d102cd55b2 Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Sat, 7 Dec 2024 12:01:44 +0100 Subject: [PATCH] Fix published_at deserialization --- TMDbLib/Objects/General/Video.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TMDbLib/Objects/General/Video.cs b/TMDbLib/Objects/General/Video.cs index 62c3a458..2fc71c41 100644 --- a/TMDbLib/Objects/General/Video.cs +++ b/TMDbLib/Objects/General/Video.cs @@ -1,5 +1,6 @@ using System; using Newtonsoft.Json; +using TMDbLib.Utilities.Converters; namespace TMDbLib.Objects.General { @@ -30,6 +31,7 @@ public class Video public bool Official { get; set; } [JsonProperty("published_at")] + [JsonConverter(typeof(CustomDatetimeFormatConverter))] public DateTime PublishedAt { get; set; } [JsonProperty("site")]