Skip to content

Commit

Permalink
fix: 한글 요일
Browse files Browse the repository at this point in the history
  • Loading branch information
jcw1031 committed Nov 21, 2023
1 parent 445dc2b commit e1308d5
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
import lombok.Getter;

import java.time.LocalDate;
import java.time.MonthDay;
import java.time.format.DateTimeFormatter;
import java.time.format.TextStyle;
import java.util.Locale;

@Getter
Expand Down Expand Up @@ -54,6 +52,6 @@ private static String dateParser(LocalDate startDate, LocalDate endDate) {
}

private static String dateFormatter(LocalDate date) {
return date.format(DateTimeFormatter.ofPattern("MM/dd(E)"));
return date.format(DateTimeFormatter.ofPattern("MM/dd(EEEEE)", Locale.KOREA));
}
}

0 comments on commit e1308d5

Please sign in to comment.