banshee r4649 - trunk/banshee/src/Libraries/Hyena/Hyena



Author: gburt
Date: Fri Oct  3 17:57:13 2008
New Revision: 4649
URL: http://svn.gnome.org/viewvc/banshee?rev=4649&view=rev

Log:
Add FIXME note

Modified:
   trunk/banshee/src/Libraries/Hyena/Hyena/DateTimeUtil.cs

Modified: trunk/banshee/src/Libraries/Hyena/Hyena/DateTimeUtil.cs
==============================================================================
--- trunk/banshee/src/Libraries/Hyena/Hyena/DateTimeUtil.cs	(original)
+++ trunk/banshee/src/Libraries/Hyena/Hyena/DateTimeUtil.cs	Fri Oct  3 17:57:13 2008
@@ -32,6 +32,9 @@
 {
     public class DateTimeUtil
     {
+        // FIXME I don't think having a local-unix-epoch makes any sense, I think we should be using
+        // all UTC values.  Depending on the time of year in daylight savings timezones, the
+        // local-seconds-since-epoch value will differ, which will cause errors, no?
         public static readonly DateTime LocalUnixEpoch = new DateTime (1970, 1, 1).ToLocalTime ();
 
         public static DateTime ToDateTime (long time)



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