Browse code

[outlook] BM-14937 Fix: allday event displayed on wrong day if Outlook TZ is not Europe/Paris

Nicolas Lascombes authored on 14/06/2019 12:53:10
Showing 1 changed files
... ...
@@ -553,7 +553,7 @@ namespace core2client
553 553
                 return DateTimeNotSet;
554 554
             DateTime dt;
555 555
             return DateTime.TryParse(bmDateTime.iso8601, null, DateTimeStyles.RoundtripKind, out dt)
556
-                ? dt.ToLocalTime()
556
+                ? dt
557 557
                 : DateTime.MinValue;
558 558
         }
559 559