Serial monitor time output fix

Serial monitor now displays the correct time when t < 10 s and millis()
< 10 s.