[longomatch] Make sure to use the UTC datetime for serialization bug in Windows



commit a03b1837acb4fb1a51d8ed9a57742fa4aad7a271
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Mon Oct 13 20:45:46 2014 +0200

    Make sure to use the UTC datetime for serialization bug in Windows

 LongoMatch.GUI/Gui/Component/DatePicker.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/DatePicker.cs b/LongoMatch.GUI/Gui/Component/DatePicker.cs
index e6a6295..0d95b5b 100644
--- a/LongoMatch.GUI/Gui/Component/DatePicker.cs
+++ b/LongoMatch.GUI/Gui/Component/DatePicker.cs
@@ -34,7 +34,7 @@ namespace LongoMatch.Gui.Component
 
                        datebutton.Clicked += HandleClicked;
                        dateentry.Changed += HandleChanged;
-                       Date = DateTime.Now;
+                       Date = DateTime.UtcNow;
                }
 
                public DateTime Date {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]