[Top][All Lists]

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

[Gnash-commit] gnash/server/asobj Date.cpp

From: Martin Guy
Subject: [Gnash-commit] gnash/server/asobj Date.cpp
Date: Wed, 07 Feb 2007 19:17:22 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Martin Guy <martinwguy> 07/02/07 19:17:22

Modified files:
        server/asobj   : Date.cpp 

Log message:
        Comment why USE_UTCCONV is necessary


Index: Date.cpp
RCS file: /sources/gnash/gnash/server/asobj/Date.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- Date.cpp    7 Feb 2007 19:01:59 -0000       1.21
+++ Date.cpp    7 Feb 2007 19:17:22 -0000       1.22
@@ -91,6 +91,10 @@
 // Undefine USE_UTCCONV or define it as 0 to use gmtime_r() and mktime()
 // for UTC date conversions (the mktime() versions sometimes set the time
 // wrong by an hour).
+// Currently, without this, setting times in UTC to a moment when DST is active
+// gets the hour and datestamp wrong, and changing the date into/out of a
+// DST period without adjusts the UTC time of day (it shouldn't).
 #define USE_UTCCONV 1

reply via email to

[Prev in Thread] Current Thread [Next in Thread]