diff options
author | Ian2020 <Ian2020@users.noreply.github.com> | 2023-11-29 13:12:24 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2024-08-06 11:08:15 -1000 |
commit | 762353945a744ae4b89970b9e08c2c22a52ddbff (patch) | |
tree | 1e3cc5fcbe4f89c5134f0fcb7a5f7ba3a8fb372d /doc/ledger3.texi | |
parent | b7be0a1fedfeec26e4b7d35357157d5a9209f3ee (diff) | |
download | fork-ledger-762353945a744ae4b89970b9e08c2c22a52ddbff.tar.gz fork-ledger-762353945a744ae4b89970b9e08c2c22a52ddbff.tar.bz2 fork-ledger-762353945a744ae4b89970b9e08c2c22a52ddbff.zip |
Add new --align-intervals option.
Diffstat (limited to 'doc/ledger3.texi')
-rw-r--r-- | doc/ledger3.texi | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi index f6cc6230..8c3ab3e8 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -6343,6 +6343,13 @@ transactions. @item --add-budget Show only unbudgeted postings. +@item --align-intervals +@findex --start-of-week @var{INT} +Use the begin time of a period expression as the start of its intervals, if +specified (@pxref{Period Expressions}). For example with a period expression of +"weekly from 2009/01/10" then the begin time of "2009/01/10 will be used as the +start of the weekly intervals. Overrides @samp{--start-of-week @var{INT}}. + @item --amount @var{EXPR} @itemx -t @var{EXPR} Apply the given value expression to the posting amount (@pxref{Value @@ -7052,9 +7059,10 @@ to sort. Sort the postings within transactions using the given value expression. @item --start-of-week @var{INT} +@findex --align-intervals Tell ledger to use a particular day of the week to start its ``weekly'' summary. @samp{--start-of-week=1} specifies Monday as the start of the -week. +week. Can be overriden by @samp{--align-intervals}. @item --subtotal @itemx -s @@ -7953,6 +7961,11 @@ October. The possible forms are: in <SPEC> @end smallexample +@findex --align-intervals +Intervals begin at the start of the week, first day of the month, +quarter or year. This can be overridden by specifying @option{--align-intervals} +which will instead use the begin time if specified. + Here are a few examples of period expressions: @smallexample @@ -7963,6 +7976,7 @@ weekly from last month from sep to oct from 10/1 to 10/5 monthly until 2005 +monthly from 2005/04/06 from apr until nov last oct |