[Kst] extragear/graphics/kst/kst/datasources/planck

George Staikos staikos at kde.org
Fri Dec 16 00:07:19 CET 2005


SVN commit 488805 by staikos:

After all that debugging, it looks like the issue is that the ut<->tai
conversion algorithm is actually a gmt<->tai conversion!  That's why it was
off by one hour.


 M  +1 -1      planck.cpp  


--- trunk/extragear/graphics/kst/kst/datasources/planck/planck.cpp #488804:488805
@@ -270,7 +270,7 @@
     return -1;
   }
 
-  int tai = time.toTime_t() + 86400 * (365 * 12 + 3) + 32;
+  int tai = time.toTime_t() + 86400 * (365 * 12 + 3) + 32 + 3600;
   return _planckObject->sampleForTime(tai, ok);
 }
 


More information about the Kst mailing list