Skip to content

Commit

Permalink
[DEV-000] 활동보고서 시작일자 변경 및 테스트 에러 해결 (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
wonjunYou authored and 5uhwann committed Aug 30, 2024
1 parent e1b7b3f commit 258bf78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@
import ddingdong.ddingdongBE.domain.activityreport.domain.ActivityReport;
import ddingdong.ddingdongBE.domain.activityreport.domain.Participant;
import ddingdong.ddingdongBE.domain.club.entity.Club;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.List;

import lombok.Getter;

@Getter
public class RegisterActivityReportRequest {
public class CreateActivityReportRequest {

public static final String DATE_FORMAT = "yyyy-MM-dd HH:mm";

Expand Down Expand Up @@ -44,4 +42,4 @@ private LocalDateTime parseToDate(final LocalDateTime date) {
String dateString = date.format(DateTimeFormatter.ofPattern(DATE_FORMAT));
return LocalDateTime.parse(dateString, DateTimeFormatter.ofPattern(DATE_FORMAT));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
@RequiredArgsConstructor
public class ActivityReportService {

private static final String START_DATE = "2024-03-04";
private static final String START_DATE = "2024-09-02";
private static final int DEFAULT_TERM = 1;
private static final int CORRECTION_VALUE = 1;
private static final int TERM_LENGTH_OF_DAYS = 14;
Expand Down

0 comments on commit 258bf78

Please sign in to comment.