[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [developers] kprayertime 4.0
- To: Development Discussions <developer at arabeyes dot org>
- Subject: Re: [developers] kprayertime 4.0
- From: Thamer Mahmoud <thamer at newkuwait dot org>
- Date: Mon, 10 Aug 2009 22:28:30 +0300
A Lynch writes:
> One of the main problems I had with KPrayertime for KDE3 was DST, I tried to
> make it automatic but it didn't quite work properly. I've since discovered
> that there is a C library call available but I don't know how to use it
> properly.
The program ipraytime (from the ITL itools package) uses system time
settings to determine the DST status for any given date. See the
function "timezone_dst" in ipraytime.c for an example implementation.
This approach assumes that the DST status provided by system time
(based on timezone) is accurate and up-to-date.
salam,
Thamer