This is a shim for date and time inputs.