From owner-freebsd-questions@freebsd.org Sun Sep 8 17:48:22 2019 Return-Path: <owner-freebsd-questions@freebsd.org> Delivered-To: freebsd-questions@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 A2093DB8DD for <freebsd-questions@mailman.nyi.freebsd.org>; Sun, 8 Sep 2019 17:48:22 +0000 (UTC) (envelope-from carlj@peak.org) Received: from filter03.peak.org (filter03.peak.org [207.55.16.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46RJg94ZCRz3NSd for <freebsd-questions@freebsd.org>; Sun, 8 Sep 2019 17:48:21 +0000 (UTC) (envelope-from carlj@peak.org) Received: from zmail-mta01.peak.org ([207.55.16.111]) by filter03.peak.org ({a3d4bcbc-467e-4baf-8e5e-c89ccb4fcca2}) via TCP (outbound) with ESMTPS id 20190908155939907_0000 for <freebsd-questions@freebsd.org>; Sun, 08 Sep 2019 08:59:39 -0700 X-RC-FROM: <carlj@peak.org> X-RC-RCPT: <freebsd-questions@freebsd.org> Received: from localhost (localhost [127.0.0.1]) by zmail-mta01.peak.org (Postfix) with ESMTP id A81BC9821E for <freebsd-questions@freebsd.org>; Sun, 8 Sep 2019 08:59:38 -0700 (PDT) Received: from zmail-mta01.peak.org ([127.0.0.1]) by localhost (zmail-mta01.peak.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id jaBsjdY4oTQT for <freebsd-questions@freebsd.org>; Sun, 8 Sep 2019 08:59:38 -0700 (PDT) Received: from mailproxy-lb-06.peak.org (mailproxy-lb-06.peak.org [207.55.17.96]) by zmail-mta01.peak.org (Postfix) with ESMTP id 7207F98231 for <freebsd-questions@freebsd.org>; Sun, 8 Sep 2019 08:59:38 -0700 (PDT) Received: from localhost.localnet ([127.0.0.1] helo=elm.localnet) by elm.localnet with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.1 (FreeBSD)) (envelope-from <carlj@elm.localnet>) id 1i6zbF-000BtZ-7h for freebsd-questions@freebsd.org; Sun, 08 Sep 2019 08:59:37 -0700 Received: (from carlj@localhost) by elm.localnet (8.15.2/8.15.2/Submit) id x88FxaGU045728; Sun, 8 Sep 2019 08:59:36 -0700 (PDT) (envelope-from carlj) From: Carl Johnson <carlj@peak.org> To: freebsd-questions@freebsd.org Subject: Oddity in calendar output X-Clacks-Overhead: GNU Terry Pratchett Date: Sun, 08 Sep 2019 08:59:35 -0700 Message-ID: <86ftl6rd7c.fsf@elm.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-MAG-OUTBOUND: peakinternet.redcondor.net@207.55.16/22 X-Rspamd-Queue-Id: 46RJg94ZCRz3NSd X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=peak.org; spf=pass (mx1.freebsd.org: domain of carlj@peak.org designates 207.55.16.94 as permitted sender) smtp.mailfrom=carlj@peak.org X-Spamd-Result: default: False [-2.90 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.995,0]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-0.00)[asn: 13868(0.04), country: US(-0.05)]; DMARC_POLICY_ALLOW(-0.50)[peak.org,none]; RCVD_IN_DNSWL_LOW(-0.10)[94.16.55.207.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:207.55.0.0/17, country:US]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sun, 08 Sep 2019 17:48:22 -0000 I just realized that one calendar(1) entry seems to be notifying me in the wrong week. I have a calendar entry: September SatSecond Shrewsbury Fair (2 days) in my ~/calendar file to notify me on the second Saturday, but it notified me on the first Saturday. I get the following results: $ calendar -t 07-09-2019 Sep 7* Shrewsbury Fair (2 days) $ calendar -t 14-09-2019 $ September 7 is clearly the first Saturday, so why does it think that it is the second Saturday and the 14th is not? I also tried changing 'SatSecond' to 'Sat+2', but that gives the same result. Am I missing something obvious, or should I file a PR on this? Thanks for any suggestions. P.S. Look at shrewfaire.com if you want to know what Shrewsbury Fair is. -- Carl Johnson carlj@peak.org