From 168009db46a5875238f9545a731308ea7f587025 Mon Sep 17 00:00:00 2001 From: Yangs Date: Sun, 28 Jul 2024 22:04:41 +0900 Subject: [PATCH 1/2] =?UTF-8?q?Modifying=20Spelling=20`=EC=A0=9C=EC=9E=91?= =?UTF-8?q?=EB=85=84`,=20Remove=20poorly=20used=20expressions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- arrow/locales.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arrow/locales.py b/arrow/locales.py index cd00b035..a7a85d0e 100644 --- a/arrow/locales.py +++ b/arrow/locales.py @@ -1140,7 +1140,6 @@ class KoreanLocale(Locale): } special_dayframes = { - -3: "그끄제", -2: "그제", -1: "어제", 1: "내일", @@ -1149,7 +1148,7 @@ class KoreanLocale(Locale): 4: "그글피", } - special_yearframes = {-2: "제작년", -1: "작년", 1: "내년", 2: "내후년"} + special_yearframes = {-2: "재작년", -1: "작년", 1: "내년", 2: "내후년"} month_names = [ "", From 16532483f7f87bdfba676cedccfc3275790a1a30 Mon Sep 17 00:00:00 2001 From: Yangs Date: Sun, 28 Jul 2024 22:07:10 +0900 Subject: [PATCH 2/2] =?UTF-8?q?add=20test=20Modifying=20Spelling=20`?= =?UTF-8?q?=EC=A0=9C=EC=9E=91=EB=85=84`,=20Remove=20poorly=20used=20expres?= =?UTF-8?q?sions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_locales.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_locales.py b/tests/test_locales.py index cd14274e..ece3e011 100644 --- a/tests/test_locales.py +++ b/tests/test_locales.py @@ -2390,14 +2390,14 @@ def test_format_relative(self): assert self.locale._format_relative("2시간", "hours", -2) == "2시간 전" assert self.locale._format_relative("하루", "day", -1) == "어제" assert self.locale._format_relative("2일", "days", -2) == "그제" - assert self.locale._format_relative("3일", "days", -3) == "그끄제" + assert self.locale._format_relative("3일", "days", -3) == "3일 전" assert self.locale._format_relative("4일", "days", -4) == "4일 전" assert self.locale._format_relative("1주", "week", -1) == "1주 전" assert self.locale._format_relative("2주", "weeks", -2) == "2주 전" assert self.locale._format_relative("한달", "month", -1) == "한달 전" assert self.locale._format_relative("2개월", "months", -2) == "2개월 전" assert self.locale._format_relative("1년", "year", -1) == "작년" - assert self.locale._format_relative("2년", "years", -2) == "제작년" + assert self.locale._format_relative("2년", "years", -2) == "재작년" assert self.locale._format_relative("3년", "years", -3) == "3년 전" def test_ordinal_number(self):