[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Y2K bug in hdate and hcal



On Sun, Jan 09, 2000, Kenneth G.Kay wrote about "Y2K bug in hdate and hcal":
> 	Since my previous message on this subject did not elicit any
> responses, I will try again.  
> 
> 	hcal and hdate are Unix utilities for converting between Gregorian
> and Hebrew dates.  "Distribution 5" (July 1992) of these programs worked
> well on Linux until Jan. 1 but now give the wrong dates (e.g., it tells me
> that today is 10 Shvat 3860). I have seen a more recent version (dated
> 1995), compiled for AIX, that is not infected by this bug. Does anyone
> know where I can find updated, bug-free sources for these programs so that
> I can compile them for Linux?
> 
> 		Ken

You can also take a look at
ftp://ftp.math.technion.ac.il/calendar/gauss

The program there, 'taarich' uses a different algorithm, and gives correct
results - see my signature below for an example.

I've verified that the hdate I have (also available in the above ftp
site) indeed gives the incorrect results you described.

-- 
Nadav Har'El                        |        Sunday, Jan 9 2000, 2 Shevat 5760
nyh@math.technion.ac.il             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |Cats aren't clean, they're just covered
http://nadav.harel.org.il           |with cat spit.

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il