Move @code to @samp when relevant for section Date and Time Format Codes

This commit is contained in:
thdox 2013-05-19 16:27:53 +02:00
parent 1fbdddb9dc
commit a206a9c797

View file

@ -13,6 +13,7 @@
@c | @option | @oindex | Ledger CLI Option (like --file) | @c | @option | @oindex | Ledger CLI Option (like --file) |
@c | @var | | Ledger CLI option Variable (like -f FILE) | @c | @var | | Ledger CLI option Variable (like -f FILE) |
@c | | @sindex | Ledger file Syntax | @c | | @sindex | Ledger file Syntax |
@c | @samp | | Example |
@copying @copying
@ -7872,7 +7873,7 @@ Two digit date
@end table @end table
@noindent @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. is simple to sort on.
@node Weekdays, Month, Days, Date and Time Format Codes @node Weekdays, Month, Days, Date and Time Format Codes
@ -7884,10 +7885,10 @@ as
@table @code @table @code
@item %m-%d-%Y %A @item %m-%d-%Y %A
yields @code{02-10-2010 Wednesday} yields @samp{02-10-2010 Wednesday}
@item %A %m-%d-%Y @item %A %m-%d-%Y
yields @code{Wednesday 02-10-2010} yields @samp{Wednesday 02-10-2010}
@end table @end table
@ -7928,10 +7929,10 @@ as
@table @code @table @code
@item %m-%d-%Y %B @item %m-%d-%Y %B
yields @code{02-10-2010 February} yields @samp{02-10-2010 February}
@item %B %m-%d-%Y @item %B %m-%d-%Y
yields @code{February 02-10-2010} yields @samp{February 02-10-2010}
@end table @end table
@ -7960,25 +7961,25 @@ Additional date format parameters which can be used:
@table @code @table @code
@item %U @item %U
week number Sunday as first day of week 0153 week number Sunday as first day of week, ranging 0153
@item %W @item %W
week number Monday as first day of week 0153 week number Monday as first day of week, ranging 0153
@item %V @item %V
week of the year 0153 week of the year, ranging 0153
@item %C @item %C
@code{cc} century 0099 century, ranging 0099
@item %D @item %D
yields @code{mm/dd/yy 02/10/10} yields @code{%m/%d/%y} as in @samp{02/10/10}
@item %x @item %x
locales date representation @code{02/10/2010} for the U.S. locales date representation, as @samp{02/10/2010} for the U.S.
@item %F @item %F
yields @code{%Y-%m-%d 2010-02-10} yields @code{%Y-%m-%d} as in @samp{2010-02-10}
@end table @end table