Add time format validator