summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorthdox <thdox@free.fr>2013-05-19 16:27:53 +0200
committerthdox <thdox@free.fr>2013-05-20 23:23:44 +0200
commita206a9c797fd3ec2f77a3bfe0476d35c43b59292 (patch)
treeb427dd3058a98e67f6331942dbf43b9f40fac6d2 /doc
parent1fbdddb9dcee8d12a86a45d2875a41427c91561f (diff)
downloadfork-ledger-a206a9c797fd3ec2f77a3bfe0476d35c43b59292.tar.gz
fork-ledger-a206a9c797fd3ec2f77a3bfe0476d35c43b59292.tar.bz2
fork-ledger-a206a9c797fd3ec2f77a3bfe0476d35c43b59292.zip
Move @code to @samp when relevant for section Date and Time Format Codes
Diffstat (limited to 'doc')
-rw-r--r--doc/ledger3.texi25
1 files changed, 13 insertions, 12 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi
index f36a2dcd..ef603a98 100644
--- a/doc/ledger3.texi
+++ b/doc/ledger3.texi
@@ -13,6 +13,7 @@
@c | @option | @oindex | Ledger CLI Option (like --file) |
@c | @var | | Ledger CLI option Variable (like -f FILE) |
@c | | @sindex | Ledger file Syntax |
+@c | @samp | | Example |
@copying
@@ -7872,7 +7873,7 @@ Two digit date
@end table
@noindent
-So @code{"%Y%m%d"} yields @code{20111214} which provides a date that
+So @code{"%Y%m%d"} yields @samp{20111214} which provides a date that
is simple to sort on.
@node Weekdays, Month, Days, Date and Time Format Codes
@@ -7884,10 +7885,10 @@ as
@table @code
@item %m-%d-%Y %A
-yields @code{02-10-2010 Wednesday}
+yields @samp{02-10-2010 Wednesday}
@item %A %m-%d-%Y
-yields @code{Wednesday 02-10-2010}
+yields @samp{Wednesday 02-10-2010}
@end table
@@ -7928,10 +7929,10 @@ as
@table @code
@item %m-%d-%Y %B
-yields @code{02-10-2010 February}
+yields @samp{02-10-2010 February}
@item %B %m-%d-%Y
-yields @code{February 02-10-2010}
+yields @samp{February 02-10-2010}
@end table
@@ -7960,25 +7961,25 @@ Additional date format parameters which can be used:
@table @code
@item %U
-week number Sunday as first day of week 01–53
+week number Sunday as first day of week, ranging 01–53
@item %W
-week number Monday as first day of week 01–53
+week number Monday as first day of week, ranging 01–53
@item %V
-week of the year 01–53
+week of the year, ranging 01–53
@item %C
-@code{cc} century 00–99
+century, ranging 00–99
@item %D
-yields @code{mm/dd/yy 02/10/10}
+yields @code{%m/%d/%y} as in @samp{02/10/10}
@item %x
-locale’s date representation @code{02/10/2010} for the U.S.
+locale’s date representation, as @samp{02/10/2010} for the U.S.
@item %F
-yields @code{%Y-%m-%d 2010-02-10}
+yields @code{%Y-%m-%d} as in @samp{2010-02-10}
@end table