From 34d45d6d4e5ae640b6f3c5d00a5fb531e1511368 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Thu, 22 Jun 2000 15:09:51 +0000 Subject: [PATCH] Use %Ef instead of hardcoded %b %e --- usr.sbin/ac/ac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/ac/ac.c b/usr.sbin/ac/ac.c index fa21596d126..07d5bed1395 100644 --- a/usr.sbin/ac/ac.c +++ b/usr.sbin/ac/ac.c @@ -323,7 +323,7 @@ show_today(users, logins, secs) char date[64]; time_t yesterday = secs - 1; - (void)strftime(date, sizeof (date), "%b %e total", + (void)strftime(date, sizeof (date), "%Ef total", localtime(&yesterday)); /* restore the missing second */