Small improvements to time recording