changes time layout