revert workarounds for Intel ICC 19.x

This commit is contained in:
Axel Kohlmeyer
2025-01-12 20:13:24 -05:00
parent 4519489f8b
commit c476e6704b
2 changed files with 4 additions and 5 deletions

View File

@ -1804,7 +1804,7 @@ std::string utils::current_date()
{
time_t tv = time(nullptr);
std::tm today = fmt::localtime(tv);
return fmt::format("{:04d}-{:02d}-{:02d}", 1900 + today.tm_year, 1 + today.tm_mon, today.tm_mday);
return fmt::format("{:%Y-%m-%d}", today);
}
/* ----------------------------------------------------------------------