This commit is contained in:
Philippe Teuwen
2019-04-14 13:37:53 +02:00
parent 681c8fd22a
commit 9676d788e0
5 changed files with 11 additions and 11 deletions

View File

@@ -1211,8 +1211,8 @@ static int CmdT55xxReadTrace(const char *Cmd) {
ct = localtime_s(&tm_buf, &now) == 0 ? &tm_buf : NULL;
#else
ct = localtime_r(&now, &tm_buf);
#endif
#endif
if (data.year > ct->tm_year - 110)
data.year += 2000;
else