mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-16 06:18:47 +02:00
Document "trigbase" entry in JSON output.
This commit is contained in:
@@ -581,6 +581,11 @@ If the reminder contained a "delta" clause (+n or ++n), this key
|
||||
contains the delta value. If the "delta" value was +n, the value will
|
||||
be positive; if it was ++n, the value will be negative.
|
||||
.TP
|
||||
.B trigbase "\fIdate\fR"
|
||||
If the reminder included all of the day, month and year components, then
|
||||
\fBtrigbase\fR is the date made from those components, expressed in
|
||||
the format \fIYYYY-MM-DD\fR.
|
||||
.TP
|
||||
.B rep \fIn\fR
|
||||
If the reminder contained a "repeat" clause (*n), this key contains
|
||||
the repeat value.
|
||||
|
||||
@@ -4406,7 +4406,7 @@ Here is an example of how \fBtrigbase()\fR might be used:
|
||||
.PP
|
||||
.nf
|
||||
REM 2025-05-05 *7 UNTIL 2025-05-26 \\
|
||||
MSG Meeting: week #[(trigdate() - trigbase())/7+1]
|
||||
MSG Meeting: week #[(trigdate() - trigbase())/trigrep()+1]
|
||||
.fi
|
||||
.PP
|
||||
On 2025-05-05, it would print: "Meeting: week #1". On 2025-05-12,
|
||||
|
||||
Reference in New Issue
Block a user