Skip to content

Commit

Permalink
Fix published_at deserialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadowghost committed Dec 7, 2024
1 parent 7748d9f commit 6902043
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions TMDbLib/Objects/General/Video.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using Newtonsoft.Json;
using TMDbLib.Utilities.Converters;

namespace TMDbLib.Objects.General
{
Expand Down Expand Up @@ -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")]
Expand Down

0 comments on commit 6902043

Please sign in to comment.