Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
flux-job: Add --time-format option #2142
As discussed in #2074, it'd be nice to format job eventlog entry timestamps.
So I elected to have
Obviously we can do differently, dunno what people's opinions are.
My feeling wasn't strong, but just wondering if the
makes sense to me b/c you see
the iso output seems to make the most sense to me by default?
Do not output eventlog entry timestamps in ISO 8601 format, just output them as raw floating point values.
Support --time-format=offset option, which will output the offset time each eventlog entry was written, assuming the first eventlog entry was at time 0.0. This is a useful feature to see how long stages/events took within a job. Add unit tests.
@@ Coverage Diff @@ ## master #2142 +/- ## ========================================== + Coverage 80.39% 80.42% +0.02% ========================================== Files 200 200 Lines 31733 31745 +12 ========================================== + Hits 25513 25530 +17 + Misses 6220 6215 -5