doc: timedot doc fixes
This commit is contained in:
parent
06b54bf05e
commit
8badaf3b87
@ -20,7 +20,7 @@ Eg you could record a single-entry journal of financial transactions, perhaps sl
|
|||||||
|
|
||||||
A timedot file contains a series of day entries.
|
A timedot file contains a series of day entries.
|
||||||
A day entry begins with a date, and is followed by category/quantity pairs, one per line.
|
A day entry begins with a date, and is followed by category/quantity pairs, one per line.
|
||||||
Dates are hledger-style [simple date](#simple-dates) (see hledger_journal(5)).
|
Dates are hledger-style [simple dates](#simple-dates) (see hledger_journal(5)).
|
||||||
Categories are hledger-style account names, optionally indented.
|
Categories are hledger-style account names, optionally indented.
|
||||||
There must be at least two spaces between the category and the quantity.
|
There must be at least two spaces between the category and the quantity.
|
||||||
Quantities can be written in two ways:
|
Quantities can be written in two ways:
|
||||||
|
|||||||
@ -792,7 +792,7 @@ hledger can also read timelog (aka timeclock) files.
|
|||||||
these are (a subset of)
|
these are (a subset of)
|
||||||
[timeclock.el](http://www.emacswiki.org/emacs/TimeClock)'s format,
|
[timeclock.el](http://www.emacswiki.org/emacs/TimeClock)'s format,
|
||||||
containing clock-in and clock-out entries as in the example below.
|
containing clock-in and clock-out entries as in the example below.
|
||||||
The date is a [simple date](#simple-dates) (also, [default year directives](#default-year) work).
|
The date is a [simple dates](#simple-dates) (also, [default year directives](#default-year) work).
|
||||||
The time format is HH:MM[:SS][+-ZZZZ]. Seconds and timezone are optional.
|
The time format is HH:MM[:SS][+-ZZZZ]. Seconds and timezone are optional.
|
||||||
The timezone, if present, must be four digits and is ignored
|
The timezone, if present, must be four digits and is ignored
|
||||||
(currently the time is always interpreted as a local time).
|
(currently the time is always interpreted as a local time).
|
||||||
@ -857,7 +857,7 @@ It can be formatted like a bar chart, making clear at a glance where time was sp
|
|||||||
Though called "timedot", the format does not specify the commodity being logged, so could represent other dated, quantifiable things.
|
Though called "timedot", the format does not specify the commodity being logged, so could represent other dated, quantifiable things.
|
||||||
Eg you could record a single-entry journal of financial transactions, perhaps slightly more conveniently than with hledger_journal(5) format.
|
Eg you could record a single-entry journal of financial transactions, perhaps slightly more conveniently than with hledger_journal(5) format.
|
||||||
|
|
||||||
## Format
|
#### Format
|
||||||
|
|
||||||
A timedot file contains a series of day entries.
|
A timedot file contains a series of day entries.
|
||||||
A day entry begins with a date, and is followed by category/quantity pairs, one per line.
|
A day entry begins with a date, and is followed by category/quantity pairs, one per line.
|
||||||
@ -917,6 +917,8 @@ $ hledger -f t.timedot --alias /\\./=: bal -W
|
|||||||
Here is a
|
Here is a
|
||||||
[sample.timedot](https://raw.github.com/simonmichael/hledger/master/data/sample.timedot).
|
[sample.timedot](https://raw.github.com/simonmichael/hledger/master/data/sample.timedot).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### CSV
|
### CSV
|
||||||
|
|
||||||
hledger can also read
|
hledger can also read
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user