emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Anton Haglund <aoh@lysator.liu.se>
To: emacs-orgmode@gnu.org
Subject: Leap-year bug with todo-cycle
Date: Fri, 29 Mar 2024 11:48:11 +0100	[thread overview]
Message-ID: <Zgaca3hJPS55Tw27@totoro.lysator.liu.se> (raw)

[-- Attachment #1: Type: text/plain, Size: 385 bytes --]

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


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

             reply	other threads:[~2024-04-05 12:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-29 10:48 Anton Haglund [this message]
2024-04-05 18:34 ` [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?) (was: Leap-year bug with todo-cycle) Ihor Radchenko
2024-04-05 19:53   ` Russell Adams
2024-04-05 21:18   ` jman
2024-04-05 21:27     ` Ihor Radchenko
2024-04-06 14:52   ` [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?) Max Nikulin
2024-04-07 11:47     ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Zgaca3hJPS55Tw27@totoro.lysator.liu.se \
    --to=aoh@lysator.liu.se \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).