From e03e835c8fa31447829fba7c4daca4cf7a53d046 Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Thu, 26 Sep 2002 19:06:12 +0000
Subject: [PATCH] Change time format to look like that of squeue (with seconds
 added).

---
 src/api/job_info.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api/job_info.c b/src/api/job_info.c
index 9eb6c1f7a34..2d450fe3e89 100644
--- a/src/api/job_info.c
+++ b/src/api/job_info.c
@@ -106,7 +106,7 @@ make_time_str (time_t *time, char *string)
 	struct tm time_tm;
 
 	localtime_r (time, &time_tm);
-	sprintf ( string, "%d/%d,%d:%2.2d:%2.2d", (time_tm.tm_mon+1), time_tm.tm_mday, 
+	sprintf ( string, "%2.2u/%2.2u-%2.2u:%2.2u:%2.2u", (time_tm.tm_mon+1), time_tm.tm_mday, 
 		time_tm.tm_hour, time_tm.tm_min, time_tm.tm_sec);
 }
 
-- 
GitLab