172
172
item(tt(%D{)var(string)tt(}))(
173
173
var(string) is formatted using the tt(strftime) function.
174
See manref(strftime)(3) for more details. Three additional codes are
175
available: tt(%f) prints the day of the month, like tt(%e) but
176
without any preceding space if the day is a single digit, and
177
tt(%K)/tt(%L) correspond to tt(%k)/tt(%l) for the hour of the day
178
(24/12 hour clock) in the same way.
174
See manref(strftime)(3) for more details. Various zsh
175
extensions provide numbers with no leading zero or space
176
if the number is a single digit:
179
sitem(tt(%f))(a day of the month)
180
sitem(tt(%K))(the hour of the day on the 24-hour clock)
181
sitem(tt(%L))(the hour of the day on the 12-hour clock)
184
The GNU extension that a `tt(-)' between the tt(%) and the
185
format character causes a leading zero or space to be stripped
186
is handled directly by the shell for the format characters tt(d), tt(f),
187
tt(H), tt(k), tt(l), tt(m), tt(M), tt(S) and tt(y); any other format
188
characters are provided to tt(strftime+LPAR()RPAR()) with any leading `tt(-)',
189
present, so the handling is system dependent. Further GNU
190
extensions are not supported at present.