age format fixed for tx info

This commit is contained in:
moneroexamples 2016-04-22 02:13:00 +00:00
parent a9c7808890
commit a6c2105b85
1 changed files with 1 additions and 1 deletions

View File

@ -773,7 +773,7 @@ namespace xmreg {
// if have days or years, change age format
if (delta_time[0] > 0 || full_format == true)
{
age_str = fmt::format("{:02d}:{:02d}:{:02d}:{:02d}:{:02d}",
age_str = fmt::format("{:02d}:{:03d}:{:02d}:{:02d}:{:02d}",
delta_time[0], delta_time[1], delta_time[2],
delta_time[3], delta_time[4]);