Use %Ef instead of hardcoded %b %e
This commit is contained in:
parent
fdf4932c52
commit
6c274b5853
@ -323,7 +323,7 @@ show_today(users, logins, secs)
|
|||||||
char date[64];
|
char date[64];
|
||||||
time_t yesterday = secs - 1;
|
time_t yesterday = secs - 1;
|
||||||
|
|
||||||
(void)strftime(date, sizeof (date), "%b %e total",
|
(void)strftime(date, sizeof (date), "%Ef total",
|
||||||
localtime(&yesterday));
|
localtime(&yesterday));
|
||||||
|
|
||||||
/* restore the missing second */
|
/* restore the missing second */
|
||||||
|
Loading…
Reference in New Issue
Block a user