mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 01:38:24 +00:00
PetaPoco won't convert DateTime to UTC by default.
This commit is contained in:
parent
a771d2cfa9
commit
514998042e
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ public static IDatabase GetPetaPocoDb(string connectionString, Boolean profiled
|
||||||
}
|
}
|
||||||
|
|
||||||
var db = new Database(connection);
|
var db = new Database(connection);
|
||||||
|
db.ForceDateTimesToUtc = false;
|
||||||
|
|
||||||
if (connection.State != ConnectionState.Open)
|
if (connection.State != ConnectionState.Open)
|
||||||
connection.Open();
|
connection.Open();
|
||||||
|
|
Loading…
Reference in a new issue