Fix time bug with scrobbles

no need for "ToUniversalTime" to the epoch DateTime
This commit is contained in:
Harry 2014-12-24 14:31:03 -04:00
parent 2a67393ada
commit ea0ed95ca0

View File

@ -29,7 +29,7 @@ public static string GetApiName(this Enum enumValue)
public static int ToUnixTimestamp(this DateTime dt)
{
var d = (dt - new DateTime(1970, 1, 1).ToUniversalTime()).TotalSeconds;
var d = (dt - new DateTime(1970, 1, 1)).TotalSeconds;
return Convert.ToInt32(d);
}