From owner-freebsd-bugs@freebsd.org Sun Sep 8 21:45:30 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BE023E43D7 for ; Sun, 8 Sep 2019 21:45:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 46RPwp4gd6z49Yx for ; Sun, 8 Sep 2019 21:45:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9EAC1E43D6; Sun, 8 Sep 2019 21:45:30 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9E6E2E43D5 for ; Sun, 8 Sep 2019 21:45:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46RPwp3jCjz49Yv for ; Sun, 8 Sep 2019 21:45:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5E9973893 for ; Sun, 8 Sep 2019 21:45:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x88LjU0C032326 for ; Sun, 8 Sep 2019 21:45:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x88LjUPQ032325 for bugs@FreeBSD.org; Sun, 8 Sep 2019 21:45:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 240427] Calendar(1): parses SatSecond wrong for September 2019 Date: Sun, 08 Sep 2019 21:45:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: carlj@peak.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Sep 2019 21:45:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240427 Bug ID: 240427 Summary: Calendar(1): parses SatSecond wrong for September 2019 Product: Base System Version: 12.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: carlj@peak.org An entry for SatSecond in September 2019 is actually matched for the first Saturday. This might be related to bug #234663, but my testing seems to sh= ow that this only occurs on months in which the first day is Sunday. The mont= hs of April and July of 2018 also start with Sunday and seem to show the same problem, as well as September of 2024. $ grep Shrew calendar September SatSecond Shrewsbury Fair (2 days) $ # note: there is a tab after SatSecond $ cal Sept 2019 September 2019=20=20=20=20=20 Su Mo Tu We Th Fr Sa=20=20 1 2 3 4 5 6 7=20=20 8 9 10 11 12 13 14=20=20 15 16 17 18 19 20 21=20=20 22 23 24 25 26 27 28=20=20 29 30 $ calendar -A15 -t 01.09.2019 Sep 7* Shrewsbury Fair (2 days) $ calendar -A15 -t 01.09.2024 Sep 7* Shrewsbury Fair (2 days) $ calendar -A15 -t 01.09.2018 Sep 8* Shrewsbury Fair (2 days) <- This one is correct This was found on an amd64 system with 12.0-RELEASE-p10, but also confirmed on a RPI2 system running armv7, also with 12.0-RELEASE-p10. --=20 You are receiving this mail because: You are the assignee for the bug.=