test(datepicker): remove unused variable

Closes #1648