remove extra time digits if not needed