fixed missing code for date-input-calendar