From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id qFUwIn2TSGZkQQAAqHPOHw:P1 (envelope-from ) for ; Sat, 18 May 2024 13:39:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id qFUwIn2TSGZkQQAAqHPOHw (envelope-from ) for ; Sat, 18 May 2024 13:39:41 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Dy09hzs5; dmarc=pass (policy=none) header.from=posteo.net; 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=1716032381; a=rsa-sha256; cv=none; b=aljSePfNf4PoGoA8wzycP50TxW+u6IFOU7x9bX7LrBjqBanrO2IiNrHMJTxj3xMp9d5+t/ biF3S1viaV3QnHqc2E7EpoElEBm32M4fkix5TFhu3RYd2LLf0c0qDIB6MGuN883DNEEajQ 6wX/1BjWGSHDm1rUtOIJVkfbnm+pn5Kqx/wZoS1pLRmMFUgaa7+MCbHPrfjAG6xwXjFkWJ lVM1xgQBhNqVEwSr5S7Veao0x7kxTCnKzUF7w4avyRTHHO9RsowIszzUzw2u6gikJI0aJm VDrRHgagC97ePFt9fVPQcSHnS8qj8KdO5RFjYI/0EPVXhCeMDtrPYyRnwqz4pw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Dy09hzs5; dmarc=pass (policy=none) header.from=posteo.net; 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=1716032381; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ieEjWkHb2B+loJ6LGjZvZg53EiNaBJganalE+FDSRYM=; b=pZ2oYCiM7uZwy9TNtAYeMm2bpZ2EYIyuvX0jop0uU92pwdqlH/LFnMJfmjMhJKjhiAmEAE HAH5SKZNUhsreg+LW0p/YZqr+76nGhAF/Z+QhPzUoOK2fkKwgPwTTl6bEZbn0vZoTRDnRJ tR8q3/qqhQPBSVijyZ3YsR+POKGLY4PruKG/FSdcGok4s1vdGRZ+QwVVEFFuFN8qXUKJ1Z WnV9AjLylUh1NhsyN50NiGDaV9ULSC0FmnYgsy7sHqr5ETQzEL3D5PUAZWWV1DtJ5W44W7 2r129RPwlFkeo6Y8IQeFUQgYpaJ1TrU1HD31AmCdMZTXJxvedEI5PePqLt+Oew== 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 743D310734 for ; Sat, 18 May 2024 13:39:41 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8IOn-0005qI-Kz; Sat, 18 May 2024 07:38:53 -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 1s8IOl-0005q8-NK for emacs-orgmode@gnu.org; Sat, 18 May 2024 07:38:48 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s8IOe-00040d-5t for emacs-orgmode@gnu.org; Sat, 18 May 2024 07:38:45 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B13D8240101 for ; Sat, 18 May 2024 13:38:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1716032317; bh=bWgETB1UN/CxZiGtGqehbozHoZbPHWYZxTmAltyfrkE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Dy09hzs58jeGz220pS4m99SEWuTlKla7iOfQ/g9IppvX1quk7+yWC8zTlvo+cTgfo gmcc8fyJ+2V1dYh1tm8ozXQyIwMLgBDvIbJ0/PG6VshOseHpFEipOeprZTm5pqPxUn zIkOXU+18l1sR7dv17IxjRXJJc0kln6tDLo+CjleeJCfK85AnUKV3K221Izemi1FGm VRkaCONXxElukWGryCzMOVTlRt15mZoUJ7vq83zIOlgTq7kCxpEzO6VCj2+nyI88r+ PD0yHdIxmyXTRfXtqBGsa3bphY8SOpaTm2o3Rkm5FA7/XK3dAgjN0cAfA2jMZVEweQ 5vHmIuqDMtr2Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VhMKT0SVJz9rxF; Sat, 18 May 2024 13:38:36 +0200 (CEST) From: Ihor Radchenko To: Stefan Nobis Cc: emacs-orgmode@gnu.org Subject: Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?) In-Reply-To: References: <87frvzodze.fsf@localhost> <87v83if2io.fsf@localhost> <87seykpn58.fsf@localhost> Date: Sat, 18 May 2024 11:40:17 +0000 Message-ID: <87cypjtkke.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 743D310734 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.58 X-Spam-Score: -9.58 X-TUID: qRuAlq1T3Zww Stefan Nobis writes: > ... > And even if we would have access to the original date: It may be > something like the last day of February and from that alone it is not > evident, wether e.g. the 28. of each month should be used or the last > day of month. > > Therefore, I think, the only solution to this problem is to have some > kind of special 'last day of month' marker. Maybe something like > "+1m!" or any other way of encoding this "go to the last day of the > next month" directly into the increment specifier. +1m! is awkward - what if [2024-05-12 +1m!]? One option might be something like [2024-05--1 +1m] that will work nicely with glibc's time rounding conventions: (format-time-string "%Y-%m-%d" (encode-time '(0 0 0 -1 5 2024))) ; => 2024-04-29 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at