From 514998042ef4594b47490b30c44e2889fc88cd59 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sat, 18 Jun 2011 13:30:30 -0700 Subject: [PATCH] PetaPoco won't convert DateTime to UTC by default. --- NzbDrone.Core/Datastore/Connection.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/NzbDrone.Core/Datastore/Connection.cs b/NzbDrone.Core/Datastore/Connection.cs index 8749020f1..186419b7d 100644 --- a/NzbDrone.Core/Datastore/Connection.cs +++ b/NzbDrone.Core/Datastore/Connection.cs @@ -51,6 +51,7 @@ namespace NzbDrone.Core.Datastore } var db = new Database(connection); + db.ForceDateTimesToUtc = false; if (connection.State != ConnectionState.Open) connection.Open();