Fix typo in src/timer.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Axel Kohlmeyer
2025-04-24 07:53:05 -04:00
committed by GitHub
parent 2d70947044
commit a1fc036e25

View File

@ -269,7 +269,7 @@ void Timer::modify_params(int narg, char **arg)
#if defined(FMT_STATIC_THOUSANDS_SEPARATOR) #if defined(FMT_STATIC_THOUSANDS_SEPARATOR)
char outstr[200]; char outstr[200];
struct tm *tv = gmtime(&((time_t) _timeout)); struct tm *tv = gmtime(&((time_t) _timeout));
strftime(outstr, 200, "%02d:%M:%S", tv) strftime(outstr, 200, "%02d:%M:%S", tv);
timeout = outstr; timeout = outstr;
#else #else
std::tm tv = fmt::gmtime((std::time_t) _timeout); std::tm tv = fmt::gmtime((std::time_t) _timeout);