diff -u hebcal-3.5/debian/changelog hebcal-3.5/debian/changelog --- hebcal-3.5/debian/changelog +++ hebcal-3.5/debian/changelog @@ -1,3 +1,9 @@ +hebcal (3.5-2) unstable; urgency=low + + * Fix Asara B'Tevet Bug, pulled from 3.9 release + + -- Shaya Potter Tue, 09 Nov 2010 12:20:06 -0500 + hebcal (3.5-1) unstable; urgency=low * new release only in patch2: unchanged: --- hebcal-3.5.orig/holidays.c +++ hebcal-3.5/holidays.c @@ -581,11 +581,8 @@ tmpholp = getHolstorep (); tmpholp->name = HOLIDAY_ASARA_B_TEVET; - if (tevet10 % 7L >= 5) - { /* saturday or sunday */ - tempDt = abs2hebrew (day_on_or_before (THU, tevet10)); - PushHoliday (tmpholp, &var_holidays[tempDt.mm][tempDt.dd]); - } + if (tevet10 % 7L == SAT) + PushHoliday (tmpholp, &var_holidays[TEVET][11]); else PushHoliday (tmpholp, &var_holidays[TEVET][10]);