`/api/survey` 로 조사전달 생성 시 시간 표현 방식이 달라서 발생하는 문제
Closed this issue · 1 comments
skyil7 commented
프론트앤드에서 아래와 같이 요청 보냄
{
"title": "테스트 조사전달",
"questions": [
{
"type": "주관식",
"title": "이름",
"description": "주관",
"options": [
"",
""
]
},
{
"type": "객관식",
"title": "성별",
"description": "객관",
"options": [
"ㄴ",
"ㅇ",
"ㅅ"
]
}
],
"generation": "824",
"battalion": "4",
"company": "3",
"platoon": "1",
"range": "ALL",
"platoonNum": "431",
"startDate": "2022-10-24T20:06",
"endDate": "2022-10-27T20:06"
}
이때, 시간이 yyyy-MM-ddThh:mm
으로 보내지는데, 백앤드에서는 yyyy-MM-dd hh:mm
을 요구함.
백앤드에서 처리"해줘"
skyil7 commented
이거 그냥 프론트에서 했음