lib/mu: use fmt-based time/date formatting

For a small speedup
This commit is contained in:
Dirk-Jan C. Binnema
2023-08-05 10:53:11 +03:00
parent 27c07280b1
commit 4945e699c8
8 changed files with 22 additions and 24 deletions

View File

@ -182,7 +182,7 @@ topic_store(const Mu::Store& store, const Options& opts)
if (t == 0)
return "never";
else
return time_to_string("%c", t);
return mu_format("{:%c}", mu_time(t));
};
Table info;