Convert integers to time when appropriate.