diff --git a/src/main/lkt.c b/src/main/lkt.c index 50853bb33513a33b20c8f4e0c3e6a612e50cef1e..1b63f7e7525bcc3a24a3d3ef7f41d231e7b0f591 100644 --- a/src/main/lkt.c +++ b/src/main/lkt.c @@ -772,7 +772,7 @@ status__(struct cmd_args *args) #undef check_end struct tm *p_tm = localtime(&update_ts); - len = strftime(buff, LKT_MESSAGE_MAX - 1, "%d %H:%M:%S", p_tm); // doc says %F should exists but isn't + len = strftime(buff, LKT_MESSAGE_MAX - 1, "%Y-%m-%d %H:%M:%S", p_tm); buff[len] = '\0'; int pla_m = time_pos / 60;