bin/132779: calendar utility processes SunLast (and likely similar) dates incorrectly

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Mar 18 09:20:05 PDT 2009


>Number:         132779
>Category:       bin
>Synopsis:       calendar utility processes SunLast (and likely similar) dates incorrectly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 18 16:20:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Feb 10 23:56:47 MSK 2009 root at hades.panopticon:/usr/obj/usr/src/sys/HADES i386

(the same problem exists on 7.0-RELEASE)

>Description:
calendar utility processes date shortcuts like SunLast, SunFirst incorrectly.

>How-To-Repeat:
If I create ~/.calendar/calendar with the following two lines:

03/SunFirst	test1
03/SunLast	test2

these obviously are supposed to be shown on first and last sunday of a March, respectively.

However:

% calendar -A 10 -B 10
Mar 17* test2
Mar 17* test1
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list