[Debian-hebrew-package] Bug#696814: Bug#696814: libhdate1: Missing last week of February
Tzafrir Cohen
tzafrir at cohens.org.il
Sat Sep 21 07:29:32 UTC 2013
On Thu, Dec 27, 2012 at 05:52:08PM +0200, Yair Yarom wrote:
> Package: libhdate1
> Version: 1.6-1
> Severity: normal
> Tags: patch
>
> Dear Maintainer,
>
> When displaying February it is limited to only four lines of week, causing it
> to usually miss its last week.
>
> e.g.
> $ hcal 02 2013
>
> February 2013 Sh'vat - Adar 5773
> Sun Mon Tue Wed Thu Fri Sat
> 1/21 2/22
> 3/23 4/24 5/25 6/26 7/27 8/28 9/29
> 10^30 11/ 1 12/ 2 13/ 3 14/ 4 15/ 5 16/ 6
> 17/ 7 18/ 8 19/ 9 20/10 21 at 11 22/12 23/13
>
> which is missing 5 days.
>
> The provided path partially fixes this, except when the 29th of February falls
> on Sunday.
Thanks for your fix. But I cannot have our hcal print the wrong calendar
on Feb 2032.
I decided to slightly rewrite that part. It now accepts a "year"
parameter and checks for a leap year with __isleap(), which I hope is
OK. Patch is now commited to SVN and package should hopefully be
uploaded shortly.
--
Tzafrir Cohen | tzafrir at jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir at cohens.org.il | | best
tzafrir at debian.org | | friend
More information about the Debian-hebrew-package
mailing list