Skip to content

Commit

Permalink
Merge pull request #167 from KUSITMS-29th-TEAM-B/fix/flight-166
Browse files Browse the repository at this point in the history
fix: 경험 작성 시 날짜 예외 처리 같은 날짜 포함으로 변경(#166)
  • Loading branch information
whereami2048 authored May 23, 2024
2 parents b7a83fc + 18facd5 commit 2e60634
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ data class Experience(

init {
require(title.length < 50) { "제목의 글자 수는 50자 제한입니다." }
require(startedAt.isBefore(endedAt)) { "활동 시작일은 종료일보다 빨라야 합니다."}
require(startedAt <= endedAt) { "활동 시작일은 종료일보다 빨라야 합니다."}
}

companion object {
Expand Down

0 comments on commit 2e60634

Please sign in to comment.