Fix typo in src/timer.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user