Skip to content

Commit 14cec6d

Browse files
committed
doc: document updates to !d conversion specifier
Problem: The documentation of `!d` handling in flux-jobs(1) is out of date. Update the documentation to include that `!d` formats to an empty string when unset (is 0.), and that `h` is supported.
1 parent d6455c1 commit 14cec6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/man1/flux-jobs.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ the following conversion flags are supported by *flux-jobs*:
221221
convert a timestamp to a Python datetime object. This allows datetime
222222
specific format to be used, e.g. *{t_inactive!d:%H:%M:%S}*. Additionally,
223223
width and alignment can be specified after the time format by using
224-
two colons (``::``), e.g. *{t_inactive!d:%H:%M:%S::>20}*. Defaults to
225-
datetime of epoch if timestamp field does not exist.
224+
two colons (``::``), e.g. *{t_inactive!d:%H:%M:%S::>20}*. Returns an
225+
empty string (or "-" if the *h* suffix is used) for an unset timestamp.
226226

227227
**!F**
228228
convert a time duration in floating point seconds to Flux Standard

0 commit comments

Comments
 (0)