Fix new/edit time inputs