-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feature/166 home create schedule #182
base: develop
Are you sure you want to change the base?
Conversation
HStack { | ||
Circle() | ||
.frame(width: 6, height: 6) | ||
.foregroundStyle(Color.init(0xffFFB5B5)) |
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.
Color.init( -> Color(
해도 괜찮을 거 같아요
|
||
let weekdayName = { (dateString: String) -> String in | ||
let dateFormatter = DateFormatter() | ||
dateFormatter.dateFormat = "yyyy-MM-dd" |
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.
Shared 모듈에 Date 관련 util 함수 있는 걸로 기억합니다!
scheduleData = try await scheduleRepository.fetchScheduleBetween( | ||
.init( | ||
startAt: "\(currentTime[.year])-\(String(format: "%.2d", currentTime[.month]))-\(String(format: "%.2d", currentTime[.day]))", | ||
endAt: "\(currentTime[.year])-\(String(format: "%.2d", currentTime[.month]+1%12))-\(String(format: "%.2d", currentTime[.day]))" |
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.
이것도 Date관련 util에 parse함수 있을 거에요
No description provided.