PetaPoco won't convert DateTime to UTC by default.
This commit is contained in:
parent
a771d2cfa9
commit
514998042e
|
@ -51,6 +51,7 @@ namespace NzbDrone.Core.Datastore
|
|||
}
|
||||
|
||||
var db = new Database(connection);
|
||||
db.ForceDateTimesToUtc = false;
|
||||
|
||||
if (connection.State != ConnectionState.Open)
|
||||
connection.Open();
|
||||
|
|
Loading…
Reference in New Issue