From 7d62bb75448e523f70b64dfde815ca99bf8d1ddb Mon Sep 17 00:00:00 2001 From: Kubat <mael.martin31@gmail.com> Date: Thu, 2 Dec 2021 00:23:14 +0100 Subject: [PATCH] LKT: Replace the %F by %Y-%m-%D which should be the same thing --- src/main/lkt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/lkt.c b/src/main/lkt.c index 50853bb3..1b63f7e7 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; -- GitLab