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
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ namespace NzbDrone.Core.Datastore
}
var db = new Database(connection);
db.ForceDateTimesToUtc = false;
if (connection.State != ConnectionState.Open)
connection.Open();