Skip to content

Commit 0e57087

Browse files
committed
;doc: date adjustments: edits
1 parent 776ad26 commit 0e57087

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

hledger/hledger.m4.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4689,23 +4689,23 @@ The following standard intervals can be enabled with command-line flags:
46894689

46904690
More complex intervals can be specified using `-p/--period`, described below.
46914691

4692-
## Start date adjustment
4692+
## Date adjustments
46934693

4694-
When there is a report interval (other than daily), a "soft" report start date -
4694+
A report interval other than daily may cause the report's start and end date
4695+
to be adjusted, as follows:
4696+
4697+
A "soft" start date -
46954698
ie one which was not specified explicitly, but inferred, perhaps from the journal -
4696-
will be adjusted earlier if needed to start on a natural period boundary.
4699+
will be adjusted earlier if needed to start on a natural subperiod boundary.
46974700

4698-
A "hard" report date - one specified explicitly, eg by `-b` - will not be adjusted
4699-
(since hledger 1.29).
4700-
This makes it possible to start subperiods on any date.
4701-
Note if you specify a start date, it's ideal to set it to a period boundary
4701+
A "hard" start date - one specified explicitly, eg by `-b` - will not be adjusted (since hledger 1.29).
4702+
This makes it possible to start the subperiods on any date.
4703+
If you specify a start date, it's ideal to set it to a subperiod boundary
47024704
(eg a monday for weekly reports, a first day of month for monthly reports..),
4703-
as this will generate simple period headings; otherwise they will be more verbose.
4704-
4705-
## End date adjustment
4705+
as this will generate simple subperiod headings; otherwise they will be more verbose.
47064706

4707-
The report end date (even if specified explicitly) will be adjusted later
4708-
as needed to enclose a whole number of report intervals.
4707+
The end date - even if specified explicitly, eg by `-e` -
4708+
will be adjusted later as needed to enclose a whole number of report intervals.
47094709
Eg in a `--yearly` report, all subperiods will be one year long.
47104710

47114711
## Period expressions

0 commit comments

Comments
 (0)