Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Dec 2005 19:38:12 +1100 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/91002: [calendar] funky sorting when going around the end of year
Message-ID:  <20051228083812.961B835D@k7.mavetju>
Resent-Message-ID: <200512280850.jBS8o3xN001156@freefall.freebsd.org>

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

>Number:         91002
>Category:       bin
>Synopsis:       [calendar] funky sorting when going around the end of year
>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 Dec 28 08:50:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD k7.mavetju 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386

>Description:

Running calendar(1) over the end-of-the-year gives a funny sorting issue:

>How-To-Repeat:

    [~] edwin@k7>calendar -A 3 -f /usr/share/calendar/calendar.freebsd 
    Jan  1  Alexander Langer <alex@FreeBSD.org> born in Duesseldorf, Nordrhein-Westfalen, Germany, 1981
    Dec 28  Soren Schmidt <sos@FreeBSD.org> born in Maribo, Denmark, 1960
    Dec 28  Marius Strobl <marius@FreeBSD.org> born in Cham, Bavaria, Germany, 1978
    Dec 31  Edwin Groothuis <edwin@FreeBSD.org> born in Geldrop, the Netherlands, 1970

Expected behaviour was

    Dec 28  Soren Schmidt <sos@FreeBSD.org> born in Maribo, Denmark, 1960
    Dec 28  Marius Strobl <marius@FreeBSD.org> born in Cham, Bavaria, Germany, 1978
    Dec 31  Edwin Groothuis <edwin@FreeBSD.org> born in Geldrop, the Netherlands, 1970
    Jan  1  Alexander Langer <alex@FreeBSD.org> born in Duesseldorf, Nordrhein-Westfalen, Germany, 1981

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



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