time format fixes