[Org] Report for today ends 23:61
This commit is contained in:
parent
c76c7e3fd7
commit
1b6018dd84
@ -1093,14 +1093,13 @@ When not given, FILES defaults to `org-agenda-files’."
|
|||||||
(defun db/org-format-timeline-of-day (date &optional files)
|
(defun db/org-format-timeline-of-day (date &optional files)
|
||||||
"Format timeline of given DATE.
|
"Format timeline of given DATE.
|
||||||
DATE should be a string of the form %Y-%m-%d. The timeline will
|
DATE should be a string of the form %Y-%m-%d. The timeline will
|
||||||
be formatted for this day, starting at 00:00 and ending at
|
be formatted for this day, starting at 00:00 and ending at 23:61.
|
||||||
23:59 (sorry, no leap seconds supported yet). When not given,
|
When not given, FILES defaults to `org-agenda-files’."
|
||||||
FILES defaults to `org-agenda-files’."
|
|
||||||
(interactive "sDate (default today): ")
|
(interactive "sDate (default today): ")
|
||||||
(when (string-empty-p date)
|
(when (string-empty-p date)
|
||||||
(setq date (format-time-string "%Y-%m-%d")))
|
(setq date (format-time-string "%Y-%m-%d")))
|
||||||
(db/org-format-timeline (concat date " 00:00")
|
(db/org-format-timeline (concat date " 00:00")
|
||||||
(concat date " 23:59")
|
(concat date " 23:61")
|
||||||
files))
|
files))
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user