From kde-panel-devel Thu Nov 26 18:43:03 2009 From: Amos Kariuki Date: Thu, 26 Nov 2009 18:43:03 +0000 To: kde-panel-devel Subject: Re: Time dataengine invalid sunrise and sunset results Message-Id: X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=125926102216967 Petri Damstén wrote: > On Thursday 26 November 2009 06:56:09 Amos Kariuki wrote: >> I have some test code to obtain the sunrise and sunset time given a >> longitude and latitude for a location: > > There are problems in KDE 4.3 calculation. In KDE 4.4 Thanks. (I tested and verified it works with a 4.4 build) > America/New York|DateTime=2009-11-24T12:00:00|Solar|Latitude=40|Longitude=-75 > > Gives: > Sunrise: QVariant(QDateTime, QDateTime("Tue Nov 24 06:55:32 2009") ) > Sunset: QVariant(QDateTime, QDateTime("Tue Nov 24 16:37:55 2009") ) > > And noaa for the same time zone: > Sunrise: 06:56 > Sunset: 16:38 > > Petri Amos Kariuki _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel