chore(input): compress code for date input types