From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id wALKDsLuD2bPYwEA62LTzQ:P1 (envelope-from ) for ; Fri, 05 Apr 2024 14:29:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wALKDsLuD2bPYwEA62LTzQ (envelope-from ) for ; Fri, 05 Apr 2024 14:29:54 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=lysator.liu.se (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712320194; a=rsa-sha256; cv=none; b=HGwc1JwlazCwbcBkOykzgI5WPtwAEuQGxC1vJT4+52cXTTm4b2feh+FfrqjcoKj+Yuxgj0 BtnKXi6kxpV2wEMrUaQ7AvYKEKpGN2ikaL73qCwNV11dP8CbxkkWYZbQ+3HxiZruSsLy7Z adg+Fq5y81T+61pGdOcfoogWYQc/xF6wbssA/MZ2pKc66AYFSXbGiAa70biHgfu0Yk3yCo WDdG7Jvo6qBqwjeGxV5jGCURdN4dP4NcKSvzOTTnJvsSzYGxw3QAjN302JxmB+l4AxX49o JAzY2B0dgBzTD/QMDqKzSCc3vrk3DtadCbvfUKBDlnXXUb+X6L6uRJgweg9P3A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=lysator.liu.se (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712320194; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=uBQCAfquvu7nVMcKoY+GjObnMK/B+cV75mdSGQ+C81k=; b=BkyV4hvvtUXq48oLtWDT7bL833pm2n6MOV2FcjNUcB2cEkfdEMw7SRW97WS6O6rjN7ihzq OBTfmPm4peTxi9n9PfxrQbxYR+j56B3Ediaf1DQnjWGvJmjdCTZB9uMLkfFYPf+BU+tUde pEc2lLkoMHUYO3e2bN01QceOgs5ZXm4bh5HNlF4/eJxEkBySvvYPl108I3uk0etfCLROsQ FKO2eUABItcgoj3qDPNaGfOO5ns7Eh2IXPg11/5JaIqa8wDpQ7ZOBv/80ORYMQ4XStsSzG klyxtNQR6kfXbPYmB/G2ZyVgTPcbaBBNCGl6tra3xltzsNABHROzZoEhWTcjvA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 919F82292B for ; Fri, 5 Apr 2024 14:29:53 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rsigA-00046P-Dl; Fri, 05 Apr 2024 08:28:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rq9mb-0002Ys-5p for emacs-orgmode@gnu.org; Fri, 29 Mar 2024 06:48:25 -0400 Received: from mail.lysator.liu.se ([2001:6b0:17:f0a0::3]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rq9mZ-0001uH-9s for emacs-orgmode@gnu.org; Fri, 29 Mar 2024 06:48:24 -0400 Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 5B70F176FB for ; Fri, 29 Mar 2024 11:48:18 +0100 (CET) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id 4F56D177D4; Fri, 29 Mar 2024 11:48:18 +0100 (CET) Received: from totoro.lysator.liu.se (totoro.lysator.liu.se [IPv6:2001:6b0:17:f0a0::d8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id C16D217767 for ; Fri, 29 Mar 2024 11:48:16 +0100 (CET) Date: Fri, 29 Mar 2024 11:48:11 +0100 From: Anton Haglund To: emacs-orgmode@gnu.org Subject: Leap-year bug with todo-cycle Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="XVnf60wRMSTCLWy6" Content-Disposition: inline X-PGP-Key: https://www.lysator.liu.se/~aoh/pubkey.gpg.asc X-Virus-Scanned: ClamAV using ClamSMTP Received-SPF: pass client-ip=2001:6b0:17:f0a0::3; envelope-from=aoh@lysator.liu.se; helo=mail.lysator.liu.se X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 05 Apr 2024 08:28:19 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -7.05 X-Migadu-Queue-Id: 919F82292B X-Migadu-Spam-Score: -7.05 X-Migadu-Scanner: mx10.migadu.com X-TUID: jXZXB/umXJJu --XVnf60wRMSTCLWy6 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Hi! I think I have discovered a possible leap-year bug in todo-cycle. I have a TODO-entry which looks like this: SCHEDULED: <2024-02-29 Thu ++1y> When I cycle the TODO-entry with c-c c-t it becomes SCHEDULED: <2025-03-01 Sat ++1y> In my opinion it should become "2025-02-28 Fri" instead. If you don't agree please give me the reasoning behind this. Best regards, Anton Haglund --XVnf60wRMSTCLWy6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEQhtGDMWnn/u8uDBU/x+feajnKOUFAmYGnGYACgkQ/x+feajn KOXEHw/+K+FwWVIhoRB0h2dTWnGEc/+KtuB07extUMTJ82Gxglg9rKSQIIKU4Hpg B65oTnHG0C01N0h95wgu7XIosC3VnJ2BzaJnnOlFhqrwfaM806TEFXJj6357RmVu MjyRX0/UC3OoUFN7/hWyoYU/+6c/9fYihnQiJ1D0fH8u5kxpKTLqK5POI1haMIOb qKPFDV5hrn7u2qTq91f1fGL3l+lSlMbyTz8WzlJE7OxClWLKNrq0hnRJWieh5FeW QXC/12jFl7RcMpjPrWikUKgPxg07LpwbvOA3LNMq7VLGx8mHAXjULEKpCzQKjEtY uyfYCUNilnH9OKpNfQWpNpqzqwZCm7/BCMSppRdg/0JMVNixabtvDK46UztKQfwZ X0QuGvpHC512JR+lZJ9jWh0YjvClJfb3TVPiP0GWplN++7p+soCxzpvM1YGa0vnP yxcc9lQTeHMWQAuK0mepAzvjC6NmTPxes9vh5puLSadx0Fkh5i3FdI2r8fTsTf/G 6+Bx4z50rGPuyQc14AReUFzOLIx47OSVWLbCZ+/s9NJw0yi8GR5HOBu8l+OU+RaW 23ZYgVoeM2TQcGI0QBrwluePwrz32cu5uP8uHw/hfk18V3fJLT7NBhHklTiZioth c5jxvL64lYskTURGc6FbZOVaf53gtfGcLInuI2EoEhBd8cVdUR8= =IPIu -----END PGP SIGNATURE----- --XVnf60wRMSTCLWy6--