Changed type of ReleaseDate (DateTime --> String). JSON.NET wasn't able to parse some timestamps

This commit is contained in:
Johnny @PC 2015-02-21 18:42:29 +01:00
parent bf0db02e91
commit b019e3d0c2

View File

@ -34,7 +34,7 @@ namespace SpotifyAPI.SpotifyWebAPI.Models
[JsonProperty("popularity")] [JsonProperty("popularity")]
public int Popularity { get; set; } public int Popularity { get; set; }
[JsonProperty("release_date")] [JsonProperty("release_date")]
public DateTime ReleaseDate { get; set; } public String ReleaseDate { get; set; }
[JsonProperty("release_date_precision")] [JsonProperty("release_date_precision")]
public String ReleaseDatePrecision { get; set; } public String ReleaseDatePrecision { get; set; }
[JsonProperty("tracks")] [JsonProperty("tracks")]