1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-25 01:11:43 +00:00

PetaPoco won't convert DateTime to UTC by default.

This commit is contained in:
Mark McDowall 2011-06-18 13:30:30 -07:00
parent a771d2cfa9
commit 514998042e

View file

@ -51,6 +51,7 @@ public static IDatabase GetPetaPocoDb(string connectionString, Boolean profiled
}
var db = new Database(connection);
db.ForceDateTimesToUtc = false;
if (connection.State != ConnectionState.Open)
connection.Open();