From 34716e1ec8cc09f7f8fba7625c2a733b984053f8 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 11 Nov 2021 15:07:55 +0100 Subject: Format listed jobs timestamps without milliseconds Signed-off-by: Matthias Beyer --- src/commands/db.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/commands/db.rs b/src/commands/db.rs index 605754b..f79306b 100644 --- a/src/commands/db.rs +++ b/src/commands/db.rs @@ -524,7 +524,7 @@ fn jobs(conn_cfg: DbConnectionConfig<'_>, matches: &ArgMatches) -> Result<()> { Ok(vec![ submit.uuid.to_string(), job.uuid.to_string(), - submit.submit_time.to_string(), + submit.submit_time.format("%Y-%m-%d %H:%M:%S").to_string(), ep.name, success, package.name, -- cgit v1.2.3