summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorthdox <thdox@free.fr>2015-09-18 20:51:33 +0200
committerthdox <thdox@free.fr>2015-09-18 22:27:22 +0200
commit075ac7d4d01e9b317540e7d2d6de92b2848afee0 (patch)
treee24a68b12c4250bb29bfe68bbeb35d1f902eeac9 /doc
parent3e605f677fcfaa3bec83b9c770f386428ab9d902 (diff)
downloadfork-ledger-075ac7d4d01e9b317540e7d2d6de92b2848afee0.tar.gz
fork-ledger-075ac7d4d01e9b317540e7d2d6de92b2848afee0.tar.bz2
fork-ledger-075ac7d4d01e9b317540e7d2d6de92b2848afee0.zip
Restoring @code as this is an keyword external to ledger itself.
Diffstat (limited to 'doc')
-rw-r--r--doc/ledger3.texi12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi
index f2b3c682..5d8ab55c 100644
--- a/doc/ledger3.texi
+++ b/doc/ledger3.texi
@@ -8247,8 +8247,8 @@ Evaluate @var{string} as format just like the @option{--format} option.
@end defun
@defun format_date date format
-Return the @var{date} as a string using @var{format}. See strftime (3)
-for format string details.
+Return the @var{date} as a string using @var{format}. See
+@code{strftime (3)} for format string details.
@smallexample @c command:9605B13,with_input:3406FC1
$ ledger -f expr.dat --format "%(format_date(date, '%A, %B %d. %Y'))\n" reg assets
@end smallexample
@@ -8258,8 +8258,8 @@ Friday, January 16. 2015
@end defun
@defun format_datetime datetime format
-Return the @var{datetime} as a string using @var{format}. Refer to strftime (3)
-for format string details.
+Return the @var{datetime} as a string using @var{format}. Refer to
+@code{strftime (3)} for format string details.
@end defun
@defun get_at sequence index
@@ -8600,8 +8600,8 @@ $ ledger -f expr.dat --format "%12(5*O)\n" reg assets
@end smallexample
@item [DATEFMT]
-Inserts the result of formatting a posting's date with a date
-format string, exactly like those supported by strftime (3). For
+Inserts the result of formatting a posting's date with a date format
+string, exactly like those supported by @code{strftime (3)}. For
example: @samp{%[%Y/%m/%d %H:%M:%S]}.
@item S