[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: Time dataengine invalid sunrise and sunset results
From: Amos Kariuki <amoskahiga () gmail ! com>
Date: 2009-11-26 18:43:03
Message-ID: hemi6e$aeg$1 () ger ! gmane ! org
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic