- int64_t temp=td.usec;
- bool first=true;
- print_part(ss, temp, day.raw(), '-', first);
- print_part(ss, temp, hour.raw(), ':', first);
- print_part(ss, temp, min.raw(), ':', first);
- print_part(ss, temp, sec.raw(), 0, first);
- if(temp)
+ bool first=true;
+ print_part(ss, value, 86400000000LL, 0, first);
+ print_part(ss, value, 3600000000LL, '-', first);
+ print_part(ss, value, 60000000LL, ':', first);
+ print_part(ss, value, 1000000LL, ':', first);
+
+ if(value)