misc/112675: calendar(1) isn't working right.

Andrew Lankford andrew.lankford at gmail.com
Tue May 15 03:00:11 UTC 2007


>Number:         112675
>Category:       misc
>Synopsis:       calendar(1) isn't working right.
>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:   Tue May 15 03:00:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Lankford
>Release:        6.2-STABLE
>Organization:
>Environment:
FreeBSD bogushost2 6.2-STABLE FreeBSD 6.2-STABLE #1: Fri May  4 01:20:15 EDT 2007     root at bogushost2:/usr/obj/usr/src/sys/ARL6I386  i386
>Description:
$ date
Mon May 14 22:37:05 EDT 2007
$ cal
      May 2007
Su Mo Tu We Th Fr Sa
       1  2  3  4  5
 6  7  8  9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

$ calendar -B 7
May 13* Mother's Day (2nd Sunday of May)
May 13* Memorial Day in USA (Last Monday of May)


May 13th is not the last day in May, but:
$ calendar -t 13.5.2007
May 13* Mother's Day (2nd Sunday of May)
$ calendar -t 27.5.2007
May 28* Memorial Day in USA (Last Monday of May)
May 27* Pentecost (Whitsunday)
May 28* Whitmonday
May 28* Rogation Sunday
 
$ grep Memorial /usr/share/calendar/calendar.usholiday
05/MonLast      Memorial Day in USA (Last Monday of May)

>How-To-Repeat:
Try calendar as shown above.  /usr/bin/calendar and /usr/share/calendar/* should all be freshly built from STABLE source on my system.
>Fix:

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


More information about the freebsd-bugs mailing list