Updates time format