~bzg/worg

1c56837d576d3197e3881abf312d06200368d40f — Ihor Radchenko 5 months ago 104102f
org-syntax.org (Clock): Document clock syntax without timestamp

* org-syntax.org (Clock): Add syntax pattern for clock without any
timestamp.  Add examples for all three patterns.

Link: https://orgmode.org/list/87frvpyzrf.fsf@localhost
1 files changed, 4 insertions(+), 1 deletions(-)

M org-syntax.org
M org-syntax.org => org-syntax.org +4 -1
@@ 879,6 879,7 @@ A clock element is structured according to the following pattern:
#+begin_example
clock: INACTIVE-TIMESTAMP
clock: INACTIVE-TIMESTAMP-RANGE DURATION
clock: DURATION
#+end_example

+ INACTIVE-TIMESTAMP :: An inactive [[#Timestamps][timestamp]] object.


@@ 887,10 888,12 @@ clock: INACTIVE-TIMESTAMP-RANGE DURATION
  - HH :: A number consisting of any number of digits.
  - MM :: A two digit number.

*Example*
*Examples*

#+begin_example
clock: [2024-10-12]
CLOCK: [2019-03-25 Mon 10:49]--[2019-03-25 Mon 11:31] =>  0:42
clock: => 12:30
#+end_example

*** Diary Sexp