[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Do something useful with ".+" and hours repeaters
From: |
Nicolas Goaziou |
Subject: |
Re: Do something useful with ".+" and hours repeaters |
Date: |
Mon, 06 Apr 2020 15:23:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hello,
Kyle Meyer <address@hidden> writes:
> You could use floor's DIVISOR argument:
>
> (floor (- (org-time-stamp-to-now ts t)) 60)
Good catch! I keep forgetting about this argument.
I added tests, mentioned the change in ORG-NEWS, and applied the patch.
I hesitated using the UPDOWN optional argument from
`org-timestamp-change' (i.e., obey to
`org-time-stamp-rounding-minutes'), but eventually decided to ignore it
for now. We can always reconsider this later on.
Thank you.
Regards,
--
Nicolas Goaziou