NetBSD-Bugs archive

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

Re: bin/41945: calendar(1) doesn't recognize days of the week correctly sometimes



The following reply was made to PR bin/41945; it has been noted by GNATS.

From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: Robert Elz <kre%munnari.OZ.AU@localhost>
Cc: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Subject: Re: bin/41945: calendar(1) doesn't recognize days of the week
 correctly sometimes
Date: Tue, 20 Oct 2009 15:20:44 +0200

 Hi Robert!
 
 Thanks for the patch. It works much better than what we have now.
 
 # ./calendar -d 1006
 # calendar -d 1006
 Friday 2000 something
 Friday Something else
 
 However, there's one bug left, I think:
 # ./calendar -d 1005
 Sunday 1800 something
 
 The 5th was a Monday. Perhaps the Sunday is caught by the lookahead
 for the weekend on Fridays (5)?
 
 While testing it, I found that -f doesn't work as expected -- I gave
 it the same file containting the two entries (and more) cited above,
 but it doesn't show anything for that file, independent from date.
 Perhaps because that file tries including other files and those are
 not found since CALENDAR_DIR is not set (the files are in the same
 dir). There is no error message though.
 
 Thanks,
  Thomas
 
 


Home | Main Index | Thread Index | Old Index