From 93ffa73caab311428779aaf179dd34cef984badf Mon Sep 17 00:00:00 2001 From: Dmytro Kolesnyk Date: Fri, 30 Aug 2024 17:24:07 +0300 Subject: [PATCH] Fix Incorrect City Spelling in `uk_UA` locale (#2084) --- faker/providers/automotive/uk_UA/__init__.py | 6 +++--- faker/providers/date_time/__init__.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/faker/providers/automotive/uk_UA/__init__.py b/faker/providers/automotive/uk_UA/__init__.py index 2e933f3832..933153b3bc 100644 --- a/faker/providers/automotive/uk_UA/__init__.py +++ b/faker/providers/automotive/uk_UA/__init__.py @@ -18,20 +18,20 @@ class Provider(AutomotiveProvider): "Kyiv_reg": (("AI", "KI", "TI", "ME"), "10"), "Zhytomyr": (("AM", "KM", "TM", "MV"), "06"), "Zakarpattia": (("AO", "KO", "MT", "MO"), "07"), - "Zaporizhia": (("AR", "KR", "TR", "MR"), "08"), + "Zaporizhzhia": (("AR", "KR", "TR", "MR"), "08"), "IvanoFrankivsk": (("AT", "KT", "TO", "XS"), "09"), "Kirovohrad": (("BA", "NA", "XA", "EA"), "12"), "Luhansk": (("BB", "NV", "EE", "EV"), "13"), "Lviv": (("BS", "NS", "SS", "ES"), "14"), "Mykolaiv": (("BE", "NE", "XE", "XN"), "15"), - "Odessa": (("BN", "NN", "OO", "EN"), "16"), + "Odesa": (("BN", "NN", "OO", "EN"), "16"), "Poltava": (("BI", "NI", "XI", "EI"), "17"), "Rivne": (("BK", "NK", "XK", "EK"), "18"), "Sumy": (("BM", "NM", "XM", "EM"), "19"), "Ternopil": (("BO", "NO", "XO", "EO"), "20"), "Kharkiv": (("AX", "KX", "XX", "EX"), "21"), "Kherson": (("BT", "NT", "XT", "ET"), "22"), - "Khmelnytsky": (("BX", "NX", "OX", "RX"), "23"), + "Khmelnytskyi": (("BX", "NX", "OX", "RX"), "23"), "Cherkasy": (("SA", "IA", "OA", "RA"), "24"), "Chernihiv": (("SV", "IV", "OV", "RV"), "25"), "Chernivtsi": (("SE", "IE", "OE", "RE"), "26"), diff --git a/faker/providers/date_time/__init__.py b/faker/providers/date_time/__init__.py index 788d761ad7..0c67fb13fb 100644 --- a/faker/providers/date_time/__init__.py +++ b/faker/providers/date_time/__init__.py @@ -1426,7 +1426,7 @@ def _rand_seconds(self, start_datetime: int, end_datetime: int) -> float: ), Country( timezones=[ - "Europe/Kiev", + "Europe/Kyiv", "Europe/Uzhgorod", "Europe/Zaporozhye", "Europe/Simferopol", @@ -1435,7 +1435,7 @@ def _rand_seconds(self, start_datetime: int, end_datetime: int) -> float: alpha_3_code="UKR", continent="Europe", name="Ukraine", - capital="Kiev", + capital="Kyiv", ), Country( timezones=["Africa/Kampala"],