Fix for #341

Changed bdatepicker in datepicker.