* Matt Sisk <[EMAIL PROTECTED]> [1970-01-01 01:00]:
> Eugene van der Pijll wrote:
> >If necessary, I'm willing to help converting it to a DateTime module;
> >it's not that difficult, as the Gregorian<=>Hijrah conversion in Alex'
> >module is already done via an absolute (rata-die) date.

> True. His post caught my eye because he mentioned it had been ported 
> from some KDE code. I wasn't sure if their algo was particularly clever 
> or worth capturing in DT.

Hi, I just happened to see that someone has use for Date::Hijri.

There is another C implementation of a Hijri calendar that looks more
sophisticated that the current KDE code:

http://kde.cict.fr/kdepim/calendarsystem/hconv.c

It was in a previous version of KDE (why was it replaced?) and is the
base for some other stand-alone conversion programs. Google for hconv.c
to find some more references.

The code in Date::Hijri gives dates that are incorrect by some days as
you go back in history (up to 3 days). The start of the Hijri Calendar
1.1.1 A.H. was July 16, 622 AD but the modules returns July 19, 622 AD.
Blame the moon.  

As I am not an expert I cannot fix this. But I would be glad to help
developing DT:C:Hijri any further.

Alex

-- 
Alex Pleiner
zeitform Internet Dienste         Fraunhoferstrasse 5
                                  64283 Darmstadt, Germany
http://www.zeitform.de            Tel.: +49 (0)6151 155-635
mailto:[EMAIL PROTECTED]        Fax:  +49 (0)6151 155-634
GnuPG/PGP Key-ID: 0x613C21EA

Reply via email to