Skip to content

Commit

Permalink
πŸ”₯ :: ν•„μš”μ—†λŠ” μ½”λ“œ μ‚­μ œ
Browse files Browse the repository at this point in the history
  • Loading branch information
BJCHO0501 committed Nov 7, 2023
1 parent 18d3739 commit 14ad419
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ class MealDetailViewModel: ObservableObject {
let today = Calendar.current.startOfDay(for: Date())
return allMenu.firstIndex {
let day = $0.date.split(separator: "μ›”")[1].filter { Int(String($0)) != nil }
print(day)
return Int(String(day)) ?? 0 >= Int(today.toString(format: "d")) ?? 0
} ?? 0
}
Expand Down

0 comments on commit 14ad419

Please sign in to comment.