add -1 as special case to time parameters

SUP-2290 #time 3h