From 9209049cb534540c18f9f22eeb9310cca6ec2847 Mon Sep 17 00:00:00 2001 From: shkisme Date: Tue, 30 Jan 2024 17:10:33 +0900 Subject: [PATCH 1/3] =?UTF-8?q?fix:=20=EC=84=B8=EB=AF=B8=EB=82=98=20?= =?UTF-8?q?=ED=95=99=EA=B8=B0=20=EA=B3=84=EC=82=B0=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/keeper/homepage/global/util/semester/SemesterUtil.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/keeper/homepage/global/util/semester/SemesterUtil.java b/src/main/java/com/keeper/homepage/global/util/semester/SemesterUtil.java index 72b7c430a..1a78c8afd 100644 --- a/src/main/java/com/keeper/homepage/global/util/semester/SemesterUtil.java +++ b/src/main/java/com/keeper/homepage/global/util/semester/SemesterUtil.java @@ -26,6 +26,9 @@ public static LocalDate getSemesterFirstDate(LocalDate now) { if (FIRST_SEMESTER.contains(now.getMonth())) { return LocalDate.of(now.getYear(), MARCH, 1); } + if (now.getMonth() == JANUARY || now.getMonth() == FEBRUARY) { + return LocalDate.of(now.getYear() - 1, SEPTEMBER, 1); + } return LocalDate.of(now.getYear(), SEPTEMBER, 1); } } From 58cba1e247f15dfe9f9940d9412f6953254b0a0f Mon Sep 17 00:00:00 2001 From: shkisme Date: Tue, 30 Jan 2024 17:10:48 +0900 Subject: [PATCH 2/3] =?UTF-8?q?feat:=20=EA=B5=AC=EA=B8=80=20=ED=8F=AC?= =?UTF-8?q?=EB=A9=94=ED=84=B0=20=EB=93=B1=EB=A1=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- intellij-java-google-style.xml | 598 +++++++++++++++++++++++++++++++++ 1 file changed, 598 insertions(+) create mode 100644 intellij-java-google-style.xml diff --git a/intellij-java-google-style.xml b/intellij-java-google-style.xml new file mode 100644 index 000000000..f3a6743ef --- /dev/null +++ b/intellij-java-google-style.xml @@ -0,0 +1,598 @@ + + + + + + From d5769e43e7bfa8d2db30b81d12a0e4bf886c02e0 Mon Sep 17 00:00:00 2001 From: shkisme Date: Tue, 30 Jan 2024 17:15:55 +0900 Subject: [PATCH 3/3] =?UTF-8?q?fix:=20GPT=20=EC=BD=94=EB=93=9C=20=EB=A6=AC?= =?UTF-8?q?=EB=B7=B0=20workflow=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gpt_review.yml | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 .github/workflows/gpt_review.yml diff --git a/.github/workflows/gpt_review.yml b/.github/workflows/gpt_review.yml deleted file mode 100644 index d5886c27e..000000000 --- a/.github/workflows/gpt_review.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Code Review - -permissions: - contents: read - pull-requests: write - -on: - pull_request: - types: [opened, synchronize] - -jobs: - test: - if: ${{ contains(github.event.*.labels.*.name, 'gpt review') }} - runs-on: ubuntu-latest - steps: - - uses: anc95/ChatGPT-CodeReview@main - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - LANGUAGE: Korean