Commits

Devin Martin committed d39dbce

Use UTC when using google's time correction.

  • Participants
  • Parent commits 15176f0

Comments (0)

Files changed (1)

File OtpSharp/Ntp.cs

                 var dateHeader = wc.ResponseHeaders.Get("Date");
                 var date = DateTime.Parse(dateHeader);
 
-                return new TimeCorrection(date);
+                return new TimeCorrection(date.ToUniversalTime());
             }
         }