Software/greenhouse-app/src/app/components/App.js
// function to handle change in datePicker
function to handle change in datePicker
function to handle change in datePicker
handleChange(e) {
    const dateInit = moment(e.target.value).format("YYYY-MM-D");
    var date = new Date(dateInit);
    date.setUTCDate(date.getUTCDate() + 1);
    const dateEnd = moment(date).utc().format("YYYY-MM-D");
  }
handleChange ( e ) { const dateInit = moment ( e . target . value ) . format ( "YYYY-MM-D" ) ; var date = new Date ( dateInit ) ; date . setUTCDate ( date . getUTCDate ( ) + 1 ) ; const dateEnd = moment ( date ) . utc ( ) . format ( "YYYY-MM-D" ) ; }
function to handle change in datePicker
function to handle change in datePicker
// this.fetchTaskbyDate(); // const myDate = moment(e.target.value).format("MMM D, YYYY");