emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Schedule org task for last day of every month
@ 2017-03-27 20:04 Jesse Johnson
  0 siblings, 0 replies; only message in thread
From: Jesse Johnson @ 2017-03-27 20:04 UTC (permalink / raw)
  To: emacs-orgmode

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

Hi all,

How do I schedule a repeating org-mode task for the last day of every month?

As is, when I set a task deadlines like |DEADLINE: <2017-03-31 Fri 
+1m>|, marking it done shifts the date to |DEADLINE: <2017-05-01 Fri 
+1m>| which is a day too late if the deadline is the end of the month. 
Dates scheduled for the beginning of the month properly advance to the 
first of the following month, regardless of number of days in each 
month, so there is inconsistency in how the beginning and end of months 
are treated.

I previously posted this question on the Emacs StackExchange: 
http://emacs.stackexchange.com/questions/31683/schedule-org-task-for-last-day-of-every-month

I received solutions involving either manually duplicating date-shifted 
tasks or creating a custom diary function. Since scheduling repeating 
deadlines for the end of each month is a common use case, I feel this 
should be built into org mode if it is not already. If the same logic 
which shifts dates at the beginning of the month is applied to the end 
of the month, a nice symmetry would be created without adding any 
additional notation. Then |<2017-03-31 Fri +1m> |would shift to 
|<2017-04-30 Sun +1m> |as I originally expected it to.

Thoughts? I am willing to implement this feature and update the docs.

Jesse


[-- Attachment #2: Type: text/html, Size: 1867 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-27 20:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-27 20:04 Schedule org task for last day of every month Jesse Johnson

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).