Skip to content

Commit c994a35

Browse files
committed
[fix][#29] 디데이 음양 반전
1 parent 2ca5b37 commit c994a35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DontForget/Sources/Presentations/Application/Common/Constants.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ struct Constants {
2020
let calendar = Calendar.current
2121
let startOfCurrentDate = calendar.startOfDay(for: Date())
2222
let startOfTargetDate = calendar.startOfDay(for: from)
23-
return calendar.dateComponents([.day], from: startOfCurrentDate, to: startOfTargetDate).day!
23+
return calendar.dateComponents([.day], from: startOfCurrentDate, to: startOfTargetDate).day! * -1
2424
}
2525
}

0 commit comments

Comments
 (0)