From owner-freebsd-bugs@FreeBSD.ORG Wed Mar 18 16:20:04 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFCC11065670 for ; Wed, 18 Mar 2009 16:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ACDC08FC1C for ; Wed, 18 Mar 2009 16:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2IGK4kq042388 for ; Wed, 18 Mar 2009 16:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2IGK4HY042387; Wed, 18 Mar 2009 16:20:04 GMT (envelope-from gnats) Resent-Date: Wed, 18 Mar 2009 16:20:04 GMT Resent-Message-Id: <200903181620.n2IGK4HY042387@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Marakasov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E4E01065675 for ; Wed, 18 Mar 2009 16:17:01 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id 0B1EF8FC18 for ; Wed, 18 Mar 2009 16:17:01 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LjyRy-0002FV-Vu for FreeBSD-gnats-submit@freebsd.org; Wed, 18 Mar 2009 19:17:03 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 0354AA062 for ; Wed, 18 Mar 2009 19:16:30 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 2A6D3108839; Wed, 18 Mar 2009 19:15:59 +0300 (MSK) Message-Id: <20090318161559.2A6D3108839@hades.panopticon> Date: Wed, 18 Mar 2009 19:15:59 +0300 (MSK) From: Dmitry Marakasov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: bin/132779: calendar utility processes SunLast (and likely similar) dates incorrectly X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmitry Marakasov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2009 16:20:05 -0000 >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@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: