-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TNT-213] 트레이너 회원 목록에서 회원 초대 연결 & 트레이너 캘린더 API연결 #87
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
새벽까지 고생하셨습니다..! 🔥🔥🔥
startTime: self.startTime.toDate(format: .ISO8601)?.toString(format: .a_HHmm) ?? "", | ||
endTime: self.endTime.toDate(format: .ISO8601)?.toString(format: .a_HHmm) ?? "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
지금 와서 보니까 해당 내용은 Entity에서 Date로 관리하고,
화면에 표시할때 toString 해주면 더 좋았을 것 같네요!
나중에 한 번 반영해보죠..!
.onChange(of: store.state.selectedDate, { oldValue, newValue in | ||
let startOfDay = Calendar.current.startOfDay(for: newValue) | ||
let startOfDay: Date = Calendar.current.startOfDay(for: newValue) | ||
store.selectedDate = startOfDay | ||
store.send(.view(.calendarDateTap)) | ||
send(.calendarDateTap) | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이건 나중에 꼭 같이 봅시다..!
📌 What is the PR?
💭 Related Issues