[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date
From: |
Ihor Radchenko |
Subject: |
Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?) |
Date: |
Sat, 18 May 2024 13:09:03 +0000 |
Stefan Nobis <stefan-ml@snobis.de> writes:
> Ihor Radchenko <yantar92@posteo.net> writes:
>
>> +1m! is awkward - what if [2024-05-12 +1m!]?
>
> You are right. I have not really spent time to think about a nice
> syntax. But I think it needs to be encoded in the increment part, not
> in the date part (because after the first increment, the information
> that we want the last day of each month would be lost; and always
> using yyyy-(mm+1)--1 also seems a bit awkward).
It does not have to be lost. We can adjust the repeater function to
handle negative dates/months specially, so that
[2024-05--1 +1m] -> [2024-06--1 +1m]
> So maybe "+1mx" or some other way to encode "go to last day of next
> month" directly into the increment?
How does it make my example with [2024-05-12 +1m!] any less awkward?
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- Re: [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/05/13
- Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?), Max Nikulin, 2024/05/14
- Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?), Ihor Radchenko, 2024/05/14
- Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?), Stefan Nobis, 2024/05/14
- Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?), Ihor Radchenko, 2024/05/18
- Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?), Stefan Nobis, 2024/05/18
- Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?),
Ihor Radchenko <=
- Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?), Stefan Nobis, 2024/05/18
- Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?), Ihor Radchenko, 2024/05/18
- Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?), Max Nikulin, 2024/05/15
- Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?), Ihor Radchenko, 2024/05/18
- Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?), Max Nikulin, 2024/05/16
- Re: [POLL] Dealing with +1m/y repeaters when jumping to impossible date (should 05-31 +1m be 07-01 or 06-30?), Ihor Radchenko, 2024/05/18