added formatting to timescales seconds and milliseconds