Closed Gracechung-sw closed 3 years ago
const startDayValue = new Date(data.data.results[0]['startdate']).getDay(); const endDayValue = new Date(data.data.results[0]['enddate']).getDay(); startDay: this.state.weekName[startDayValue], endDay: this.state.weekName[endDayValue],
를 constructor에 추가해주어서 날짜랜더링과 요일랜더링이 함께 될 수 있도록 수정하였습니다. 디자인은 동일합니다. (월, 일, 요일로 통일, 시간은 : 으로 통일)
를 constructor에 추가해주어서 날짜랜더링과 요일랜더링이 함께 될 수 있도록 수정하였습니다. 디자인은 동일합니다. (월, 일, 요일로 통일, 시간은 : 으로 통일)