Allow inputs that span midnight