Skip to content

Commit b019e3d

Browse files
author
Johnny @PC
committed
Changed type of ReleaseDate (DateTime --> String). JSON.NET wasn't able to parse some timestamps
1 parent bf0db02 commit b019e3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SpotifyAPI/SpotifyWebAPI/Models/FullAlbum.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class FullAlbum : BasicModel
3434
[JsonProperty("popularity")]
3535
public int Popularity { get; set; }
3636
[JsonProperty("release_date")]
37-
public DateTime ReleaseDate { get; set; }
37+
public String ReleaseDate { get; set; }
3838
[JsonProperty("release_date_precision")]
3939
public String ReleaseDatePrecision { get; set; }
4040
[JsonProperty("tracks")]

0 commit comments

Comments
 (0)