Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 May 2007 02:44:14 GMT
From:      Andrew Lankford<andrew.lankford@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/112674: There appears to be a bug in /usr/bin/calendar
Message-ID:  <200705150244.l4F2iElw072801@www.freebsd.org>
Resent-Message-ID: <200705150250.l4F2o3nk041655@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         112674
>Category:       misc
>Synopsis:       There appears to be a bug in /usr/bin/calendar
>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 02:50:03 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@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 this on your system.  /usr/bin/calendar and /usr/share/calendar/* should all be freshly built from STABLE source.
>Fix:

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705150244.l4F2iElw072801>