Docs: Update example

This commit is contained in:
Adam Porter 2019-08-13 22:23:23 -05:00
parent 7cb80552ba
commit 9c45a020c1

View file

@ -53,7 +53,7 @@ This defines a simple list of stored views and a command to easily access them w
;; Formatting isn't required, but it looks better in the header than a struct. ;; Formatting isn't required, but it looks better in the header than a struct.
ts-format))) ts-format)))
(org-ql-search (org-agenda-files) (org-ql-search (org-agenda-files)
`(,type :from ,from :to ,(ts-now))))) `(,type :from ,from :to ,(ts-format (ts-now))))))
;; Show entries with any timestamp from last 7 days: ;; Show entries with any timestamp from last 7 days:
(org-ql-agenda-last-days 7) (org-ql-agenda-last-days 7)