correction to time output on clock for certain times