Skip to content

Commit 8c344db

Browse files
committed
doc: in flux-jobs(1) add D conversion flag info
Problem: The D conversion flag will convert both empty string and epoch time (0) to an empty string. But the epoch time conversion is not mentioned. Add note that epoch time will also be converted to empty string by the D conversion flag.
1 parent 8ae116c commit 8c344db

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/man1/flux-jobs.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,8 @@ the following conversion flags are supported by :program:`flux jobs`:
240240

241241
**!D**
242242
convert a timestamp field to ISO8601 date and time (e.g. 2020-01-07T13:31:00).
243-
Defaults to empty string if timestamp field does not exist.
243+
Defaults to empty string if timestamp field does not exist or the timestamp
244+
is 0 (i.e epoch time).
244245

245246
**!d**
246247
convert a timestamp to a Python datetime object. This allows datetime

0 commit comments

Comments
 (0)