diff --git a/.gitignore b/.gitignore index 669c9f718..9cadfbae5 100644 --- a/.gitignore +++ b/.gitignore @@ -50,5 +50,8 @@ docs/_build .idea .vscode/ +# CLDR +/cldr-json/ + # Other raw_data diff --git a/dateparser/data/date_translation_data/aa.py b/dateparser/data/date_translation_data/aa.py new file mode 100644 index 000000000..10ef32416 --- /dev/null +++ b/dateparser/data/date_translation_data/aa.py @@ -0,0 +1,122 @@ +info = { + "name": "aa", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "aa-DJ": { + "name": "aa-DJ" + }, + "aa-ER": { + "name": "aa-ER" + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ab.py b/dateparser/data/date_translation_data/ab.py new file mode 100644 index 000000000..851f0602b --- /dev/null +++ b/dateparser/data/date_translation_data/ab.py @@ -0,0 +1,115 @@ +info = { + "name": "ab", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/af.py b/dateparser/data/date_translation_data/af.py index a636d4ea8..cf0e2d6c3 100644 --- a/dateparser/data/date_translation_data/af.py +++ b/dateparser/data/date_translation_data/af.py @@ -109,7 +109,6 @@ ], "second": [ "s", - "sek", "sekonde" ], "relative-type": { @@ -123,39 +122,48 @@ "hierdie minuut" ], "0 month ago": [ + "hierdie md", "vandeesmaand" ], "0 second ago": [ "nou" ], "0 week ago": [ - "vandeesweek" + "hierdie w", + "hierdie week" ], "0 year ago": [ + "hierdie j", "hierdie jaar" ], "1 day ago": [ "gister" ], "1 month ago": [ - "verlede maand" + "verlede maand", + "verlede md" ], "1 week ago": [ + "verlede w", "verlede week" ], "1 year ago": [ + "verlede j", "verlede jaar" ], "in 1 day": [ "môre" ], "in 1 month": [ - "volgende maand" + "volgende maand", + "volgende md" ], "in 1 week": [ + "volgende w", "volgende week" ], "in 1 year": [ + "volgende j", "volgende jaar" ] }, @@ -165,6 +173,7 @@ "(\\d+[.,]?\\d*) dag gelede" ], "\\1 hour ago": [ + "(\\d+[.,]?\\d*) u gelede", "(\\d+[.,]?\\d*) uur gelede" ], "\\1 minute ago": [ @@ -178,7 +187,7 @@ "(\\d+[.,]?\\d*) md gelede" ], "\\1 second ago": [ - "(\\d+[.,]?\\d*) sek gelede", + "(\\d+[.,]?\\d*) s gelede", "(\\d+[.,]?\\d*) sekonde gelede", "(\\d+[.,]?\\d*) sekondes gelede" ], @@ -188,26 +197,29 @@ "(\\d+[.,]?\\d*) weke gelede" ], "\\1 year ago": [ + "(\\d+[.,]?\\d*) j gelede", "(\\d+[.,]?\\d*) jaar gelede" ], "in \\1 day": [ "oor (\\d+[.,]?\\d*) dae", - "oor (\\d+[.,]?\\d*) dag", - "oor (\\d+[.,]?\\d*) minuut" + "oor (\\d+[.,]?\\d*) dag" ], "in \\1 hour": [ + "oor (\\d+[.,]?\\d*) u", "oor (\\d+[.,]?\\d*) uur" ], "in \\1 minute": [ "oor (\\d+[.,]?\\d*) min", + "oor (\\d+[.,]?\\d*) minute", "oor (\\d+[.,]?\\d*) minuut" ], "in \\1 month": [ - "oor (\\d+[.,]?\\d*) md", - "oor (\\d+[.,]?\\d*) minuut" + "oor (\\d+[.,]?\\d*) maand", + "oor (\\d+[.,]?\\d*) maande", + "oor (\\d+[.,]?\\d*) md" ], "in \\1 second": [ - "oor (\\d+[.,]?\\d*) sek", + "oor (\\d+[.,]?\\d*) s", "oor (\\d+[.,]?\\d*) sekonde", "oor (\\d+[.,]?\\d*) sekondes" ], @@ -217,6 +229,7 @@ "oor (\\d+[.,]?\\d*) weke" ], "in \\1 year": [ + "oor (\\d+[.,]?\\d*) j", "oor (\\d+[.,]?\\d*) jaar" ] }, diff --git a/dateparser/data/date_translation_data/agq.py b/dateparser/data/date_translation_data/agq.py index 06861dc06..ad62e132c 100644 --- a/dateparser/data/date_translation_data/agq.py +++ b/dateparser/data/date_translation_data/agq.py @@ -96,6 +96,7 @@ "utsuʔ" ], "hour": [ + "hr", "tàm" ], "minute": [ diff --git a/dateparser/data/date_translation_data/ak.py b/dateparser/data/date_translation_data/ak.py index 22cba0a41..3ca6fe2de 100644 --- a/dateparser/data/date_translation_data/ak.py +++ b/dateparser/data/date_translation_data/ak.py @@ -96,7 +96,8 @@ "da" ], "hour": [ - "dɔnhwer" + "dɔnhwer", + "hr" ], "minute": [ "sema" diff --git a/dateparser/data/date_translation_data/am.py b/dateparser/data/date_translation_data/am.py index 5a0abd00b..c36b7cfa9 100644 --- a/dateparser/data/date_translation_data/am.py +++ b/dateparser/data/date_translation_data/am.py @@ -2,12 +2,12 @@ "name": "am", "date_order": "DMY", "january": [ - "ጃንዩ", - "ጃንዩወሪ" + "ጃን", + "ጃንዋሪ" ], "february": [ - "ፌብሩ", - "ፌብሩወሪ" + "ፌብ", + "ፌብሩዋሪ" ], "march": [ "ማርች" @@ -86,7 +86,8 @@ "ቀን" ], "hour": [ - "ሰዓት" + "ሰዓት", + "ሰዓቶች" ], "minute": [ "ደቂቃ" diff --git a/dateparser/data/date_translation_data/an.py b/dateparser/data/date_translation_data/an.py new file mode 100644 index 000000000..636f5920b --- /dev/null +++ b/dateparser/data/date_translation_data/an.py @@ -0,0 +1,115 @@ +info = { + "name": "an", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ann.py b/dateparser/data/date_translation_data/ann.py new file mode 100644 index 000000000..175c42a04 --- /dev/null +++ b/dateparser/data/date_translation_data/ann.py @@ -0,0 +1,115 @@ +info = { + "name": "ann", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/apc.py b/dateparser/data/date_translation_data/apc.py new file mode 100644 index 000000000..211bc33c7 --- /dev/null +++ b/dateparser/data/date_translation_data/apc.py @@ -0,0 +1,115 @@ +info = { + "name": "apc", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ar.py b/dateparser/data/date_translation_data/ar.py index db378974b..f8fb17d21 100644 --- a/dateparser/data/date_translation_data/ar.py +++ b/dateparser/data/date_translation_data/ar.py @@ -87,6 +87,7 @@ ], "hour": [ "الساعات", + "ساعات", "ساعة", "ساعات" ], @@ -285,8 +286,7 @@ "أيلول" ], "october": [ - "تشرين الأول", - "تشرین الأول" + "تشرين الأول" ], "november": [ "تشرين الثاني" diff --git a/dateparser/data/date_translation_data/arn.py b/dateparser/data/date_translation_data/arn.py new file mode 100644 index 000000000..d2cef9afb --- /dev/null +++ b/dateparser/data/date_translation_data/arn.py @@ -0,0 +1,115 @@ +info = { + "name": "arn", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/as.py b/dateparser/data/date_translation_data/as.py index f97def63b..47f70ddf2 100644 --- a/dateparser/data/date_translation_data/as.py +++ b/dateparser/data/date_translation_data/as.py @@ -1,6 +1,6 @@ info = { "name": "as", - "date_order": "YMD", + "date_order": "DMY", "january": [ "জানু", "জানুৱাৰী" @@ -16,7 +16,7 @@ "এপ্ৰিল" ], "may": [ - "মে" + "মে'" ], "june": [ "জুন" @@ -29,20 +29,20 @@ "আগষ্ট" ], "september": [ - "ছেপ্তেম্বৰ", - "সেপ্ট" + "ছেপ্তে", + "ছেপ্তেম্বৰ" ], "october": [ "অক্টো", "অক্টোবৰ" ], "november": [ - "নভে", + "নৱে", "নৱেম্বৰ" ], "december": [ - "ডিচেম্বৰ", - "ডিসে" + "ডিচে", + "ডিচেম্বৰ" ], "monday": [ "সোম", @@ -57,8 +57,8 @@ "বুধবাৰ" ], "thursday": [ - "বৃহষ্পতি", - "বৃহষ্পতিবাৰ" + "বৃহ", + "বৃহস্পতিবাৰ" ], "friday": [ "শুক্ৰ", @@ -69,14 +69,14 @@ "শনিবাৰ" ], "sunday": [ - "দেওবাৰ", - "ৰবি" + "দেও", + "দেওবাৰ" ], "am": [ - "পূৰ্বাহ্ণ" + "পূৰ্বাহ্ন" ], "pm": [ - "অপৰাহ্ণ" + "অপৰাহ্ন" ], "year": [ "বছৰ" @@ -104,46 +104,92 @@ "আজি" ], "0 hour ago": [ - "this hour" + "এইটো ঘণ্টাত" ], "0 minute ago": [ - "this minute" + "এইটো মিনিটত" ], "0 month ago": [ - "this month" + "এই মা", + "এই মাহ" ], "0 second ago": [ - "now" + "এতিয়া" ], "0 week ago": [ - "this week" + "এই সপ্তাহ" ], "0 year ago": [ - "this year" + "এই বছৰ" ], "1 day ago": [ "কালি" ], "1 month ago": [ - "last month" + "যোৱা মা", + "যোৱা মাহ" ], "1 week ago": [ - "last week" + "যোৱা সপ্তাহ" ], "1 year ago": [ - "last year" + "যোৱা বছৰ" ], "in 1 day": [ "কাইলৈ" ], "in 1 month": [ - "next month" + "অহা মাহ" ], "in 1 week": [ - "next week" + "অহা সপ্তাহ" ], "in 1 year": [ - "next year" + "অহা বছৰ" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) দিন পূৰ্বে" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) ঘণ্টা পূৰ্বে" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) মিনিট পূৰ্বে" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) মাহ পূৰ্বে" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) ছেকেণ্ড পূৰ্বে" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) সপ্তাহ পূৰ্বে" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) বছৰৰ পূৰ্বে" + ], + "in \\1 day": [ + "(\\d+[.,]?\\d*) দিনত" + ], + "in \\1 hour": [ + "(\\d+[.,]?\\d*) ঘণ্টাত" + ], + "in \\1 minute": [ + "(\\d+[.,]?\\d*) মিনিটত" + ], + "in \\1 month": [ + "(\\d+[.,]?\\d*) মাহত" + ], + "in \\1 second": [ + "(\\d+[.,]?\\d*) ছেকেণ্ডত" + ], + "in \\1 week": [ + "(\\d+[.,]?\\d*) সপ্তাহত" + ], + "in \\1 year": [ + "(\\d+[.,]?\\d*) বছৰত" ] }, "locale_specific": {}, diff --git a/dateparser/data/date_translation_data/asa.py b/dateparser/data/date_translation_data/asa.py index fdbbc3350..ebcaa1e2f 100644 --- a/dateparser/data/date_translation_data/asa.py +++ b/dateparser/data/date_translation_data/asa.py @@ -95,6 +95,7 @@ "thiku" ], "hour": [ + "hr", "thaa" ], "minute": [ diff --git a/dateparser/data/date_translation_data/ast.py b/dateparser/data/date_translation_data/ast.py index cf32fb3bc..12dc7ea4f 100644 --- a/dateparser/data/date_translation_data/ast.py +++ b/dateparser/data/date_translation_data/ast.py @@ -114,7 +114,8 @@ ], "hour": [ "h", - "hora" + "hora", + "hores" ], "minute": [ "m", diff --git a/dateparser/data/date_translation_data/az-Arab.py b/dateparser/data/date_translation_data/az-Arab.py new file mode 100644 index 000000000..b9c4ddaca --- /dev/null +++ b/dateparser/data/date_translation_data/az-Arab.py @@ -0,0 +1,122 @@ +info = { + "name": "az-Arab", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "az-Arab-IQ": { + "name": "az-Arab-IQ" + }, + "az-Arab-TR": { + "name": "az-Arab-TR" + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/az-Cyrl.py b/dateparser/data/date_translation_data/az-Cyrl.py index 728d4c804..ce452d54b 100644 --- a/dateparser/data/date_translation_data/az-Cyrl.py +++ b/dateparser/data/date_translation_data/az-Cyrl.py @@ -95,7 +95,8 @@ "day" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser/data/date_translation_data/az-Latn.py b/dateparser/data/date_translation_data/az-Latn.py index 1709c642d..ff1176532 100644 --- a/dateparser/data/date_translation_data/az-Latn.py +++ b/dateparser/data/date_translation_data/az-Latn.py @@ -22,13 +22,11 @@ ], "june": [ "iyn", - "iyun", - "i̇yun" + "iyun" ], "july": [ "iyl", - "iyul", - "i̇yul" + "iyul" ], "august": [ "avq", diff --git a/dateparser/data/date_translation_data/az.py b/dateparser/data/date_translation_data/az.py index 037511509..c1e5bd6de 100644 --- a/dateparser/data/date_translation_data/az.py +++ b/dateparser/data/date_translation_data/az.py @@ -22,13 +22,11 @@ ], "june": [ "iyn", - "iyun", - "i̇yun" + "iyun" ], "july": [ "iyl", - "iyul", - "i̇yul" + "iyul" ], "august": [ "avq", diff --git a/dateparser/data/date_translation_data/ba.py b/dateparser/data/date_translation_data/ba.py new file mode 100644 index 000000000..c1c7e2ab7 --- /dev/null +++ b/dateparser/data/date_translation_data/ba.py @@ -0,0 +1,115 @@ +info = { + "name": "ba", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/bal-Arab.py b/dateparser/data/date_translation_data/bal-Arab.py new file mode 100644 index 000000000..2f4f8002e --- /dev/null +++ b/dateparser/data/date_translation_data/bal-Arab.py @@ -0,0 +1,115 @@ +info = { + "name": "bal-Arab", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/bal-Latn.py b/dateparser/data/date_translation_data/bal-Latn.py new file mode 100644 index 000000000..17a7c60f6 --- /dev/null +++ b/dateparser/data/date_translation_data/bal-Latn.py @@ -0,0 +1,115 @@ +info = { + "name": "bal-Latn", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/bal.py b/dateparser/data/date_translation_data/bal.py new file mode 100644 index 000000000..d2e2d8938 --- /dev/null +++ b/dateparser/data/date_translation_data/bal.py @@ -0,0 +1,115 @@ +info = { + "name": "bal", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/bas.py b/dateparser/data/date_translation_data/bas.py index d66975bbf..6bafffb58 100644 --- a/dateparser/data/date_translation_data/bas.py +++ b/dateparser/data/date_translation_data/bas.py @@ -96,6 +96,7 @@ "kɛl" ], "hour": [ + "hr", "ŋgɛŋ" ], "minute": [ diff --git a/dateparser/data/date_translation_data/be-tarask.py b/dateparser/data/date_translation_data/be-tarask.py new file mode 100644 index 000000000..07bf2ec71 --- /dev/null +++ b/dateparser/data/date_translation_data/be-tarask.py @@ -0,0 +1,267 @@ +info = { + "name": "be-tarask", + "date_order": "DMY", + "january": [ + "сту", + "студзень", + "студзеня" + ], + "february": [ + "лют", + "лютага", + "люты" + ], + "march": [ + "сак", + "сакавік", + "сакавіка" + ], + "april": [ + "кра", + "красавік", + "красавіка" + ], + "may": [ + "май", + "мая" + ], + "june": [ + "чэр", + "чэрвень", + "чэрвеня" + ], + "july": [ + "ліп", + "ліпень", + "ліпеня" + ], + "august": [ + "жні", + "жнівень", + "жніўня" + ], + "september": [ + "вер", + "верасень", + "верасня" + ], + "october": [ + "кас", + "кастрычнік", + "кастрычніка" + ], + "november": [ + "ліс", + "лістапад", + "лістапада" + ], + "december": [ + "сне", + "снежань", + "снежня" + ], + "monday": [ + "панядзелак", + "пн" + ], + "tuesday": [ + "аў", + "аўторак" + ], + "wednesday": [ + "серада", + "ср" + ], + "thursday": [ + "чацвер", + "чц" + ], + "friday": [ + "пт", + "пятніца" + ], + "saturday": [ + "сб", + "субота" + ], + "sunday": [ + "нд", + "нядзеля" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "г", + "год" + ], + "month": [ + "мес", + "месяц" + ], + "week": [ + "тыд" + ], + "day": [ + "д", + "дзень" + ], + "hour": [ + "гадз", + "гадзіна", + "гадзіны" + ], + "minute": [ + "хв", + "хвіліна" + ], + "second": [ + "с", + "секунда" + ], + "relative-type": { + "0 day ago": [ + "сёння" + ], + "0 hour ago": [ + "у гэту гадзіну", + "у гэтую гадзіну" + ], + "0 minute ago": [ + "у гэту хвіліну", + "у гэтую хвіліну" + ], + "0 month ago": [ + "у гэтым мес", + "у гэтым месяцы" + ], + "0 second ago": [ + "цяпер" + ], + "0 week ago": [ + "на гэтым тыд", + "на гэтым тыдні" + ], + "0 year ago": [ + "у гэтым годзе" + ], + "1 day ago": [ + "учора" + ], + "1 month ago": [ + "у мін мес", + "у мінулым месяцы" + ], + "1 week ago": [ + "на мін тыд", + "на мінулым тыдні" + ], + "1 year ago": [ + "у мін годзе", + "у мінулым годзе" + ], + "in 1 day": [ + "заўтра" + ], + "in 1 month": [ + "у наст мес", + "у наступным месяцы" + ], + "in 1 week": [ + "на наст тыд", + "на наступным тыдні" + ], + "in 1 year": [ + "у наст годзе", + "у наступным годзе" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) дзень таму", + "(\\d+[.,]?\\d*) дня таму" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) гадз таму", + "(\\d+[.,]?\\d*) гадзіну таму", + "(\\d+[.,]?\\d*) гадзіны таму" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) хв таму", + "(\\d+[.,]?\\d*) хвіліну таму", + "(\\d+[.,]?\\d*) хвіліны таму" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) мес таму", + "(\\d+[.,]?\\d*) месяц таму", + "(\\d+[.,]?\\d*) месяца таму" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) с таму", + "(\\d+[.,]?\\d*) секунду таму", + "(\\d+[.,]?\\d*) секунды таму" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) тыд таму", + "(\\d+[.,]?\\d*) тыдзень таму", + "(\\d+[.,]?\\d*) тыдня таму" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) г таму", + "(\\d+[.,]?\\d*) год таму", + "(\\d+[.,]?\\d*) года таму" + ], + "in \\1 day": [ + "праз (\\d+[.,]?\\d*) дзень", + "праз (\\d+[.,]?\\d*) дня" + ], + "in \\1 hour": [ + "праз (\\d+[.,]?\\d*) гадз", + "праз (\\d+[.,]?\\d*) гадзіну", + "праз (\\d+[.,]?\\d*) гадзіны" + ], + "in \\1 minute": [ + "праз (\\d+[.,]?\\d*) хв", + "праз (\\d+[.,]?\\d*) хвіліну", + "праз (\\d+[.,]?\\d*) хвіліны" + ], + "in \\1 month": [ + "праз (\\d+[.,]?\\d*) мес", + "праз (\\d+[.,]?\\d*) месяц", + "праз (\\d+[.,]?\\d*) месяца" + ], + "in \\1 second": [ + "праз (\\d+[.,]?\\d*) с", + "праз (\\d+[.,]?\\d*) секунду", + "праз (\\d+[.,]?\\d*) секунды" + ], + "in \\1 week": [ + "праз (\\d+[.,]?\\d*) тыд", + "праз (\\d+[.,]?\\d*) тыдзень", + "праз (\\d+[.,]?\\d*) тыдня" + ], + "in \\1 year": [ + "праз (\\d+[.,]?\\d*) г", + "праз (\\d+[.,]?\\d*) год", + "праз (\\d+[.,]?\\d*) года" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/be.py b/dateparser/data/date_translation_data/be.py index ea3e99dd3..3e6bec893 100644 --- a/dateparser/data/date_translation_data/be.py +++ b/dateparser/data/date_translation_data/be.py @@ -143,6 +143,7 @@ "гадз", "гадзіна", "гадзіны", + "гадзіны", "гадзіну", "гадзін" ], @@ -174,12 +175,14 @@ "у гэту хвіліну" ], "0 month ago": [ + "у гэтым мес", "у гэтым месяцы" ], "0 second ago": [ "цяпер" ], "0 week ago": [ + "на гэтым тыд", "на гэтым тыдні" ], "0 year ago": [ @@ -190,24 +193,30 @@ "ўчора" ], "1 month ago": [ + "у мін мес", "у мінулым месяцы" ], "1 week ago": [ + "на мін тыд", "на мінулым тыдні" ], "1 year ago": [ + "у мін годзе", "у мінулым годзе" ], "in 1 day": [ "заўтра" ], "in 1 month": [ + "у наст мес", "у наступным месяцы" ], "in 1 week": [ + "на наст тыд", "на наступным тыдні" ], "in 1 year": [ + "у наст годзе", "у наступным годзе" ], "2 day ago": [ @@ -216,7 +225,6 @@ }, "relative-type-regex": { "\\1 day ago": [ - "(\\d+[.,]?\\d*) д таму", "(\\d+[.,]?\\d*) дзень таму", "(\\d+[.,]?\\d*) дня таму" ], @@ -251,7 +259,6 @@ "(\\d+[.,]?\\d*) года таму" ], "in \\1 day": [ - "праз (\\d+[.,]?\\d*) д", "праз (\\d+[.,]?\\d*) дзень", "праз (\\d+[.,]?\\d*) дня" ], diff --git a/dateparser/data/date_translation_data/bem.py b/dateparser/data/date_translation_data/bem.py index 6b8d2b6bd..8edb5aef6 100644 --- a/dateparser/data/date_translation_data/bem.py +++ b/dateparser/data/date_translation_data/bem.py @@ -88,6 +88,7 @@ "ubushiku" ], "hour": [ + "hr", "insa" ], "minute": [ diff --git a/dateparser/data/date_translation_data/bew.py b/dateparser/data/date_translation_data/bew.py new file mode 100644 index 000000000..8d86f7f0b --- /dev/null +++ b/dateparser/data/date_translation_data/bew.py @@ -0,0 +1,115 @@ +info = { + "name": "bew", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/bez.py b/dateparser/data/date_translation_data/bez.py index 476edab59..be114631b 100644 --- a/dateparser/data/date_translation_data/bez.py +++ b/dateparser/data/date_translation_data/bez.py @@ -96,6 +96,7 @@ "sihu" ], "hour": [ + "hr", "saa" ], "minute": [ diff --git a/dateparser/data/date_translation_data/bg.py b/dateparser/data/date_translation_data/bg.py index 972971b60..fdd3a4fe4 100644 --- a/dateparser/data/date_translation_data/bg.py +++ b/dateparser/data/date_translation_data/bg.py @@ -93,12 +93,13 @@ ], "year": [ "г", + "год", "година", "год", "години" ], "month": [ - "м", + "мес", "месец", "мес", "месеци" @@ -119,6 +120,7 @@ "hour": [ "ч", "час", + "часове", "часа" ], "minute": [ @@ -127,7 +129,7 @@ "минути" ], "second": [ - "с", + "сек", "секунда", "сек", "секунди" @@ -170,7 +172,6 @@ ], "1 week ago": [ "мин седм", - "миналата седмица", "предходната седмица", "преди седмица" ], diff --git a/dateparser/data/date_translation_data/bgc.py b/dateparser/data/date_translation_data/bgc.py new file mode 100644 index 000000000..c99afa5a6 --- /dev/null +++ b/dateparser/data/date_translation_data/bgc.py @@ -0,0 +1,153 @@ +info = { + "name": "bgc", + "date_order": "YMD", + "january": [ + "जनवरी" + ], + "february": [ + "फरवरी" + ], + "march": [ + "मार्च" + ], + "april": [ + "अप्रैल" + ], + "may": [ + "मई" + ], + "june": [ + "जून" + ], + "july": [ + "जुलाई" + ], + "august": [ + "अगस्त" + ], + "september": [ + "सितम्बर" + ], + "october": [ + "अक्टूबर" + ], + "november": [ + "नवम्बर" + ], + "december": [ + "दिसंबर" + ], + "monday": [ + "सोमवार" + ], + "tuesday": [ + "मंगलवार" + ], + "wednesday": [ + "बुधवार" + ], + "thursday": [ + "बृहस्पतवार" + ], + "friday": [ + "शुक्रवार" + ], + "saturday": [ + "शनिवार" + ], + "sunday": [ + "ऐतवार" + ], + "am": [ + "am", + "तडके" + ], + "pm": [ + "pm", + "सांझ" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "आज" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "इस मिह्ने" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "इस हफ़्ते" + ], + "0 year ago": [ + "इस साल" + ], + "1 day ago": [ + "काह्ल (बित्या होड)" + ], + "1 month ago": [ + "पिछला मिह्ना" + ], + "1 week ago": [ + "पिछला हफ़्ता" + ], + "1 year ago": [ + "पिछला साल" + ], + "in 1 day": [ + "काह्ल (आण आला)" + ], + "in 1 month": [ + "अगला मिह्ना" + ], + "in 1 week": [ + "अगला हफ़्ता" + ], + "in 1 year": [ + "अगला साल" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/bgn.py b/dateparser/data/date_translation_data/bgn.py new file mode 100644 index 000000000..83d14f7d4 --- /dev/null +++ b/dateparser/data/date_translation_data/bgn.py @@ -0,0 +1,128 @@ +info = { + "name": "bgn", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "سال" + ], + "month": [ + "ماه" + ], + "week": [ + "هفته‌گ" + ], + "day": [ + "روچ" + ], + "hour": [ + "سائت", + "ساعت" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "مروچی" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "زي" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "باندا" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "bgn-AE": { + "name": "bgn-AE" + }, + "bgn-AF": { + "name": "bgn-AF" + }, + "bgn-IR": { + "name": "bgn-IR" + }, + "bgn-OM": { + "name": "bgn-OM" + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/bho.py b/dateparser/data/date_translation_data/bho.py new file mode 100644 index 000000000..2de158979 --- /dev/null +++ b/dateparser/data/date_translation_data/bho.py @@ -0,0 +1,153 @@ +info = { + "name": "bho", + "date_order": "YMD", + "january": [ + "जनवरी" + ], + "february": [ + "फरवरी" + ], + "march": [ + "मार्च" + ], + "april": [ + "अप्रैल" + ], + "may": [ + "मई" + ], + "june": [ + "जून" + ], + "july": [ + "जुलाई" + ], + "august": [ + "अगस्त" + ], + "september": [ + "सितम्बर" + ], + "october": [ + "अक्टूबर" + ], + "november": [ + "नवंबर" + ], + "december": [ + "दिसंबर" + ], + "monday": [ + "सोमबार" + ], + "tuesday": [ + "मंगलबार" + ], + "wednesday": [ + "बुधबार" + ], + "thursday": [ + "बृहस्पतिबार" + ], + "friday": [ + "शुक्रबार" + ], + "saturday": [ + "सनीचर" + ], + "sunday": [ + "रबीबार" + ], + "am": [ + "am", + "भोर" + ], + "pm": [ + "pm", + "सांझ" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/blo.py b/dateparser/data/date_translation_data/blo.py new file mode 100644 index 000000000..560970d6f --- /dev/null +++ b/dateparser/data/date_translation_data/blo.py @@ -0,0 +1,188 @@ +info = { + "name": "blo", + "date_order": "MDY", + "january": [ + "kaw", + "ɩjikawǝrka kaŋɔrɔ" + ], + "february": [ + "kpa", + "ɩjikpaka kaŋɔrɔ" + ], + "march": [ + "arɛ́cika kaŋɔrɔ", + "ci" + ], + "april": [ + "njɩbɔ nɖʊka kaŋɔrɔ", + "ɖʊ" + ], + "may": [ + "acafʊnɖuka kaŋɔrɔ", + "ɖu5" + ], + "june": [ + "anɔɔɖuka kaŋɔrɔ", + "ɖu6" + ], + "july": [ + "alàlaka kaŋɔrɔ", + "la" + ], + "august": [ + "kǝu", + "ɩjikǝuka kaŋɔrɔ" + ], + "september": [ + "abofʊmka kaŋɔrɔ", + "fʊm" + ], + "october": [ + "cim", + "ɩjicimka kaŋɔrɔ" + ], + "november": [ + "acapomka kaŋɔrɔ", + "pom" + ], + "december": [ + "anɔɔbʊnka kaŋɔrɔ", + "bʊn" + ], + "monday": [ + "aɖɩt", + "aɖɩtɛnɛɛ" + ], + "tuesday": [ + "atal", + "atalaata" + ], + "wednesday": [ + "alaarba", + "alar" + ], + "thursday": [ + "alaamɩshɩ", + "alam" + ], + "friday": [ + "arɩs", + "arɩsǝma" + ], + "saturday": [ + "asib", + "asiibi" + ], + "sunday": [ + "alah", + "alahaɖɩ" + ], + "am": [ + "1ka", + "ʊshilè kʊboɖu" + ], + "pm": [ + "2ja", + "ʊshilè kʊsasʊ" + ], + "year": [ + "gaja", + "gj" + ], + "month": [ + "aŋ", + "aŋɔrɔ" + ], + "week": [ + "bk", + "bɔkɔɩ" + ], + "day": [ + "ʊsh", + "ʊshilé" + ], + "hour": [ + "gakɔŋkɔŋɔ̀", + "gk", + "hr" + ], + "minute": [ + "gn", + "gʊnaŋa" + ], + "second": [ + "gp", + "gɩpi" + ], + "relative-type": { + "0 day ago": [ + "ʊrɔŋ" + ], + "0 hour ago": [ + "gakɔŋkɔŋɔ̀ ŋgaɖe" + ], + "0 minute ago": [ + "gʊnaŋa ŋgʊɖe" + ], + "0 month ago": [ + "aŋ ɖe", + "aŋɔrɔ nnɖe" + ], + "0 second ago": [ + "nnyǝmǝ" + ], + "0 week ago": [ + "bk ɖe", + "bɔkɔɩ nnɖe" + ], + "0 year ago": [ + "gaja ŋgaɖe", + "gj ɖe" + ], + "1 day ago": [ + "galaɩ" + ], + "1 month ago": [ + "aŋ boŋo", + "aŋɔrɔ aboŋoka" + ], + "1 week ago": [ + "bk boŋo", + "bɔkɔɩ aboŋoka" + ], + "1 year ago": [ + "gaja gaboŋoka", + "gj boŋo" + ], + "in 1 day": [ + "gacǝŋ" + ], + "in 1 month": [ + "aŋ fɔlɩ", + "aŋɔrɔ afɔlɩ" + ], + "in 1 week": [ + "bk fɔlɩ", + "bɔkɔɩ afɔlɩ" + ], + "in 1 year": [ + "gaja gafɔlɩ", + "gj fɔlɩ" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/blt.py b/dateparser/data/date_translation_data/blt.py new file mode 100644 index 000000000..80514a5ea --- /dev/null +++ b/dateparser/data/date_translation_data/blt.py @@ -0,0 +1,115 @@ +info = { + "name": "blt", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/bm-Nkoo.py b/dateparser/data/date_translation_data/bm-Nkoo.py new file mode 100644 index 000000000..a13a3bff6 --- /dev/null +++ b/dateparser/data/date_translation_data/bm-Nkoo.py @@ -0,0 +1,115 @@ +info = { + "name": "bm-Nkoo", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/bm.py b/dateparser/data/date_translation_data/bm.py index 6cadd73c7..396377dbc 100644 --- a/dateparser/data/date_translation_data/bm.py +++ b/dateparser/data/date_translation_data/bm.py @@ -94,6 +94,7 @@ "don" ], "hour": [ + "hr", "lɛrɛ" ], "minute": [ diff --git a/dateparser/data/date_translation_data/bn.py b/dateparser/data/date_translation_data/bn.py index 409f0d587..ba8af88a6 100644 --- a/dateparser/data/date_translation_data/bn.py +++ b/dateparser/data/date_translation_data/bn.py @@ -15,6 +15,7 @@ "মার্চ" ], "april": [ + "এপ্রি", "এপ্রিল" ], "may": [ @@ -24,21 +25,27 @@ "জুন" ], "july": [ + "জুল", "জুলাই" ], "august": [ + "আগ", "আগস্ট" ], "september": [ + "সেপ", "সেপ্টেম্বর" ], "october": [ + "অক্টো", "অক্টোবর" ], "november": [ + "নভে", "নভেম্বর" ], "december": [ + "ডিসে", "ডিসেম্বর" ], "monday": [ @@ -54,7 +61,6 @@ "বুধবার" ], "thursday": [ - "বৃহষ্পতিবার", "বৃহস্পতি", "বৃহস্পতিবার" ], @@ -91,6 +97,7 @@ "দিন" ], "hour": [ + "ঘণ্টা", "ঘন্টা" ], "minute": [ @@ -160,8 +167,7 @@ "(\\d+[.,]?\\d*) ঘন্টা আগে" ], "\\1 minute ago": [ - "(\\d+[.,]?\\d*) মিনিট আগে", - "(\\d+[.,]?\\d*) মিনিট পূর্বে" + "(\\d+[.,]?\\d*) মিনিট আগে" ], "\\1 month ago": [ "(\\d+[.,]?\\d*) মাস আগে" @@ -200,7 +206,19 @@ }, "locale_specific": { "bn-IN": { - "name": "bn-IN" + "name": "bn-IN", + "september": [ + "সেপ্টেঃ" + ], + "october": [ + "অক্টোঃ" + ], + "november": [ + "নভেঃ" + ], + "december": [ + "ডিসেঃ" + ] } }, "skip": [ diff --git a/dateparser/data/date_translation_data/bo.py b/dateparser/data/date_translation_data/bo.py index b805577b6..1b5d9b9a2 100644 --- a/dateparser/data/date_translation_data/bo.py +++ b/dateparser/data/date_translation_data/bo.py @@ -108,6 +108,7 @@ "ཉིན།" ], "hour": [ + "hr", "ཆུ་ཚོད་" ], "minute": [ diff --git a/dateparser/data/date_translation_data/br.py b/dateparser/data/date_translation_data/br.py index 38c5ae437..a2f7347a1 100644 --- a/dateparser/data/date_translation_data/br.py +++ b/dateparser/data/date_translation_data/br.py @@ -1,6 +1,6 @@ info = { "name": "br", - "date_order": "YMD", + "date_order": "DMY", "january": [ "gen", "genver" @@ -42,7 +42,6 @@ "du" ], "december": [ - "ker", "kerzu", "kzu" ], @@ -78,13 +77,16 @@ "gm" ], "year": [ + "b", "bl", "bloaz" ], "month": [ + "m", "miz" ], "week": [ + "sizh", "sizhun" ], "day": [ @@ -93,7 +95,8 @@ ], "hour": [ "e", - "eur" + "eur", + "eurioù" ], "minute": [ "min", @@ -108,12 +111,13 @@ "hiziv" ], "0 hour ago": [ - "this hour" + "d'an eur-mañ" ], "0 minute ago": [ - "this minute" + "ar munut-mañ" ], "0 month ago": [ + "ar m-mañ", "ar miz-mañ" ], "0 second ago": [ @@ -121,6 +125,7 @@ "bremañ" ], "0 week ago": [ + "ar sizh-mañ", "ar sizhun-mañ" ], "0 year ago": [ @@ -130,9 +135,11 @@ "dec'h" ], "1 month ago": [ + "ar m diaraok", "ar miz diaraok" ], "1 week ago": [ + "ar sizh diaraok", "ar sizhun diaraok" ], "1 year ago": [ @@ -142,9 +149,11 @@ "warc'hoazh" ], "in 1 month": [ + "ar m a zeu", "ar miz a zeu" ], "in 1 week": [ + "ar sizh a zeu", "ar sizhun a zeu" ], "in 1 year": [ @@ -173,6 +182,7 @@ "(\\d+[.,]?\\d*) s zo" ], "\\1 week ago": [ + "(\\d+[.,]?\\d*) sizh zo", "(\\d+[.,]?\\d*) sizhun zo" ], "\\1 year ago": [ @@ -200,6 +210,7 @@ "a-benn (\\d+[.,]?\\d*) s" ], "in \\1 week": [ + "a-benn (\\d+[.,]?\\d*) sizh", "a-benn (\\d+[.,]?\\d*) sizhun" ], "in \\1 year": [ diff --git a/dateparser/data/date_translation_data/brx.py b/dateparser/data/date_translation_data/brx.py index 0630614b9..e54ef42a7 100644 --- a/dateparser/data/date_translation_data/brx.py +++ b/dateparser/data/date_translation_data/brx.py @@ -1,17 +1,20 @@ info = { "name": "brx", - "date_order": "MDY", + "date_order": "DMY", "january": [ + "जान", "जानुवारी" ], "february": [ - "फेब्रुवारी" + "फेब", + "फेब्रूवारी" ], "march": [ - "मार्स" + "मार्च" ], "april": [ - "एफ्रिल" + "एप्रि", + "एप्रिल" ], "may": [ "मे" @@ -20,22 +23,28 @@ "जुन" ], "july": [ - "जुलाइ" + "जुल", + "जुलाई" ], "august": [ - "आगस्थ" + "आग", + "आगष्ट" ], "september": [ - "सेबथेज्ब़र" + "सेप", + "सेप्थेम्बर" ], "october": [ - "अखथबर" + "अक्ट'", + "अक्ट'बर" ], "november": [ - "नबेज्ब़र" + "नवे", + "नवेम्बर" ], "december": [ - "दिसेज्ब़र" + "डिसे", + "डिसेम्बर" ], "monday": [ "सम", @@ -46,20 +55,21 @@ "मंगलबार" ], "wednesday": [ - "बुद", - "बुदबार" + "बुध", + "बुधबार" ], "thursday": [ - "बिसथि", - "बिसथिबार" + "बिस्थि", + "बिस्थिबार" ], "friday": [ "सुखुर", - "सुखुरबार" + "सुखुरबार", + "सुुखुरबार" ], "saturday": [ - "सुनि", - "सुनिबार" + "सनि", + "सनिबार" ], "sunday": [ "रबि", @@ -78,65 +88,110 @@ "दान" ], "week": [ - "सबथा/हबथा" + "सप्थाह" ], "day": [ "सान" ], "hour": [ - "रिंगा" + "hr", + "घन्टा" ], "minute": [ - "मिनिथ" + "मिनित" ], "second": [ - "सेखेन्द" + "सेकेण्ड" ], "relative-type": { "0 day ago": [ "दिनै" ], "0 hour ago": [ - "this hour" + "बे घन्टा" ], "0 minute ago": [ - "this minute" + "बे मिनिट" ], "0 month ago": [ - "this month" + "बे दान" ], "0 second ago": [ - "now" + "दा" ], "0 week ago": [ - "this week" + "बे सप्थाह" ], "0 year ago": [ - "this year" + "बे बोसोर" ], "1 day ago": [ "मैया" ], "1 month ago": [ - "last month" + "थांनाय दान" ], "1 week ago": [ - "last week" + "थांनाय सप्थाह" ], "1 year ago": [ - "last year" + "थांनाय बोसोर" ], "in 1 day": [ "गाबोन" ], "in 1 month": [ - "next month" + "फैगौ दान" ], "in 1 week": [ - "next week" + "फैगौ सप्थाह" ], "in 1 year": [ - "next year" + "फैगौ बोसोर" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) सान सिगां" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) घन्टा सिगां" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) मिनिट सिगां" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) दान सिगां" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) सेकेण्ड सिगां" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) सप्थाह सिगां" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) बोसोर सिगां" + ], + "in \\1 day": [ + "(\\d+[.,]?\\d*) सानाव" + ], + "in \\1 hour": [ + "(\\d+[.,]?\\d*) घन्टायाव" + ], + "in \\1 minute": [ + "(\\d+[.,]?\\d*) मिनिटआव" + ], + "in \\1 month": [ + "(\\d+[.,]?\\d*) दानाव" + ], + "in \\1 second": [ + "(\\d+[.,]?\\d*) सेकेण्डआव" + ], + "in \\1 week": [ + "(\\d+[.,]?\\d*) सप्थाहयाव" + ], + "in \\1 year": [ + "(\\d+[.,]?\\d*) बोसोरआव" ] }, "locale_specific": {}, diff --git a/dateparser/data/date_translation_data/bs-Cyrl.py b/dateparser/data/date_translation_data/bs-Cyrl.py index c07a696f8..0e3ba9e02 100644 --- a/dateparser/data/date_translation_data/bs-Cyrl.py +++ b/dateparser/data/date_translation_data/bs-Cyrl.py @@ -29,8 +29,8 @@ "јули" ], "august": [ - "авг", - "август" + "ауг", + "аугуст" ], "september": [ "сеп", @@ -50,7 +50,7 @@ ], "monday": [ "пон", - "понедељак" + "понедјељак" ], "tuesday": [ "уто", @@ -74,33 +74,41 @@ ], "sunday": [ "нед", - "недеља" + "недјеља" ], "am": [ - "пре подне" + "пре подне", + "прије подне" ], "pm": [ - "поподне" + "поподне", + "послије подне" ], "year": [ + "год", "година" ], "month": [ - "месец" + "мјес", + "мјесец" ], "week": [ - "недеља" + "седм", + "седмица" ], "day": [ "дан" ], "hour": [ - "час" + "сат", + "сати" ], "minute": [ + "мин", "минут" ], "second": [ + "сек", "секунд" ], "relative-type": { @@ -108,76 +116,92 @@ "данас" ], "0 hour ago": [ - "this hour" + "овог сата" ], "0 minute ago": [ - "this minute" + "овог минута" ], "0 month ago": [ - "овог месеца" + "ов мјес", + "овог мјес", + "овог мјесеца" ], "0 second ago": [ - "now" + "сада" ], "0 week ago": [ - "ове недеље" + "ове седм", + "ове седмице" ], "0 year ago": [ + "ове год", "ове године" ], "1 day ago": [ "јуче" ], "1 month ago": [ - "прошлог месеца" + "прош мјес", + "прош мјесеца", + "прошлог мјесеца" ], "1 week ago": [ - "прошле недеље" + "прош седм", + "прошле седмице" ], "1 year ago": [ + "прош године", "прошле године" ], "in 1 day": [ "сутра" ], "in 1 month": [ - "следећег месеца" + "сљ мјес", + "сљед мјесеца", + "сљедећег мјесеца" ], "in 1 week": [ - "следеће недеље" + "сљ седм", + "сљедеће седмице" ], "in 1 year": [ - "следеће године" + "сљед године", + "сљедеће године" ] }, "relative-type-regex": { "\\1 day ago": [ - "пре (\\d+[.,]?\\d*) дан", - "пре (\\d+[.,]?\\d*) дана" + "прије (\\d+[.,]?\\d*) дан", + "прије (\\d+[.,]?\\d*) дана" ], "\\1 hour ago": [ - "пре (\\d+[.,]?\\d*) сат", - "пре (\\d+[.,]?\\d*) сати" + "прије (\\d+[.,]?\\d*) сат", + "прије (\\d+[.,]?\\d*) сати" ], "\\1 minute ago": [ - "пре (\\d+[.,]?\\d*) минут", - "пре (\\d+[.,]?\\d*) минута" + "прије (\\d+[.,]?\\d*) мин", + "прије (\\d+[.,]?\\d*) минут", + "прије (\\d+[.,]?\\d*) минута" ], "\\1 month ago": [ - "пре (\\d+[.,]?\\d*) месец", - "пре (\\d+[.,]?\\d*) месеци" + "прије (\\d+[.,]?\\d*) мјес", + "прије (\\d+[.,]?\\d*) мјесец", + "прије (\\d+[.,]?\\d*) мјесеци" ], "\\1 second ago": [ - "пре (\\d+[.,]?\\d*) секунд", - "пре (\\d+[.,]?\\d*) секунди" + "прије (\\d+[.,]?\\d*) сек", + "прије (\\d+[.,]?\\d*) секунд", + "прије (\\d+[.,]?\\d*) секунди" ], "\\1 week ago": [ - "пре (\\d+[.,]?\\d*) недеља", - "пре (\\d+[.,]?\\d*) недељу" + "прије (\\d+[.,]?\\d*) седм", + "прије (\\d+[.,]?\\d*) седмица", + "прије (\\d+[.,]?\\d*) седмицу" ], "\\1 year ago": [ - "пре (\\d+[.,]?\\d*) година", - "пре (\\d+[.,]?\\d*) годину" + "прије (\\d+[.,]?\\d*) година", + "прије (\\d+[.,]?\\d*) годину" ], "in \\1 day": [ "за (\\d+[.,]?\\d*) дан", @@ -192,16 +216,19 @@ "за (\\d+[.,]?\\d*) минута" ], "in \\1 month": [ - "за (\\d+[.,]?\\d*) месец", - "за (\\d+[.,]?\\d*) месеци" + "за (\\d+[.,]?\\d*) мјес", + "за (\\d+[.,]?\\d*) мјесец", + "за (\\d+[.,]?\\d*) мјесеци" ], "in \\1 second": [ + "за (\\d+[.,]?\\d*) сек", "за (\\d+[.,]?\\d*) секунд", "за (\\d+[.,]?\\d*) секунди" ], "in \\1 week": [ - "за (\\d+[.,]?\\d*) недеља", - "за (\\d+[.,]?\\d*) недељу" + "за (\\d+[.,]?\\d*) седм", + "за (\\d+[.,]?\\d*) седмица", + "за (\\d+[.,]?\\d*) седмицу" ], "in \\1 year": [ "за (\\d+[.,]?\\d*) година", diff --git a/dateparser/data/date_translation_data/bs-Latn.py b/dateparser/data/date_translation_data/bs-Latn.py index b0cbe0c99..35acf0b75 100644 --- a/dateparser/data/date_translation_data/bs-Latn.py +++ b/dateparser/data/date_translation_data/bs-Latn.py @@ -29,8 +29,8 @@ "juli" ], "august": [ - "avg", - "avgust" + "aug", + "august" ], "september": [ "sep", @@ -77,9 +77,11 @@ "nedjelja" ], "am": [ + "am", "prijepodne" ], "pm": [ + "pm", "popodne" ], "year": [ @@ -100,7 +102,8 @@ ], "hour": [ "h", - "sat" + "sat", + "sati" ], "minute": [ "min", diff --git a/dateparser/data/date_translation_data/bs.py b/dateparser/data/date_translation_data/bs.py index 7c0ba09a7..c977ff917 100644 --- a/dateparser/data/date_translation_data/bs.py +++ b/dateparser/data/date_translation_data/bs.py @@ -29,8 +29,8 @@ "juli" ], "august": [ - "avg", - "avgust" + "aug", + "august" ], "september": [ "sep", @@ -77,9 +77,11 @@ "nedjelja" ], "am": [ + "am", "prijepodne" ], "pm": [ + "pm", "popodne" ], "year": [ @@ -100,7 +102,8 @@ ], "hour": [ "h", - "sat" + "sat", + "sati" ], "minute": [ "min", diff --git a/dateparser/data/date_translation_data/bss.py b/dateparser/data/date_translation_data/bss.py new file mode 100644 index 000000000..ef7e17a59 --- /dev/null +++ b/dateparser/data/date_translation_data/bss.py @@ -0,0 +1,115 @@ +info = { + "name": "bss", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "mwɛ̌" + ], + "month": [ + "ngɔn" + ], + "week": [ + "sɔ̂ndé" + ], + "day": [ + "mbwɛ" + ], + "hour": [ + "hr", + "háwa" + ], + "minute": [ + "menúte" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "chii" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "chǎn ábe é'tómé" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "chǎn ábe é'húɛ'" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/byn.py b/dateparser/data/date_translation_data/byn.py new file mode 100644 index 000000000..a4f7dcea8 --- /dev/null +++ b/dateparser/data/date_translation_data/byn.py @@ -0,0 +1,115 @@ +info = { + "name": "byn", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ca-ES-valencia.py b/dateparser/data/date_translation_data/ca-ES-valencia.py new file mode 100644 index 000000000..292b479f9 --- /dev/null +++ b/dateparser/data/date_translation_data/ca-ES-valencia.py @@ -0,0 +1,262 @@ +info = { + "name": "ca-ES-valencia", + "date_order": "DMY", + "january": [ + "de gen", + "de gener", + "gen", + "gener" + ], + "february": [ + "de febr", + "de febrer", + "febr", + "febrer" + ], + "march": [ + "de març", + "març" + ], + "april": [ + "abr", + "abril", + "d'abr", + "d'abril" + ], + "may": [ + "de maig", + "maig" + ], + "june": [ + "de juny", + "juny" + ], + "july": [ + "de jul", + "de juliol", + "jul", + "juliol" + ], + "august": [ + "ag", + "agost", + "d'ag", + "d'agost" + ], + "september": [ + "de set", + "de setembre", + "set", + "setembre" + ], + "october": [ + "d'oct", + "d'octubre", + "oct", + "octubre" + ], + "november": [ + "de nov", + "de novembre", + "nov", + "novembre" + ], + "december": [ + "de des", + "de desembre", + "des", + "desembre" + ], + "monday": [ + "dilluns", + "dl" + ], + "tuesday": [ + "dimarts", + "dt" + ], + "wednesday": [ + "dc", + "dimecres" + ], + "thursday": [ + "dijous", + "dj" + ], + "friday": [ + "divendres", + "dv" + ], + "saturday": [ + "dissabte", + "ds" + ], + "sunday": [ + "dg", + "diumenge" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "any" + ], + "month": [ + "mes" + ], + "week": [ + "setm", + "setmana" + ], + "day": [ + "dia" + ], + "hour": [ + "h", + "hora", + "hores" + ], + "minute": [ + "min", + "minut" + ], + "second": [ + "s", + "segon" + ], + "relative-type": { + "0 day ago": [ + "avui" + ], + "0 hour ago": [ + "aquesta hora" + ], + "0 minute ago": [ + "aquest minut" + ], + "0 month ago": [ + "aquest mes" + ], + "0 second ago": [ + "ara" + ], + "0 week ago": [ + "aquesta setm", + "aquesta setmana" + ], + "0 year ago": [ + "enguany" + ], + "1 day ago": [ + "ahir" + ], + "1 month ago": [ + "el mes passat" + ], + "1 week ago": [ + "la setm passada", + "la setmana passada" + ], + "1 year ago": [ + "l'any passat" + ], + "in 1 day": [ + "demà" + ], + "in 1 month": [ + "el mes que ve" + ], + "in 1 week": [ + "la setm que ve", + "la setmana que ve" + ], + "in 1 year": [ + "l'any que ve" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "fa (\\d+[.,]?\\d*) dia", + "fa (\\d+[.,]?\\d*) dies" + ], + "\\1 hour ago": [ + "fa (\\d+[.,]?\\d*) h", + "fa (\\d+[.,]?\\d*) hora", + "fa (\\d+[.,]?\\d*) hores" + ], + "\\1 minute ago": [ + "fa (\\d+[.,]?\\d*) min", + "fa (\\d+[.,]?\\d*) minut", + "fa (\\d+[.,]?\\d*) minuts" + ], + "\\1 month ago": [ + "fa (\\d+[.,]?\\d*) mes", + "fa (\\d+[.,]?\\d*) mesos" + ], + "\\1 second ago": [ + "fa (\\d+[.,]?\\d*) s", + "fa (\\d+[.,]?\\d*) segon", + "fa (\\d+[.,]?\\d*) segons" + ], + "\\1 week ago": [ + "fa (\\d+[.,]?\\d*) setm", + "fa (\\d+[.,]?\\d*) setmana", + "fa (\\d+[.,]?\\d*) setmanes" + ], + "\\1 year ago": [ + "fa (\\d+[.,]?\\d*) any", + "fa (\\d+[.,]?\\d*) anys" + ], + "in \\1 day": [ + "d'aquí a (\\d+[.,]?\\d*) dia", + "d'aquí a (\\d+[.,]?\\d*) dies" + ], + "in \\1 hour": [ + "d'aquí a (\\d+[.,]?\\d*) h", + "d'aquí a (\\d+[.,]?\\d*) hora", + "d'aquí a (\\d+[.,]?\\d*) hores", + "d‘aquí a (\\d+[.,]?\\d*) h" + ], + "in \\1 minute": [ + "d'aquí a (\\d+[.,]?\\d*) min", + "d'aquí a (\\d+[.,]?\\d*) minut", + "d'aquí a (\\d+[.,]?\\d*) minuts" + ], + "in \\1 month": [ + "d'aquí a (\\d+[.,]?\\d*) mes", + "d'aquí a (\\d+[.,]?\\d*) mesos" + ], + "in \\1 second": [ + "d'aquí a (\\d+[.,]?\\d*) s", + "d'aquí a (\\d+[.,]?\\d*) segon", + "d'aquí a (\\d+[.,]?\\d*) segons" + ], + "in \\1 week": [ + "d'aquí a (\\d+[.,]?\\d*) setm", + "d'aquí a (\\d+[.,]?\\d*) setmana", + "d'aquí a (\\d+[.,]?\\d*) setmanes" + ], + "in \\1 year": [ + "d'aquí a (\\d+[.,]?\\d*) any", + "d'aquí a (\\d+[.,]?\\d*) anys" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ca.py b/dateparser/data/date_translation_data/ca.py index 4d0a2f2cd..1f8c115f6 100644 --- a/dateparser/data/date_translation_data/ca.py +++ b/dateparser/data/date_translation_data/ca.py @@ -116,7 +116,8 @@ ], "hour": [ "h", - "hora" + "hora", + "hores" ], "minute": [ "min", @@ -154,13 +155,11 @@ "ahir" ], "1 month ago": [ - "el mes passat", - "mes passat" + "el mes passat" ], "1 week ago": [ "la setm passada", - "la setmana passada", - "setm passada" + "la setmana passada" ], "1 year ago": [ "l'any passat" @@ -169,13 +168,11 @@ "demà" ], "in 1 month": [ - "el mes que ve", - "mes vinent" + "el mes que ve" ], "in 1 week": [ "la setm que ve", "la setmana que ve", - "setm vinent", "la setmana vinent", "la pròxima setmana", "la propera setmana" diff --git a/dateparser/data/date_translation_data/cad.py b/dateparser/data/date_translation_data/cad.py new file mode 100644 index 000000000..ab5c27593 --- /dev/null +++ b/dateparser/data/date_translation_data/cad.py @@ -0,0 +1,151 @@ +info = { + "name": "cad", + "date_order": "YMD", + "january": [ + "cháykáhday haˀimay" + ], + "february": [ + "tsahkápbiˀ" + ], + "march": [ + "wánit" + ], + "april": [ + "háshnihtiˀtiˀ" + ], + "may": [ + "háshnih haˀimay" + ], + "june": [ + "háshnihtsiˀ" + ], + "july": [ + "násˀahˀatsus" + ], + "august": [ + "dahósikah nish" + ], + "september": [ + "híisikah nish" + ], + "october": [ + "nípbaatiˀtiˀ" + ], + "november": [ + "nípbaa haˀimay" + ], + "december": [ + "cháykáhdaytiˀtiˀ" + ], + "monday": [ + "wísts'i hayashuh" + ], + "tuesday": [ + "bít hayashuh" + ], + "wednesday": [ + "dahó hayashuh" + ], + "thursday": [ + "hiwí hayashuh" + ], + "friday": [ + "dissik'an hayashuh" + ], + "saturday": [ + "inikuˀtiˀtiˀ" + ], + "sunday": [ + "inikuˀ" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/cch.py b/dateparser/data/date_translation_data/cch.py new file mode 100644 index 000000000..fcf71f131 --- /dev/null +++ b/dateparser/data/date_translation_data/cch.py @@ -0,0 +1,115 @@ +info = { + "name": "cch", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ccp.py b/dateparser/data/date_translation_data/ccp.py new file mode 100644 index 000000000..94c985603 --- /dev/null +++ b/dateparser/data/date_translation_data/ccp.py @@ -0,0 +1,219 @@ +info = { + "name": "ccp", + "date_order": "DMY", + "january": [ + "𑄎𑄚𑄪", + "𑄎𑄚𑄪𑄠𑄢𑄨" + ], + "february": [ + "𑄜𑄬𑄛𑄴", + "𑄜𑄬𑄛𑄴𑄝𑄳𑄢𑄪𑄠𑄢𑄨" + ], + "march": [ + "𑄟𑄢𑄴𑄌𑄧" + ], + "april": [ + "𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴" + ], + "may": [ + "𑄟𑄬" + ], + "june": [ + "𑄎𑄪𑄚𑄴" + ], + "july": [ + "𑄎𑄪𑄣𑄭" + ], + "august": [ + "𑄃𑄉𑄧𑄌𑄴𑄑𑄴" + ], + "september": [ + "𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴" + ], + "october": [ + "𑄃𑄧𑄇𑄴𑄑𑄬𑄝𑄧𑄢𑄴", + "𑄃𑄧𑄇𑄴𑄑𑄮𑄝𑄧𑄢𑄴" + ], + "november": [ + "𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴" + ], + "december": [ + "𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄢𑄴", + "𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄧𑄢𑄴" + ], + "monday": [ + "𑄥𑄧𑄟𑄴", + "𑄥𑄧𑄟𑄴𑄝𑄢𑄴" + ], + "tuesday": [ + "𑄟𑄧𑄁𑄉𑄧𑄣𑄴", + "𑄟𑄧𑄁𑄉𑄧𑄣𑄴𑄝𑄢𑄴" + ], + "wednesday": [ + "𑄝𑄪𑄖𑄴", + "𑄝𑄪𑄖𑄴𑄝𑄢𑄴" + ], + "thursday": [ + "𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴", + "𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴𑄝𑄢𑄴" + ], + "friday": [ + "𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴", + "𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴𑄝𑄢𑄴" + ], + "saturday": [ + "𑄥𑄧𑄚𑄨", + "𑄥𑄧𑄚𑄨𑄝𑄢𑄴" + ], + "sunday": [ + "𑄢𑄧𑄝𑄨", + "𑄢𑄧𑄝𑄨𑄝𑄢𑄴" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "𑄝𑄧𑄏𑄧𑄢𑄴" + ], + "month": [ + "𑄟𑄏𑄴" + ], + "week": [ + "𑄥𑄛𑄴𑄖" + ], + "day": [ + "𑄘𑄨𑄚𑄴" + ], + "hour": [ + "𑄊𑄧𑄚𑄴𑄘", + "𑄊𑄮𑄚𑄴𑄓" + ], + "minute": [ + "𑄟𑄨𑄚𑄨𑄖𑄴" + ], + "second": [ + "𑄥𑄬𑄉𑄬𑄚𑄴" + ], + "relative-type": { + "0 day ago": [ + "𑄃𑄬𑄌𑄴𑄥𑄳𑄠", + "𑄃𑄬𑄌𑄴𑄥𑄳𑄠𑄬" + ], + "0 hour ago": [ + "𑄃𑄳𑄆𑄬 𑄊𑄮𑄚𑄴𑄓𑄠𑄴" + ], + "0 minute ago": [ + "𑄃𑄳𑄆𑄬 𑄟𑄨𑄚𑄨𑄖𑄴" + ], + "0 month ago": [ + "𑄃𑄳𑄆𑄬 𑄟𑄏𑄴" + ], + "0 second ago": [ + "𑄃𑄨𑄇𑄴𑄅𑄚𑄪" + ], + "0 week ago": [ + "𑄃𑄳𑄆𑄬 𑄥𑄛𑄴𑄖" + ], + "0 year ago": [ + "𑄃𑄬 𑄝𑄧𑄏𑄧𑄢𑄴", + "𑄃𑄳𑄆𑄬 𑄝𑄧𑄏𑄧𑄢𑄴" + ], + "1 day ago": [ + "𑄉𑄬𑄣𑄴𑄣𑄳𑄠𑄇𑄬𑄣𑄳𑄠𑄬", + "𑄉𑄬𑄣𑄴𑄣𑄳𑄠𑄇𑄬𑄣𑄴𑄣𑄳𑄠𑄬" + ], + "1 month ago": [ + "𑄉𑄬𑄣𑄧𑄉𑄬 𑄟𑄏𑄴", + "𑄉𑄬𑄣𑄧𑄘𑄬 𑄟𑄏𑄴" + ], + "1 week ago": [ + "𑄉𑄬𑄣𑄧𑄘𑄬 𑄥𑄛𑄴𑄖" + ], + "1 year ago": [ + "𑄉𑄬𑄣𑄳𑄠𑄬 𑄝𑄧𑄏𑄧𑄢𑄴" + ], + "in 1 day": [ + "𑄃𑄬𑄎𑄬𑄖𑄴𑄖𑄳𑄠𑄇𑄬𑄣𑄳𑄠𑄬", + "𑄃𑄬𑄎𑄬𑄖𑄴𑄖𑄳𑄠𑄇𑄬𑄣𑄴𑄣𑄳𑄠𑄬" + ], + "in 1 month": [ + "𑄛𑄧𑄢𑄬 𑄟𑄏𑄴" + ], + "in 1 week": [ + "𑄛𑄧𑄢𑄬 𑄥𑄛𑄴𑄖" + ], + "in 1 year": [ + "𑄎𑄬𑄢𑄧 𑄝𑄧𑄏𑄧𑄢𑄴", + "𑄛𑄧𑄢𑄬 𑄝𑄧𑄏𑄧𑄢𑄴" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) 𑄘𑄨𑄚𑄴 𑄃𑄉𑄬" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) 𑄊𑄮𑄚𑄴𑄓 𑄃𑄉𑄬" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) 𑄟𑄨𑄚𑄨𑄖𑄴 𑄃𑄉𑄬" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) 𑄇𑄏𑄧 𑄃𑄉𑄬", + "(\\d+[.,]?\\d*) 𑄟𑄏𑄧 𑄃𑄉𑄬" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) 𑄥𑄬𑄉𑄬𑄚𑄴 𑄃𑄉𑄬" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) 𑄥𑄛𑄴𑄖 𑄃𑄉𑄬", + "(\\d+[.,]?\\d*) 𑄥𑄛𑄴𑄖𑄢𑄴 𑄃𑄉𑄬" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) 𑄝𑄧𑄏𑄧𑄢𑄴 𑄃𑄉𑄬" + ], + "in \\1 day": [ + "(\\d+[.,]?\\d*) 𑄘𑄨𑄚𑄮 𑄟𑄧𑄖𑄴𑄙𑄳𑄠" + ], + "in \\1 hour": [ + "(\\d+[.,]?\\d*) 𑄊𑄮𑄚𑄴𑄓𑄠𑄴" + ], + "in \\1 minute": [ + "(\\d+[.,]?\\d*) 𑄟𑄨𑄚𑄨𑄘𑄬" + ], + "in \\1 month": [ + "(\\d+[.,]?\\d*) 𑄟𑄏𑄬" + ], + "in \\1 second": [ + "(\\d+[.,]?\\d*) 𑄥𑄬𑄉𑄬𑄚𑄴", + "(\\d+[.,]?\\d*) 𑄥𑄬𑄉𑄬𑄚𑄴𑄘𑄬" + ], + "in \\1 week": [ + "(\\d+[.,]?\\d*) 𑄥𑄛𑄴𑄖𑄠𑄴" + ], + "in \\1 year": [ + "(\\d+[.,]?\\d*) 𑄝𑄧𑄏𑄧𑄢𑄬" + ] + }, + "locale_specific": { + "ccp-IN": { + "name": "ccp-IN" + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ce.py b/dateparser/data/date_translation_data/ce.py index 494d945cd..89b5d497e 100644 --- a/dateparser/data/date_translation_data/ce.py +++ b/dateparser/data/date_translation_data/ce.py @@ -49,25 +49,32 @@ "декабрь" ], "monday": [ - "оршотан де" + "ор", + "оршот" ], "tuesday": [ - "шинарин де" + "ши", + "шинара" ], "wednesday": [ - "кхаарин де" + "кха", + "кхаара" ], "thursday": [ - "еарин де" + "еа", + "еара" ], "friday": [ - "пӏераскан де" + "пӏе", + "пӏераска" ], "saturday": [ - "шот де" + "шуо", + "шуот" ], "sunday": [ - "кӏиранан де" + "кӏи", + "кӏира" ], "am": [ "am" @@ -92,7 +99,8 @@ ], "hour": [ "сахь", - "сахьт" + "сахьт", + "сахьташ" ], "minute": [ "мин", @@ -107,16 +115,16 @@ "тахана" ], "0 hour ago": [ - "this hour" + "хӏокху сахьтехь" ], "0 minute ago": [ - "this minute" + "хӏокху минотехь" ], "0 month ago": [ "карарчу баттахь" ], "0 second ago": [ - "now" + "хӏинца" ], "0 week ago": [ "карарчу кӏирнахь" diff --git a/dateparser/data/date_translation_data/ceb.py b/dateparser/data/date_translation_data/ceb.py new file mode 100644 index 000000000..c38a1f13c --- /dev/null +++ b/dateparser/data/date_translation_data/ceb.py @@ -0,0 +1,171 @@ +info = { + "name": "ceb", + "date_order": "MDY", + "january": [ + "ene", + "enero" + ], + "february": [ + "peb", + "pebrero" + ], + "march": [ + "mar", + "marso" + ], + "april": [ + "abr", + "abril" + ], + "may": [ + "may", + "mayo" + ], + "june": [ + "hun", + "hunyo" + ], + "july": [ + "hul", + "hulyo" + ], + "august": [ + "ago", + "agosto" + ], + "september": [ + "sep", + "septiyembre" + ], + "october": [ + "okt", + "oktubre" + ], + "november": [ + "nob", + "nobyembre" + ], + "december": [ + "dis", + "disyembre" + ], + "monday": [ + "lun", + "lunes" + ], + "tuesday": [ + "mar", + "martes" + ], + "wednesday": [ + "miy", + "miyerkules" + ], + "thursday": [ + "huw", + "huwebes" + ], + "friday": [ + "biy", + "biyernes" + ], + "saturday": [ + "sab", + "sabado" + ], + "sunday": [ + "dom", + "domingo" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "tuig" + ], + "month": [ + "buwan" + ], + "week": [ + "semana" + ], + "day": [ + "adlaw" + ], + "hour": [ + "mga oras", + "oras" + ], + "minute": [ + "minuto" + ], + "second": [ + "seg", + "segundo" + ], + "relative-type": { + "0 day ago": [ + "karong adlawa" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "karong buwana" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "karong semanaha" + ], + "0 year ago": [ + "karong tuiga" + ], + "1 day ago": [ + "gahapon" + ], + "1 month ago": [ + "miaging buwan" + ], + "1 week ago": [ + "miaging semana" + ], + "1 year ago": [ + "miaging tuig" + ], + "in 1 day": [ + "ugma" + ], + "in 1 month": [ + "sunod nga buwan" + ], + "in 1 week": [ + "sunod nga semana" + ], + "in 1 year": [ + "sunod nga tuig" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/cgg.py b/dateparser/data/date_translation_data/cgg.py index 494a6e8d1..2dfd7ffe6 100644 --- a/dateparser/data/date_translation_data/cgg.py +++ b/dateparser/data/date_translation_data/cgg.py @@ -96,6 +96,7 @@ "eizooba" ], "hour": [ + "hr", "shaaha" ], "minute": [ diff --git a/dateparser/data/date_translation_data/cho.py b/dateparser/data/date_translation_data/cho.py new file mode 100644 index 000000000..9c61cd409 --- /dev/null +++ b/dateparser/data/date_translation_data/cho.py @@ -0,0 +1,115 @@ +info = { + "name": "cho", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/chr.py b/dateparser/data/date_translation_data/chr.py index baf375fb6..488ea5543 100644 --- a/dateparser/data/date_translation_data/chr.py +++ b/dateparser/data/date_translation_data/chr.py @@ -81,6 +81,7 @@ "ꮜꮎꮄ" ], "pm": [ + "ꮢꭿᏹꭲ", "ꮢꭿᏹꭲꮧꮲ" ], "year": [ @@ -99,6 +100,7 @@ "ꭲꭶ" ], "hour": [ + "ꭲᏻꮯꮆꮣ", "ꮡꮯ", "ꮡꮯꮆꮣ" ], @@ -107,6 +109,7 @@ "ꭲꮿꮤꮼꮝꮤꮕ" ], "second": [ + "ꭰꮞ", "ꭰꮞꮲ" ], "relative-type": { @@ -120,6 +123,7 @@ "ꭿꭰ ꭲꮿꮤꮼꮝꮤꮕ" ], "0 month ago": [ + "ꭿꭰ ꭷꮈ", "ꭿꭰ ꭷꮈꭲ" ], "0 second ago": [ @@ -135,6 +139,7 @@ "ꮢꭿ" ], "1 month ago": [ + "ꭷꮈ ꮵꭸꮢ", "ꭷꮈꭲ ꮵꭸꮢ" ], "1 week ago": [ @@ -147,6 +152,8 @@ "ꮜꮎꮄꭲ" ], "in 1 month": [ + "ꭿꭰ ꭷꮈ", + "ꮤꮅꮑ ꭷꮈ", "ꮤꮅꮑ ꭷꮈꭲ" ], "in 1 week": [ @@ -163,31 +170,32 @@ ], "\\1 hour ago": [ "(\\d+[.,]?\\d*) ꭲᏻꮯꮆꮣ ꮵꭸꮢ", - "(\\d+[.,]?\\d*) ꮡꮯꮆꮣ ꮵꭸꮢ", - "ꮎꮏ (\\d+[.,]?\\d*) ꮡꮯ ꮵꭸꮢ" + "(\\d+[.,]?\\d*) ꮡꮯ ꮵꭸꮢ", + "(\\d+[.,]?\\d*) ꮡꮯꮆꮣ ꮵꭸꮢ" ], "\\1 minute ago": [ - "ꮎꮏ (\\d+[.,]?\\d*) ꭲꮿꮤ ꮵꭸꮢ", - "ꮎꮏ (\\d+[.,]?\\d*) ꭲꮿꮤꮼꮝꮤꮕ ꮵꭸꮢ" + "(\\d+[.,]?\\d*) ꭲꮿꮤ ꮵꭸꮢ", + "(\\d+[.,]?\\d*) ꭲꮿꮤꮼꮝꮤꮕ ꮵꭸꮢ" ], "\\1 month ago": [ - "ꮎꮏ (\\d+[.,]?\\d*) ꭷꮈ ꮵꭸꮢ", - "ꮎꮏ (\\d+[.,]?\\d*) ꭷꮈꭲ ꮵꭸꮢ", - "ꮎꮏ (\\d+[.,]?\\d*) ꮧꭷꮈꭲ ꮵꭸꮢ" + "(\\d+[.,]?\\d*) ꭷꮈ ꮵꭸꮢ", + "(\\d+[.,]?\\d*) ꭷꮈꭲ ꮵꭸꮢ", + "(\\d+[.,]?\\d*) ꮧꭷꮈꭲ ꮵꭸꮢ" ], "\\1 second ago": [ + "(\\d+[.,]?\\d*) ꭰꮞ ꮵꭸꮢ", "(\\d+[.,]?\\d*) ꭰꮞꮲ ꮵꭸꮢ", "(\\d+[.,]?\\d*) ꮣꮣꮎꮹꮝꭼ ꮵꭸꮢ" ], "\\1 week ago": [ - "ꮎꮏ (\\d+[.,]?\\d*) ꭲᏻꮎꮩꮣꮖꮝꮧ ꮵꭸꮢ", - "ꮎꮏ (\\d+[.,]?\\d*) ꮢꮎ ꮵꭸꮢ", - "ꮎꮏ (\\d+[.,]?\\d*) ꮢꮎꮩꮣꮖꮝꮧ ꮵꭸꮢ" + "(\\d+[.,]?\\d*) ꭲᏻꮎꮩꮣꮖꮝꮧ ꮵꭸꮢ", + "(\\d+[.,]?\\d*) ꮢꮎ ꮵꭸꮢ", + "(\\d+[.,]?\\d*) ꮢꮎꮩꮣꮖꮝꮧ ꮵꭸꮢ" ], "\\1 year ago": [ "(\\d+[.,]?\\d*) ꭲꮷꮥꮨᏼꮜꮧꮢꭲ ꮵꭸꮢ", - "(\\d+[.,]?\\d*) ꭴꮥꮨᏼꮜꮧꮢꭲ ꮵꭸꮢ", - "ꮎꮏ (\\d+[.,]?\\d*) ꭴꮥ ꮵꭸꮢ" + "(\\d+[.,]?\\d*) ꭴꮥ ꮵꭸꮢ", + "(\\d+[.,]?\\d*) ꭴꮥꮨᏼꮜꮧꮢꭲ ꮵꭸꮢ" ], "in \\1 day": [ "ꮎꮏ (\\d+[.,]?\\d*) ꭲꭶ", @@ -208,6 +216,7 @@ "ꮎꮏ (\\d+[.,]?\\d*) ꮧꭷꮈꭲ" ], "in \\1 second": [ + "ꮎꮏ (\\d+[.,]?\\d*) ꭰꮞ", "ꮎꮏ (\\d+[.,]?\\d*) ꭰꮞꮲ", "ꮎꮏ (\\d+[.,]?\\d*) ꮣꮣꮎꮹꮝꭼ ꮵꭸꮢ" ], diff --git a/dateparser/data/date_translation_data/cic.py b/dateparser/data/date_translation_data/cic.py new file mode 100644 index 000000000..03275f57d --- /dev/null +++ b/dateparser/data/date_translation_data/cic.py @@ -0,0 +1,151 @@ +info = { + "name": "cic", + "date_order": "YMD", + "january": [ + "hashi' ammo'na'" + ], + "february": [ + "hashi' atoklo'" + ], + "march": [ + "hashi' atochchí'na'" + ], + "april": [ + "iiplal" + ], + "may": [ + "mih" + ], + "june": [ + "choon" + ], + "july": [ + "choola" + ], + "august": [ + "akaas" + ], + "september": [ + "siptimpa'" + ], + "october": [ + "aaktopa'" + ], + "november": [ + "nofimpa'" + ], + "december": [ + "tiisimpa'" + ], + "monday": [ + "manti'" + ], + "tuesday": [ + "chosti'" + ], + "wednesday": [ + "winsti'" + ], + "thursday": [ + "soisti'" + ], + "friday": [ + "nannalhchifa' nittak" + ], + "saturday": [ + "nittak hollo' nakfish" + ], + "sunday": [ + "nittak hollo'" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ckb.py b/dateparser/data/date_translation_data/ckb.py index 0de4a7c70..f2818fdf4 100644 --- a/dateparser/data/date_translation_data/ckb.py +++ b/dateparser/data/date_translation_data/ckb.py @@ -77,7 +77,8 @@ "day" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser/data/date_translation_data/co.py b/dateparser/data/date_translation_data/co.py new file mode 100644 index 000000000..92b5b9419 --- /dev/null +++ b/dateparser/data/date_translation_data/co.py @@ -0,0 +1,115 @@ +info = { + "name": "co", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/cs.py b/dateparser/data/date_translation_data/cs.py index 93a93367b..00a464628 100644 --- a/dateparser/data/date_translation_data/cs.py +++ b/dateparser/data/date_translation_data/cs.py @@ -136,6 +136,7 @@ "hour": [ "h", "hodina", + "hodiny", "hodin", "hodiny", "hodinou", @@ -169,6 +170,7 @@ "tuto minutu" ], "0 month ago": [ + "tento měs", "tento měsíc" ], "0 second ago": [ @@ -185,6 +187,7 @@ "včera" ], "1 month ago": [ + "minulý měs", "minulý měsíc" ], "1 week ago": [ @@ -198,6 +201,7 @@ "zítra" ], "in 1 month": [ + "příští měs", "příští měsíc" ], "in 1 week": [ diff --git a/dateparser/data/date_translation_data/csw.py b/dateparser/data/date_translation_data/csw.py new file mode 100644 index 000000000..2031ffc70 --- /dev/null +++ b/dateparser/data/date_translation_data/csw.py @@ -0,0 +1,151 @@ +info = { + "name": "csw", + "date_order": "YMD", + "january": [ + "ᑭᓴᐱᓯᒼ" + ], + "february": [ + "ᒥᑭᓯᐏᐱᓯᒼ" + ], + "march": [ + "ᓂᐢᑭᐱᓯᒼ" + ], + "april": [ + "ᐊᓂᑭᐱᓯᒼ" + ], + "may": [ + "ᓴᑭᐸᑲᐏᐱᓯᒼ" + ], + "june": [ + "ᐸᐢᑲᐍᐦᐅᐱᓯᒼ" + ], + "july": [ + "ᐸᐢᑯᐏᐱᓯᒼ" + ], + "august": [ + "ᐅᐸᐦᐅᐏᐱᓯᒼ" + ], + "september": [ + "ᑕᐦᑿᑭᐱᓯᒼ" + ], + "october": [ + "ᐱᒪᐦᐊᒧᐏᐱᓯᒼ" + ], + "november": [ + "ᐊᑿᑎᓄᐏᐱᓯᒼ" + ], + "december": [ + "ᐸᐘᐢᒐᑲᓂᓹᐱᓯᒼ" + ], + "monday": [ + "ᐯᔭᐠᑭᓯᑲᐤ" + ], + "tuesday": [ + "ᓂᓱᑭᓯᑲᐤ" + ], + "wednesday": [ + "ᐊᐱᐦᑕᐘᐣ" + ], + "thursday": [ + "ᓀᐓᑭᓯᑲᐤ" + ], + "friday": [ + "ᓂᔭᓇᓄᑭᓯᑲᐤ" + ], + "saturday": [ + "ᒪᑎᓄᐏᑭᓯᑲᐤ" + ], + "sunday": [ + "ᐊᔭᒥᐦᐁᐃ ᑭᓯᑲᐤ" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "ᐊᐢᑭ" + ], + "month": [ + "ᐱᓯᒧᐘᐠ" + ], + "week": [ + "ᑭᓯᑲᐘ" + ], + "day": [ + "ᑭᓯᑲᐤ" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "ᐊᓄᐢᐨ" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "ᐅᑕᑯᓯᐠ" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "ᐘᐸᐦᑫ" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/cv.py b/dateparser/data/date_translation_data/cv.py new file mode 100644 index 000000000..c35452eb1 --- /dev/null +++ b/dateparser/data/date_translation_data/cv.py @@ -0,0 +1,177 @@ +info = { + "name": "cv", + "date_order": "DMY", + "january": [ + "кӑр", + "кӑрлач" + ], + "february": [ + "нар", + "нарӑс" + ], + "march": [ + "пуш" + ], + "april": [ + "ака" + ], + "may": [ + "ҫу" + ], + "june": [ + "ҫӗр", + "ҫӗртме" + ], + "july": [ + "утӑ" + ], + "august": [ + "ҫур", + "ҫурла" + ], + "september": [ + "авӑн" + ], + "october": [ + "юпа" + ], + "november": [ + "чӳк" + ], + "december": [ + "раш", + "раштав" + ], + "monday": [ + "тун", + "тунтикун" + ], + "tuesday": [ + "ытл", + "ытларикун" + ], + "wednesday": [ + "юн", + "юнкун" + ], + "thursday": [ + "кӗҫ", + "кӗҫнерникун" + ], + "friday": [ + "эр", + "эрнекун" + ], + "saturday": [ + "шӑм", + "шӑматкун" + ], + "sunday": [ + "выр", + "вырсарникун" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "ҫ", + "ҫул" + ], + "month": [ + "уй", + "уйӑх" + ], + "week": [ + "эр", + "эрне" + ], + "day": [ + "кн", + "кун" + ], + "hour": [ + "hr", + "с", + "сехет" + ], + "minute": [ + "мин", + "минут" + ], + "second": [ + "сек", + "секунд" + ], + "relative-type": { + "0 day ago": [ + "паян" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "ку уй", + "ку уйӑхра" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "ҫак эр", + "ҫак эрнере" + ], + "0 year ago": [ + "кӑҫал" + ], + "1 day ago": [ + "ӗнер" + ], + "1 month ago": [ + "иртнӗ уй", + "иртнӗ уйӑхра" + ], + "1 week ago": [ + "иртнӗ эр", + "иртнӗ эрнере" + ], + "1 year ago": [ + "пӗлтӗр" + ], + "in 1 day": [ + "ыран" + ], + "in 1 month": [ + "ҫитес уй", + "ҫитес уйӑхра" + ], + "in 1 week": [ + "ҫитес эр", + "ҫитес эрнере" + ], + "in 1 year": [ + "ҫитес ҫ", + "ҫитес ҫул" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/cy.py b/dateparser/data/date_translation_data/cy.py index da5e8a8d5..f980837a9 100644 --- a/dateparser/data/date_translation_data/cy.py +++ b/dateparser/data/date_translation_data/cy.py @@ -78,9 +78,11 @@ "sul" ], "am": [ + "am", "yb" ], "pm": [ + "pm", "yh" ], "year": [ @@ -94,10 +96,11 @@ "wythnos" ], "day": [ - "dydd" + "diwrnod" ], "hour": [ - "awr" + "awr", + "oriau" ], "minute": [ "mun", @@ -123,6 +126,7 @@ "nawr" ], "0 week ago": [ + "yr ws hon", "yr wythnos hon" ], "0 year ago": [ @@ -135,6 +139,7 @@ "mis diwethaf" ], "1 week ago": [ + "ws ddiwethaf", "wythnos ddiwethaf" ], "1 year ago": [ @@ -147,9 +152,11 @@ "mis nesaf" ], "in 1 week": [ + "ws nesaf", "wythnos nesaf" ], "in 1 year": [ + "bl nesaf", "blwyddyn nesaf" ] }, @@ -168,12 +175,15 @@ "(\\d+[.,]?\\d*) mis yn ôl" ], "\\1 second ago": [ + "(\\d+[.,]?\\d*) eil yn ôl", "(\\d+[.,]?\\d*) eiliad yn ôl" ], "\\1 week ago": [ + "(\\d+[.,]?\\d*) ws yn ôl", "(\\d+[.,]?\\d*) wythnos yn ôl" ], "\\1 year ago": [ + "(\\d+[.,]?\\d*) bl yn ôl", "(\\d+[.,]?\\d*) o flynyddoedd yn ôl" ], "in \\1 day": [ @@ -190,9 +200,11 @@ "ymhen (\\d+[.,]?\\d*) mis" ], "in \\1 second": [ + "ymhen (\\d+[.,]?\\d*) eil", "ymhen (\\d+[.,]?\\d*) eiliad" ], "in \\1 week": [ + "ymhen (\\d+[.,]?\\d*) ws", "ymhen (\\d+[.,]?\\d*) wythnos" ], "in \\1 year": [ diff --git a/dateparser/data/date_translation_data/da.py b/dateparser/data/date_translation_data/da.py index 9350b648a..0e7011464 100644 --- a/dateparser/data/date_translation_data/da.py +++ b/dateparser/data/date_translation_data/da.py @@ -53,7 +53,7 @@ "mandag" ], "tuesday": [ - "tir", + "tirs", "tirsdag" ], "wednesday": [ @@ -61,7 +61,7 @@ "onsdag" ], "thursday": [ - "tor", + "tors", "torsdag" ], "friday": [ @@ -101,6 +101,7 @@ "hour": [ "t", "time", + "timer", "timer" ], "minute": [ @@ -119,10 +120,10 @@ "i dag" ], "0 hour ago": [ - "i den kommende time" + "denne time" ], "0 minute ago": [ - "i det kommende minut" + "dette minut" ], "0 month ago": [ "denne md", @@ -167,40 +168,47 @@ "relative-type-regex": { "\\1 day ago": [ "for (\\d+[.,]?\\d*) dag siden", - "for (\\d+[.,]?\\d*) dage siden" + "for (\\d+[.,]?\\d*) dage siden", + "(\\d+[.,]?\\d*) dag siden", + "(\\d+[.,]?\\d*) dage siden" ], "\\1 hour ago": [ "for (\\d+[.,]?\\d*) time siden", "for (\\d+[.,]?\\d*) timer siden", + "(\\d+[.,]?\\d*) time siden", + "(\\d+[.,]?\\d*) timer siden", "for (\\d+[.,]?\\d*)\\s*h", "for (\\d+[.,]?\\d*) timer" ], "\\1 minute ago": [ - "for (\\d+[.,]?\\d*) min siden", "for (\\d+[.,]?\\d*) minut siden", "for (\\d+[.,]?\\d*) minutter siden", + "(\\d+[.,]?\\d*) min siden", "for (\\d+[.,]?\\d*)\\s*m", "for (\\d+[.,]?\\d*) minutter" ], "\\1 month ago": [ - "for (\\d+[.,]?\\d*) md siden", - "for (\\d+[.,]?\\d*) mdr siden", "for (\\d+[.,]?\\d*) måned siden", - "for (\\d+[.,]?\\d*) måneder siden" + "for (\\d+[.,]?\\d*) måneder siden", + "(\\d+[.,]?\\d*) md siden", + "(\\d+[.,]?\\d*) mdr siden" ], "\\1 second ago": [ - "for (\\d+[.,]?\\d*) sek siden", "for (\\d+[.,]?\\d*) sekund siden", "for (\\d+[.,]?\\d*) sekunder siden", + "(\\d+[.,]?\\d*) sek siden", "for (\\d+[.,]?\\d*)\\s*s", "for (\\d+[.,]?\\d*) sekunder" ], "\\1 week ago": [ "for (\\d+[.,]?\\d*) uge siden", - "for (\\d+[.,]?\\d*) uger siden" + "for (\\d+[.,]?\\d*) uger siden", + "(\\d+[.,]?\\d*) uge siden", + "(\\d+[.,]?\\d*) uger siden" ], "\\1 year ago": [ - "for (\\d+[.,]?\\d*) år siden" + "for (\\d+[.,]?\\d*) år siden", + "(\\d+[.,]?\\d*) år siden" ], "in \\1 day": [ "om (\\d+[.,]?\\d*) dag", diff --git a/dateparser/data/date_translation_data/dav.py b/dateparser/data/date_translation_data/dav.py index 17b9f90e6..0cc577ad4 100644 --- a/dateparser/data/date_translation_data/dav.py +++ b/dateparser/data/date_translation_data/dav.py @@ -96,6 +96,7 @@ "ituku" ], "hour": [ + "hr", "saa" ], "minute": [ diff --git a/dateparser/data/date_translation_data/de.py b/dateparser/data/date_translation_data/de.py index dcf9a0b11..563cf7374 100644 --- a/dateparser/data/date_translation_data/de.py +++ b/dateparser/data/date_translation_data/de.py @@ -37,6 +37,7 @@ ], "september": [ "sep", + "sept", "september", "Sept" ], @@ -88,10 +89,10 @@ "Son" ], "am": [ - "vorm" + "am" ], "pm": [ - "nachm" + "pm" ], "year": [ "j", @@ -118,6 +119,7 @@ "hour": [ "std", "stunde", + "stunden", "Stunden" ], "minute": [ diff --git a/dateparser/data/date_translation_data/dje.py b/dateparser/data/date_translation_data/dje.py index d3e90c103..1ee9e9a6e 100644 --- a/dateparser/data/date_translation_data/dje.py +++ b/dateparser/data/date_translation_data/dje.py @@ -94,7 +94,8 @@ "zaari" ], "hour": [ - "guuru" + "guuru", + "hr" ], "minute": [ "miniti" diff --git a/dateparser/data/date_translation_data/doi.py b/dateparser/data/date_translation_data/doi.py new file mode 100644 index 000000000..6dea39f09 --- /dev/null +++ b/dateparser/data/date_translation_data/doi.py @@ -0,0 +1,172 @@ +info = { + "name": "doi", + "date_order": "DMY", + "january": [ + "जन", + "जनवरी" + ], + "february": [ + "फर", + "फरवरी" + ], + "march": [ + "मार्च" + ], + "april": [ + "अप्रैल" + ], + "may": [ + "मेई" + ], + "june": [ + "जून" + ], + "july": [ + "जुलाई" + ], + "august": [ + "अग", + "अगस्त" + ], + "september": [ + "सित", + "सितंबर" + ], + "october": [ + "अक्तू", + "अक्तूबर" + ], + "november": [ + "नव", + "नवंबर" + ], + "december": [ + "दिस", + "दिसंबर" + ], + "monday": [ + "सोम", + "सोमबार" + ], + "tuesday": [ + "मंगल", + "मंगलबार" + ], + "wednesday": [ + "बुध", + "बुधबार" + ], + "thursday": [ + "बीर", + "बीरबार" + ], + "friday": [ + "शुक्र", + "शुक्रबार" + ], + "saturday": [ + "शनि", + "शनिबार" + ], + "sunday": [ + "ऐत", + "ऐतबार" + ], + "am": [ + "सवेर" + ], + "pm": [ + "दपैहर बाद", + "स'ञ" + ], + "year": [ + "ब", + "ब'रा" + ], + "month": [ + "म्ही", + "म्हीना" + ], + "week": [ + "ह", + "हफ्ता" + ], + "day": [ + "दिन" + ], + "hour": [ + "hr", + "घैं", + "घैंटा" + ], + "minute": [ + "मिं", + "मिंट्‌ट" + ], + "second": [ + "सकैं", + "सकैंट" + ], + "relative-type": { + "0 day ago": [ + "अज्ज" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "जंदा कल" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "औंदे कल" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/dsb.py b/dateparser/data/date_translation_data/dsb.py index 086d4ed96..d9b277141 100644 --- a/dateparser/data/date_translation_data/dsb.py +++ b/dateparser/data/date_translation_data/dsb.py @@ -89,9 +89,11 @@ "njeźela" ], "am": [ + "dop", "dopołdnja" ], "pm": [ + "wótp", "wótpołdnja" ], "year": [ @@ -113,7 +115,8 @@ "hour": [ "g", "góź", - "góźina" + "góźina", + "góźiny" ], "minute": [ "m", @@ -127,48 +130,70 @@ ], "relative-type": { "0 day ago": [ - "źinsa" + "źins", + "źinsa", + "źis" ], "0 hour ago": [ - "this hour" + "w toś tej góźinje" ], "0 minute ago": [ - "this minute" + "w toś tej minuśe" ], "0 month ago": [ - "ten mjasec" + "te mjasec", + "ten mjasec", + "tot mjasec" ], "0 second ago": [ - "now" + "něnto" ], "0 week ago": [ - "ten tyźeń" + "te tyźeń", + "ten tyźeń", + "tot tyźeń" ], "0 year ago": [ - "lětosa" + "lět", + "lětosa", + "lěts" ], "1 day ago": [ - "cora" + "cora", + "cr", + "cra" ], "1 month ago": [ - "slědny mjasec" + "zajź mjasec", + "zajźony mjasec" ], "1 week ago": [ - "slědny tyźeń" + "zajź tyźeń", + "zajźony tyźeń" ], "1 year ago": [ + "ło", + "łon", "łoni" ], "in 1 day": [ + "wit", + "witś", "witśe" ], "in 1 month": [ + "pśid mjasec", + "pśiduc mjasec", "pśiducy mjasec" ], "in 1 week": [ + "pśid tyźeń", + "pśiduc tyźeń", "pśiducy tyźeń" ], "in 1 year": [ + "zno", + "znow", "znowa" ] }, diff --git a/dateparser/data/date_translation_data/dua.py b/dateparser/data/date_translation_data/dua.py index 886f5a30a..3e79492f9 100644 --- a/dateparser/data/date_translation_data/dua.py +++ b/dateparser/data/date_translation_data/dua.py @@ -96,6 +96,7 @@ "búnyá" ], "hour": [ + "hr", "ŋgandɛ" ], "minute": [ diff --git a/dateparser/data/date_translation_data/dv.py b/dateparser/data/date_translation_data/dv.py new file mode 100644 index 000000000..17d04d4dd --- /dev/null +++ b/dateparser/data/date_translation_data/dv.py @@ -0,0 +1,115 @@ +info = { + "name": "dv", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/dyo.py b/dateparser/data/date_translation_data/dyo.py index 486d1077b..1e947e76b 100644 --- a/dateparser/data/date_translation_data/dyo.py +++ b/dateparser/data/date_translation_data/dyo.py @@ -95,7 +95,8 @@ "funak" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser/data/date_translation_data/dz.py b/dateparser/data/date_translation_data/dz.py index d1d9013dd..7625f19f0 100644 --- a/dateparser/data/date_translation_data/dz.py +++ b/dateparser/data/date_translation_data/dz.py @@ -108,6 +108,7 @@ "ཚེས་" ], "hour": [ + "hr", "ཆུ་ཚོད" ], "minute": [ diff --git a/dateparser/data/date_translation_data/ebu.py b/dateparser/data/date_translation_data/ebu.py index efe459c33..199d014b4 100644 --- a/dateparser/data/date_translation_data/ebu.py +++ b/dateparser/data/date_translation_data/ebu.py @@ -96,6 +96,7 @@ "mũthenya" ], "hour": [ + "hr", "ithaa" ], "minute": [ diff --git a/dateparser/data/date_translation_data/ee.py b/dateparser/data/date_translation_data/ee.py index b6068c50d..6782535a0 100644 --- a/dateparser/data/date_translation_data/ee.py +++ b/dateparser/data/date_translation_data/ee.py @@ -96,7 +96,8 @@ "ŋkeke" ], "hour": [ - "gaƒoƒo" + "gaƒoƒo", + "gaƒoƒowo" ], "minute": [ "aɖabaƒoƒo" diff --git a/dateparser/data/date_translation_data/el-polyton.py b/dateparser/data/date_translation_data/el-polyton.py new file mode 100644 index 000000000..00e9405ea --- /dev/null +++ b/dateparser/data/date_translation_data/el-polyton.py @@ -0,0 +1,286 @@ +info = { + "name": "el-polyton", + "date_order": "DMY", + "january": [ + "ιαν", + "ιανουάριος", + "ιανουαρίου" + ], + "february": [ + "φεβ", + "φεβρουάριος", + "φεβρουαρίου" + ], + "march": [ + "μάρ", + "μάρτιος", + "μαρ", + "μαρτίου" + ], + "april": [ + "απρ", + "απρίλιος", + "απριλίου" + ], + "may": [ + "μάι", + "μάιος", + "μαΐ", + "μαΐου" + ], + "june": [ + "ιουν", + "ιουνίου", + "ιούν", + "ιούνιος" + ], + "july": [ + "ιουλ", + "ιουλίου", + "ιούλ", + "ιούλιος" + ], + "august": [ + "αύγ", + "αὐγ", + "αὐγούστου", + "αὔγουστος" + ], + "september": [ + "σεπ", + "σεπτέμβριος", + "σεπτεμβρίου" + ], + "october": [ + "οκτ", + "ὀκτ", + "ὀκτωβρίου", + "ὀκτώβριος" + ], + "november": [ + "νοέ", + "νοέμβριος", + "νοε", + "νοεμβρίου" + ], + "december": [ + "δεκ", + "δεκέμβριος", + "δεκεμβρίου" + ], + "monday": [ + "δευ", + "δευτέρα" + ], + "tuesday": [ + "τρί", + "τρίτη" + ], + "wednesday": [ + "τετ", + "τετάρτη" + ], + "thursday": [ + "πέμ", + "πέμπτη" + ], + "friday": [ + "παρ", + "παρασκευή" + ], + "saturday": [ + "σάβ", + "σάββατο" + ], + "sunday": [ + "κυρ", + "κυριακή" + ], + "am": [ + "πμ" + ], + "pm": [ + "μμ" + ], + "year": [ + "έτ", + "έτος" + ], + "month": [ + "μήν", + "μήνας" + ], + "week": [ + "εβδ", + "εβδομάδα" + ], + "day": [ + "ημ", + "ημέρα" + ], + "hour": [ + "ώ", + "ώρα", + "ώρες" + ], + "minute": [ + "λ", + "λεπ", + "λεπτό" + ], + "second": [ + "δ", + "δευτ", + "δευτερόλεπτο" + ], + "relative-type": { + "0 day ago": [ + "σήμερα" + ], + "0 hour ago": [ + "τρέχουσα ώρα" + ], + "0 minute ago": [ + "τρέχον λεπτό" + ], + "0 month ago": [ + "τρέχ μήνας", + "τρέχων μήνας" + ], + "0 second ago": [ + "τώρα" + ], + "0 week ago": [ + "τρέχ εβδ", + "τρέχ εβδομάδα", + "τρέχουσα εβδομάδα" + ], + "0 year ago": [ + "φέτος" + ], + "1 day ago": [ + "χθες" + ], + "1 month ago": [ + "προηγ μήνας", + "προηγούμενος μήνας" + ], + "1 week ago": [ + "προηγ εβδ", + "προηγ εβδομάδα", + "προηγούμενη εβδομάδα" + ], + "1 year ago": [ + "πέρσι" + ], + "in 1 day": [ + "αύριο" + ], + "in 1 month": [ + "επόμ μήνας", + "επόμενος μήνας" + ], + "in 1 week": [ + "επόμ εβδ", + "επόμ εβδομάδα", + "επόμενη εβδομάδα" + ], + "in 1 year": [ + "επόμενο έτος" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) ημ πριν", + "πριν από (\\d+[.,]?\\d*) ημ", + "πριν από (\\d+[.,]?\\d*) ημέρα", + "πριν από (\\d+[.,]?\\d*) ημέρες" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) ώ πριν", + "πριν από (\\d+[.,]?\\d*) ώ", + "πριν από (\\d+[.,]?\\d*) ώρα", + "πριν από (\\d+[.,]?\\d*) ώρες" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) λ πριν", + "πριν από (\\d+[.,]?\\d*) λεπ", + "πριν από (\\d+[.,]?\\d*) λεπτά", + "πριν από (\\d+[.,]?\\d*) λεπτό" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) μ πριν", + "πριν από (\\d+[.,]?\\d*) μήνα", + "πριν από (\\d+[.,]?\\d*) μήνες" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) δ πριν", + "πριν από (\\d+[.,]?\\d*) δευτ", + "πριν από (\\d+[.,]?\\d*) δευτερόλεπτα", + "πριν από (\\d+[.,]?\\d*) δευτερόλεπτο" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) εβδ πριν", + "πριν από (\\d+[.,]?\\d*) εβδ", + "πριν από (\\d+[.,]?\\d*) εβδομάδα", + "πριν από (\\d+[.,]?\\d*) εβδομάδες" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) έτη πριν", + "(\\d+[.,]?\\d*) έτος πριν", + "πριν από (\\d+[.,]?\\d*) έτη", + "πριν από (\\d+[.,]?\\d*) έτος" + ], + "in \\1 day": [ + "σε (\\d+[.,]?\\d*) ημ", + "σε (\\d+[.,]?\\d*) ημέρα", + "σε (\\d+[.,]?\\d*) ημέρες" + ], + "in \\1 hour": [ + "σε (\\d+[.,]?\\d*) ώ", + "σε (\\d+[.,]?\\d*) ώρα", + "σε (\\d+[.,]?\\d*) ώρες" + ], + "in \\1 minute": [ + "σε (\\d+[.,]?\\d*) λ", + "σε (\\d+[.,]?\\d*) λεπ", + "σε (\\d+[.,]?\\d*) λεπτά", + "σε (\\d+[.,]?\\d*) λεπτό" + ], + "in \\1 month": [ + "σε (\\d+[.,]?\\d*) μ", + "σε (\\d+[.,]?\\d*) μήνα", + "σε (\\d+[.,]?\\d*) μήνες" + ], + "in \\1 second": [ + "σε (\\d+[.,]?\\d*) δ", + "σε (\\d+[.,]?\\d*) δευτ", + "σε (\\d+[.,]?\\d*) δευτερόλεπτα", + "σε (\\d+[.,]?\\d*) δευτερόλεπτο" + ], + "in \\1 week": [ + "σε (\\d+[.,]?\\d*) εβδ", + "σε (\\d+[.,]?\\d*) εβδομάδα", + "σε (\\d+[.,]?\\d*) εβδομάδες" + ], + "in \\1 year": [ + "σε (\\d+[.,]?\\d*) έτη", + "σε (\\d+[.,]?\\d*) έτος" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/el.py b/dateparser/data/date_translation_data/el.py index 12c793285..34afe02ed 100644 --- a/dateparser/data/date_translation_data/el.py +++ b/dateparser/data/date_translation_data/el.py @@ -114,12 +114,13 @@ "εβδομάδα" ], "day": [ + "ημ", "ημέρα" ], "hour": [ "ώ", - "ώρ", - "ώρα" + "ώρα", + "ώρες" ], "minute": [ "λ", @@ -136,19 +137,22 @@ "σήμερα" ], "0 hour ago": [ - "αυτήν την ώρα" + "τρέχουσα ώρα" ], "0 minute ago": [ - "αυτό το λεπτό" + "τρέχον λεπτό" ], "0 month ago": [ + "τρέχ μήνας", "τρέχων μήνας" ], "0 second ago": [ "τώρα" ], "0 week ago": [ - "αυτήν την εβδομάδα" + "τρέχ εβδ", + "τρέχ εβδομάδα", + "τρέχουσα εβδομάδα" ], "0 year ago": [ "φέτος" @@ -157,9 +161,12 @@ "χθες" ], "1 month ago": [ + "προηγ μήνας", "προηγούμενος μήνας" ], "1 week ago": [ + "προηγ εβδ", + "προηγ εβδομάδα", "προηγούμενη εβδομάδα" ], "1 year ago": [ @@ -169,9 +176,12 @@ "αύριο" ], "in 1 month": [ + "επόμ μήνας", "επόμενος μήνας" ], "in 1 week": [ + "επόμ εβδ", + "επόμ εβδομάδα", "επόμενη εβδομάδα" ], "in 1 year": [ @@ -181,12 +191,13 @@ "relative-type-regex": { "\\1 day ago": [ "(\\d+[.,]?\\d*) ημ πριν", + "πριν από (\\d+[.,]?\\d*) ημ", "πριν από (\\d+[.,]?\\d*) ημέρα", "πριν από (\\d+[.,]?\\d*) ημέρες" ], "\\1 hour ago": [ "(\\d+[.,]?\\d*) ώ πριν", - "πριν από (\\d+[.,]?\\d*) ώρ", + "πριν από (\\d+[.,]?\\d*) ώ", "πριν από (\\d+[.,]?\\d*) ώρα", "πριν από (\\d+[.,]?\\d*) ώρες" ], @@ -226,7 +237,6 @@ ], "in \\1 hour": [ "σε (\\d+[.,]?\\d*) ώ", - "σε (\\d+[.,]?\\d*) ώρ", "σε (\\d+[.,]?\\d*) ώρα", "σε (\\d+[.,]?\\d*) ώρες" ], diff --git a/dateparser/data/date_translation_data/en-Dsrt.py b/dateparser/data/date_translation_data/en-Dsrt.py new file mode 100644 index 000000000..b442e3fc0 --- /dev/null +++ b/dateparser/data/date_translation_data/en-Dsrt.py @@ -0,0 +1,168 @@ +info = { + "name": "en-Dsrt", + "date_order": "YMD", + "january": [ + "𐐾𐐰𐑌", + "𐐾𐐰𐑌𐐷𐐭𐐯𐑉𐐨" + ], + "february": [ + "𐑁𐐯𐐺", + "𐑁𐐯𐐺𐑉𐐭𐐯𐑉𐐨" + ], + "march": [ + "𐑋𐐪𐑉", + "𐑋𐐪𐑉𐐽" + ], + "april": [ + "𐐩𐐹𐑉", + "𐐩𐐹𐑉𐐮𐑊" + ], + "may": [ + "𐑋𐐩" + ], + "june": [ + "𐐾𐐭𐑌" + ], + "july": [ + "𐐾𐐭𐑊", + "𐐾𐐭𐑊𐐴" + ], + "august": [ + "𐐪𐑀", + "𐐪𐑀𐐲𐑅𐐻" + ], + "september": [ + "𐑅𐐯𐐹", + "𐑅𐐯𐐹𐐻𐐯𐑋𐐺𐐲𐑉" + ], + "october": [ + "𐐱𐐿𐐻", + "𐐱𐐿𐐻𐐬𐐺𐐲𐑉" + ], + "november": [ + "𐑌𐐬𐑂", + "𐑌𐐬𐑂𐐯𐑋𐐺𐐲𐑉" + ], + "december": [ + "𐐼𐐨𐑅", + "𐐼𐐨𐑅𐐯𐑋𐐺𐐲𐑉" + ], + "monday": [ + "𐑋𐐲𐑌", + "𐑋𐐲𐑌𐐼𐐩" + ], + "tuesday": [ + "𐐻𐐭𐑆", + "𐐻𐐭𐑆𐐼𐐩" + ], + "wednesday": [ + "𐐶𐐯𐑌", + "𐐶𐐯𐑌𐑆𐐼𐐩" + ], + "thursday": [ + "𐑃𐐲𐑉", + "𐑃𐐲𐑉𐑆𐐼𐐩" + ], + "friday": [ + "𐑁𐑉𐐴", + "𐑁𐑉𐐴𐐼𐐩" + ], + "saturday": [ + "𐑅𐐰𐐻", + "𐑅𐐰𐐻𐐲𐑉𐐼𐐩" + ], + "sunday": [ + "𐑅𐐲𐑌", + "𐑅𐐲𐑌𐐼𐐩" + ], + "am": [ + "𐐰𐑋" + ], + "pm": [ + "𐐹𐑋" + ], + "year": [ + "𐐷𐐨𐑉" + ], + "month": [ + "𐑋𐐲𐑌𐑃" + ], + "week": [ + "𐐶𐐨𐐿" + ], + "day": [ + "𐐼𐐩" + ], + "hour": [ + "hr", + "𐐵𐑉" + ], + "minute": [ + "𐑋𐐮𐑌𐐲𐐻" + ], + "second": [ + "𐑅𐐯𐐿𐐲𐑌𐐼" + ], + "relative-type": { + "0 day ago": [ + "𐐻𐐲𐐼𐐩" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "𐐷𐐯𐑅𐐻𐐲𐑉𐐼𐐩" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "𐐻𐐲𐑋𐐱𐑉𐐬" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/en-Shaw.py b/dateparser/data/date_translation_data/en-Shaw.py new file mode 100644 index 000000000..72161f6f4 --- /dev/null +++ b/dateparser/data/date_translation_data/en-Shaw.py @@ -0,0 +1,169 @@ +info = { + "name": "en-Shaw", + "date_order": "YMD", + "january": [ + "·𐑡𐑨", + "·𐑡𐑨𐑙𐑘𐑭𐑢𐑺𐑰" + ], + "february": [ + "·𐑓𐑧", + "·𐑓𐑧𐑚𐑘𐑵𐑢𐑺𐑰" + ], + "march": [ + "·𐑥𐑸", + "·𐑥𐑸𐑗" + ], + "april": [ + "·𐑱𐑐", + "·𐑱𐑐𐑮𐑭𐑤" + ], + "may": [ + "·𐑥𐑱" + ], + "june": [ + "·𐑡𐑵", + "·𐑡𐑵𐑯" + ], + "july": [ + "·𐑡𐑫", + "·𐑡𐑫𐑤𐑲" + ], + "august": [ + "·𐑪𐑜", + "·𐑪𐑜𐑭𐑕𐑑" + ], + "september": [ + "·𐑕𐑧", + "·𐑕𐑧𐑐𐑑𐑧𐑥𐑚𐑸" + ], + "october": [ + "·𐑷𐑒", + "·𐑷𐑒𐑑𐑴𐑚𐑸" + ], + "november": [ + "·𐑯𐑴", + "·𐑯𐑴𐑝𐑧𐑥𐑚𐑸" + ], + "december": [ + "·𐑛𐑭", + "·𐑛𐑭𐑕𐑧𐑥𐑚𐑸" + ], + "monday": [ + "·𐑥𐑭", + "·𐑥𐑭𐑙𐑛𐑱" + ], + "tuesday": [ + "·𐑑𐑵", + "·𐑑𐑵𐑟𐑛𐑱" + ], + "wednesday": [ + "·𐑢𐑧", + "·𐑢𐑧𐑙𐑟𐑛𐑱" + ], + "thursday": [ + "·𐑔𐑻", + "·𐑔𐑻𐑟𐑛𐑱" + ], + "friday": [ + "·𐑓𐑮", + "·𐑓𐑮𐑲𐑛𐑱" + ], + "saturday": [ + "·𐑕𐑨", + "·𐑕𐑨𐑛𐑻𐑛𐑱" + ], + "sunday": [ + "·𐑕𐑭", + "·𐑕𐑭𐑙𐑛𐑱" + ], + "am": [ + "𐑨𐑥" + ], + "pm": [ + "𐑐𐑥" + ], + "year": [ + "𐑘𐑽" + ], + "month": [ + "𐑥𐑭𐑙𐑔" + ], + "week": [ + "𐑢𐑰𐑒" + ], + "day": [ + "𐑛𐑱" + ], + "hour": [ + "hr", + "𐑬𐑮" + ], + "minute": [ + "𐑥𐑦𐑙𐑦𐑑" + ], + "second": [ + "𐑕𐑧𐑒𐑭𐑙𐑛" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/en.py b/dateparser/data/date_translation_data/en.py index b70975e1b..f1a38a29c 100644 --- a/dateparser/data/date_translation_data/en.py +++ b/dateparser/data/date_translation_data/en.py @@ -107,6 +107,7 @@ ], "hour": [ "hour", + "hours", "hr", "h", "hours", @@ -199,71 +200,85 @@ "relative-type-regex": { "\\1 day ago": [ "(\\d+[.,]?\\d*) day ago", - "(\\d+[.,]?\\d*) days ago" + "(\\d+[.,]?\\d*) days ago", + "(\\d+[.,]?\\d*)d ago" ], "\\1 hour ago": [ "(\\d+[.,]?\\d*) hour ago", "(\\d+[.,]?\\d*) hours ago", - "(\\d+[.,]?\\d*) hr ago" + "(\\d+[.,]?\\d*) hr ago", + "(\\d+[.,]?\\d*)h ago" ], "\\1 minute ago": [ "(\\d+[.,]?\\d*) min ago", "(\\d+[.,]?\\d*) minute ago", - "(\\d+[.,]?\\d*) minutes ago" + "(\\d+[.,]?\\d*) minutes ago", + "(\\d+[.,]?\\d*)m ago" ], "\\1 month ago": [ "(\\d+[.,]?\\d*) mo ago", "(\\d+[.,]?\\d*) month ago", - "(\\d+[.,]?\\d*) months ago" + "(\\d+[.,]?\\d*) months ago", + "(\\d+[.,]?\\d*)mo ago" ], "\\1 second ago": [ "(\\d+[.,]?\\d*) sec ago", "(\\d+[.,]?\\d*) second ago", - "(\\d+[.,]?\\d*) seconds ago" + "(\\d+[.,]?\\d*) seconds ago", + "(\\d+[.,]?\\d*)s ago" ], "\\1 week ago": [ "(\\d+[.,]?\\d*) week ago", "(\\d+[.,]?\\d*) weeks ago", - "(\\d+[.,]?\\d*) wk ago" + "(\\d+[.,]?\\d*) wk ago", + "(\\d+[.,]?\\d*)w ago" ], "\\1 year ago": [ "(\\d+[.,]?\\d*) year ago", "(\\d+[.,]?\\d*) years ago", - "(\\d+[.,]?\\d*) yr ago" + "(\\d+[.,]?\\d*) yr ago", + "(\\d+[.,]?\\d*)y ago" ], "in \\1 day": [ "in (\\d+[.,]?\\d*) day", - "in (\\d+[.,]?\\d*) days" + "in (\\d+[.,]?\\d*) days", + "in (\\d+[.,]?\\d*)d" ], "in \\1 hour": [ "in (\\d+[.,]?\\d*) hour", "in (\\d+[.,]?\\d*) hours", - "in (\\d+[.,]?\\d*) hr" + "in (\\d+[.,]?\\d*) hr", + "in (\\d+[.,]?\\d*)h" ], "in \\1 minute": [ "in (\\d+[.,]?\\d*) min", "in (\\d+[.,]?\\d*) minute", - "in (\\d+[.,]?\\d*) minutes" + "in (\\d+[.,]?\\d*) minutes", + "in (\\d+[.,]?\\d*)m" ], "in \\1 month": [ "in (\\d+[.,]?\\d*) mo", "in (\\d+[.,]?\\d*) month", - "in (\\d+[.,]?\\d*) months" + "in (\\d+[.,]?\\d*) months", + "in (\\d+[.,]?\\d*)mo" ], "in \\1 second": [ "in (\\d+[.,]?\\d*) sec", "in (\\d+[.,]?\\d*) second", - "in (\\d+[.,]?\\d*) seconds" + "in (\\d+[.,]?\\d*) seconds", + "in (\\d+[.,]?\\d*)s" ], "in \\1 week": [ "in (\\d+[.,]?\\d*) week", "in (\\d+[.,]?\\d*) weeks", - "in (\\d+[.,]?\\d*) wk" + "in (\\d+[.,]?\\d*) wk", + "in (\\d+[.,]?\\d*)w" ], "in \\1 year": [ "in (\\d+[.,]?\\d*) year", "in (\\d+[.,]?\\d*) years", - "in (\\d+[.,]?\\d*) yr" + "in (\\d+[.,]?\\d*) yr", + "in (\\d+[.,]?\\d*)y" ], "in \\1 decade": [ "in (\\d+[.,]?\\d*) decades?" @@ -275,60 +290,129 @@ "locale_specific": { "en-001": { "name": "en-001", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-150": { "name": "en-150", + "date_order": "DMY", + "september": [ + "sept" + ] + }, + "en-AE": { + "name": "en-AE", "date_order": "DMY" }, "en-AG": { "name": "en-AG", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-AI": { "name": "en-AI", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-AS": { "name": "en-AS" }, "en-AT": { "name": "en-AT", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-AU": { "name": "en-AU", "date_order": "DMY", - "hour": [ - "h" - ] + "september": [ + "sept" + ], + "relative-type-regex": { + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) hrs ago" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) mins ago" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) secs ago" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) wks ago" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) yrs ago" + ], + "in \\1 hour": [ + "in (\\d+[.,]?\\d*) hrs" + ], + "in \\1 minute": [ + "in (\\d+[.,]?\\d*) mins" + ], + "in \\1 second": [ + "in (\\d+[.,]?\\d*) secs" + ], + "in \\1 week": [ + "in (\\d+[.,]?\\d*) wks" + ], + "in \\1 year": [ + "in (\\d+[.,]?\\d*) yrs" + ] + } }, "en-BB": { "name": "en-BB", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-BE": { "name": "en-BE", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-BI": { "name": "en-BI" }, "en-BM": { "name": "en-BM", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-BS": { "name": "en-BS", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-BW": { "name": "en-BW", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-BZ": { "name": "en-BZ", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-CA": { "name": "en-CA", @@ -374,263 +458,459 @@ }, "en-CC": { "name": "en-CC", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-CH": { "name": "en-CH", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-CK": { "name": "en-CK", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-CM": { "name": "en-CM", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-CX": { "name": "en-CX", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-CY": { "name": "en-CY", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-DE": { "name": "en-DE", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-DG": { "name": "en-DG", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-DK": { "name": "en-DK", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-DM": { "name": "en-DM", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-ER": { "name": "en-ER", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-FI": { "name": "en-FI", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-FJ": { "name": "en-FJ", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-FK": { "name": "en-FK", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-FM": { "name": "en-FM", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-GB": { "name": "en-GB", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-GD": { "name": "en-GD", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-GG": { "name": "en-GG", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-GH": { "name": "en-GH", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-GI": { "name": "en-GI", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-GM": { "name": "en-GM", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-GU": { "name": "en-GU" }, "en-GY": { "name": "en-GY", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-HK": { "name": "en-HK", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] + }, + "en-ID": { + "name": "en-ID", + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-IE": { "name": "en-IE", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-IL": { "name": "en-IL", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-IM": { "name": "en-IM", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-IN": { "name": "en-IN", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-IO": { "name": "en-IO", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-JE": { "name": "en-JE", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-JM": { "name": "en-JM", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-KE": { "name": "en-KE", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-KI": { "name": "en-KI", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-KN": { "name": "en-KN", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-KY": { "name": "en-KY", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-LC": { "name": "en-LC", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-LR": { "name": "en-LR", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-LS": { "name": "en-LS", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-MG": { "name": "en-MG", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-MH": { "name": "en-MH" }, "en-MO": { "name": "en-MO", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-MP": { "name": "en-MP" }, "en-MS": { "name": "en-MS", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-MT": { "name": "en-MT", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-MU": { "name": "en-MU", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] + }, + "en-MV": { + "name": "en-MV", + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-MW": { "name": "en-MW", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-MY": { "name": "en-MY", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-NA": { "name": "en-NA", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-NF": { "name": "en-NF", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-NG": { "name": "en-NG", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-NL": { "name": "en-NL", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-NR": { "name": "en-NR", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-NU": { "name": "en-NU", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-NZ": { "name": "en-NZ", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-PG": { "name": "en-PG", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-PH": { - "name": "en-PH", - "date_order": "DMY" + "name": "en-PH" }, "en-PK": { "name": "en-PK", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-PN": { "name": "en-PN", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-PR": { "name": "en-PR" }, "en-PW": { "name": "en-PW", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-RW": { "name": "en-RW", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-SB": { "name": "en-SB", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-SC": { "name": "en-SC", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-SD": { "name": "en-SD", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-SE": { "name": "en-SE", - "date_order": "YMD" + "date_order": "YMD", + "september": [ + "sept" + ] }, "en-SG": { "name": "en-SG", "date_order": "DMY", + "september": [ + "sept" + ], "month": [ "mth" ], @@ -656,89 +936,149 @@ }, "en-SH": { "name": "en-SH", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-SI": { "name": "en-SI", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-SL": { "name": "en-SL", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-SS": { "name": "en-SS", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-SX": { "name": "en-SX", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-SZ": { "name": "en-SZ", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-TC": { "name": "en-TC", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-TK": { "name": "en-TK", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-TO": { "name": "en-TO", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-TT": { "name": "en-TT", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-TV": { "name": "en-TV", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-TZ": { "name": "en-TZ", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-UG": { "name": "en-UG", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-UM": { "name": "en-UM" }, "en-VC": { "name": "en-VC", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-VG": { "name": "en-VG", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-VI": { "name": "en-VI" }, "en-VU": { "name": "en-VU", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-WS": { "name": "en-WS", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-ZA": { "name": "en-ZA", - "date_order": "YMD" + "date_order": "YMD", + "september": [ + "sept" + ] }, "en-ZM": { "name": "en-ZM", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-ZW": { "name": "en-ZW", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] } }, "skip": [ diff --git a/dateparser/data/date_translation_data/eo.py b/dateparser/data/date_translation_data/eo.py index 8e172aeb2..252d94593 100644 --- a/dateparser/data/date_translation_data/eo.py +++ b/dateparser/data/date_translation_data/eo.py @@ -96,7 +96,8 @@ "day" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser/data/date_translation_data/es.py b/dateparser/data/date_translation_data/es.py index ea36dbf81..585bfa405 100644 --- a/dateparser/data/date_translation_data/es.py +++ b/dateparser/data/date_translation_data/es.py @@ -115,6 +115,7 @@ "hour": [ "h", "hora", + "horas", "horas" ], "minute": [ @@ -144,6 +145,7 @@ "ahora" ], "0 week ago": [ + "esta sem", "esta semana" ], "0 year ago": [ @@ -156,7 +158,8 @@ "el mes pasado" ], "1 week ago": [ - "la semana pasada" + "la semana pasada", + "sem ant" ], "1 year ago": [ "el año pasado" @@ -168,7 +171,8 @@ "el próximo mes" ], "in 1 week": [ - "la próxima semana" + "la próxima semana", + "próx sem" ], "in 1 year": [ "el próximo año" @@ -179,6 +183,7 @@ }, "relative-type-regex": { "\\1 day ago": [ + "hace (\\d+[.,]?\\d*) d", "hace (\\d+[.,]?\\d*) día", "hace (\\d+[.,]?\\d*) días" ], @@ -213,6 +218,7 @@ "hace (\\d+[.,]?\\d*) años" ], "in \\1 day": [ + "dentro de (\\d+[.,]?\\d*) d", "dentro de (\\d+[.,]?\\d*) día", "dentro de (\\d+[.,]?\\d*) días" ], @@ -250,18 +256,25 @@ "locale_specific": { "es-419": { "name": "es-419", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-AR": { "name": "es-AR", - "september": [ - "sep" + "hour": [ + "hs" ], "second": [ "seg" ], + "relative-type": { + "1 week ago": [ + "sem pas" + ] + }, "relative-type-regex": { "\\1 second ago": [ "hace (\\d+[.,]?\\d*) seg" @@ -273,75 +286,97 @@ }, "es-BO": { "name": "es-BO", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-BR": { "name": "es-BR", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-BZ": { "name": "es-BZ", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-CL": { "name": "es-CL", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-CO": { "name": "es-CO", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-CR": { "name": "es-CR", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-CU": { "name": "es-CU", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-DO": { "name": "es-DO", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-EA": { "name": "es-EA" }, "es-EC": { "name": "es-EC", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-GQ": { "name": "es-GQ" }, "es-GT": { "name": "es-GT", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-HN": { "name": "es-HN", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-IC": { "name": "es-IC" @@ -352,6 +387,9 @@ "sep" ], "relative-type": { + "1 week ago": [ + "sem pas" + ], "in 1 month": [ "el mes próximo" ], @@ -371,9 +409,6 @@ "en (\\d+[.,]?\\d*) h", "en (\\d+[.,]?\\d*) n" ], - "in \\1 minute": [ - "en (\\d+[.,]?\\d*) min" - ], "in \\1 month": [ "en (\\d+[.,]?\\d*) m", "en (\\d+[.,]?\\d*) mes", @@ -392,23 +427,32 @@ }, "es-NI": { "name": "es-NI", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-PA": { "name": "es-PA", "date_order": "MDY", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-PE": { "name": "es-PE", "september": [ "set", "setiembre" - ] + ], + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-PH": { "name": "es-PH" @@ -416,15 +460,22 @@ "es-PR": { "name": "es-PR", "date_order": "MDY", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-PY": { "name": "es-PY", "second": [ "seg" ], + "relative-type": { + "1 week ago": [ + "sem pas" + ] + }, "relative-type-regex": { "\\1 second ago": [ "hace (\\d+[.,]?\\d*) seg" @@ -436,25 +487,42 @@ }, "es-SV": { "name": "es-SV", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-US": { "name": "es-US", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pasada" + ], + "in 1 week": [ + "próxima sem" + ] + } }, "es-UY": { "name": "es-UY", "september": [ "set", "setiembre" - ] + ], + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-VE": { - "name": "es-VE" + "name": "es-VE", + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } } }, "skip": [ diff --git a/dateparser/data/date_translation_data/et.py b/dateparser/data/date_translation_data/et.py index d17276fb5..0535f55d0 100644 --- a/dateparser/data/date_translation_data/et.py +++ b/dateparser/data/date_translation_data/et.py @@ -97,7 +97,8 @@ ], "hour": [ "t", - "tund" + "tund", + "tunnid" ], "minute": [ "min", @@ -119,39 +120,57 @@ "praegusel minutil" ], "0 month ago": [ - "käesolev kuu" + "käesolev kuu", + "see k", + "see kuu" ], "0 second ago": [ "nüüd" ], "0 week ago": [ - "käesolev nädal" + "käesolev nädal", + "see n", + "see näd" ], "0 year ago": [ - "käesolev aasta" + "käesolev a", + "käesolev aasta", + "see a" ], "1 day ago": [ "eile" ], "1 month ago": [ + "eelm k", + "eelm kuu", "eelmine kuu" ], "1 week ago": [ + "eelm n", + "eelm näd", "eelmine nädal" ], "1 year ago": [ + "eelm a", + "eelmine a", "eelmine aasta" ], "in 1 day": [ "homme" ], "in 1 month": [ + "järgm k", + "järgm kuu", "järgmine kuu" ], "in 1 week": [ + "järgm n", + "järgm näd", "järgmine nädal" ], "in 1 year": [ + "järgm a", + "järgmine a", "järgmine aasta" ] }, diff --git a/dateparser/data/date_translation_data/eu.py b/dateparser/data/date_translation_data/eu.py index 2e8a6c436..8f9714d73 100644 --- a/dateparser/data/date_translation_data/eu.py +++ b/dateparser/data/date_translation_data/eu.py @@ -100,7 +100,8 @@ ], "hour": [ "h", - "ordua" + "ordua", + "orduak" ], "minute": [ "min", @@ -121,13 +122,13 @@ "minutu honetan" ], "0 month ago": [ - "hilabete hau" + "hilabete honetan" ], "0 second ago": [ "orain" ], "0 week ago": [ - "aste hau" + "aste honetan" ], "0 year ago": [ "aurten" @@ -136,25 +137,27 @@ "atzo" ], "1 month ago": [ - "aurreko hilabetea" + "aurreko hilabetean" ], "1 week ago": [ - "aurreko astea" + "aurreko astean" ], "1 year ago": [ - "aurreko urtea" + "aurreko urtea", + "iaz" ], "in 1 day": [ "bihar" ], "in 1 month": [ - "hurrengo hilabetea" + "hurrengo hilabetean" ], "in 1 week": [ - "hurrengo astea" + "hurrengo astean" ], "in 1 year": [ - "hurrengo urtea" + "hurrengo urtea", + "hurrengo urtean" ] }, "relative-type-regex": { diff --git a/dateparser/data/date_translation_data/ewo.py b/dateparser/data/date_translation_data/ewo.py index 62c3afc0c..39c599a6e 100644 --- a/dateparser/data/date_translation_data/ewo.py +++ b/dateparser/data/date_translation_data/ewo.py @@ -96,7 +96,8 @@ "amǒs" ], "hour": [ - "awola" + "awola", + "hr" ], "minute": [ "enútɛn" diff --git a/dateparser/data/date_translation_data/fa.py b/dateparser/data/date_translation_data/fa.py index 8fa28ceaf..468c86005 100644 --- a/dateparser/data/date_translation_data/fa.py +++ b/dateparser/data/date_translation_data/fa.py @@ -136,7 +136,6 @@ "دیروز" ], "1 month ago": [ - "ماه پیش", "ماه گذشته" ], "1 week ago": [ @@ -181,7 +180,8 @@ "(\\d+[.,]?\\d*) سال پیش" ], "in \\1 day": [ - "(\\d+[.,]?\\d*) روز بعد" + "(\\d+[.,]?\\d*) روز بعد", + "(\\d+[.,]?\\d*) روز دیگر" ], "in \\1 hour": [ "(\\d+[.,]?\\d*) ساعت بعد" diff --git a/dateparser/data/date_translation_data/ff-Adlm.py b/dateparser/data/date_translation_data/ff-Adlm.py new file mode 100644 index 000000000..5c2f10393 --- /dev/null +++ b/dateparser/data/date_translation_data/ff-Adlm.py @@ -0,0 +1,300 @@ +info = { + "name": "ff-Adlm", + "date_order": "DMY", + "january": [ + "𞤧𞤭𞥅𞤤", + "𞤧𞤭𞥅𞤤𞤮" + ], + "february": [ + "𞤷𞤮𞤤", + "𞤷𞤮𞤤𞤼𞤮" + ], + "march": [ + "𞤲𞤦𞤮𞥅𞤴", + "𞤲𞤦𞤮𞥅𞤴𞤮" + ], + "april": [ + "𞤧𞤫𞥅𞤼", + "𞤧𞤫𞥅𞤼𞤮" + ], + "may": [ + "𞤣𞤵𞥅𞤶", + "𞤣𞤵𞥅𞤶𞤮" + ], + "june": [ + "𞤳𞤮𞤪", + "𞤳𞤮𞤪𞤧𞤮" + ], + "july": [ + "𞤥𞤮𞤪", + "𞤥𞤮𞤪𞤧𞤮" + ], + "august": [ + "𞤶𞤵𞤳", + "𞤶𞤵𞤳𞤮" + ], + "september": [ + "𞤧𞤭𞤤", + "𞤧𞤭𞤤𞤼𞤮" + ], + "october": [ + "𞤴𞤢𞤪", + "𞤴𞤢𞤪𞤳𞤮" + ], + "november": [ + "𞤶𞤮𞤤", + "𞤶𞤮𞤤𞤮" + ], + "december": [ + "𞤦𞤮𞤱", + "𞤦𞤮𞤱𞤼𞤮" + ], + "monday": [ + "𞤢𞥄𞤩𞤵", + "𞤢𞥄𞤩𞤵𞤲𞥋𞤣𞤫" + ], + "tuesday": [ + "𞤥𞤢𞤦", + "𞤥𞤢𞤱𞤦𞤢𞥄𞤪𞤫" + ], + "wednesday": [ + "𞤲𞤶𞤫𞤧𞤤𞤢𞥄𞤪𞤫", + "𞤶𞤫𞤧" + ], + "thursday": [ + "𞤲𞤢𞥄𞤧", + "𞤲𞤢𞥄𞤧𞤢𞥄𞤲𞤣𞤫" + ], + "friday": [ + "𞤥𞤢𞤣", + "𞤥𞤢𞤱𞤲𞤣𞤫" + ], + "saturday": [ + "𞤸𞤮𞤪", + "𞤸𞤮𞤪𞤦𞤭𞤪𞥆𞤫" + ], + "sunday": [ + "𞤪𞤫𞤬", + "𞤪𞤫𞤬𞤦𞤭𞤪𞥆𞤫" + ], + "am": [ + "𞤢𞤰" + ], + "pm": [ + "𞤩𞤰" + ], + "year": [ + "𞤸𞤭𞤼", + "𞤸𞤭𞤼𞤢𞥄𞤲𞤣𞤫" + ], + "month": [ + "𞤤𞤫𞤱", + "𞤤𞤫𞤱𞤪𞤵" + ], + "week": [ + "𞤴𞤮𞤲𞤼𞤫𞤪𞤫", + "𞤴𞤼" + ], + "day": [ + "𞤻𞤢𞤤", + "𞤻𞤢𞤤𞤢𞥄𞤲𞤣𞤫" + ], + "hour": [ + "𞤲𞤶𞤢𞤥𞤣𞤭", + "𞤲𞤶𞤢𞤥𞤤𞤭", + "𞤶𞤢" + ], + "minute": [ + "𞤸𞤮𞤶", + "𞤸𞤮𞤶𞤮𞤥𞤢𞥄𞤪𞤫" + ], + "second": [ + "𞤳𞤭𞤲", + "𞤳𞤭𞤲𞤰𞤫𞤪𞤫" + ], + "relative-type": { + "0 day ago": [ + "𞤸𞤢𞤲𞤣𞤫" + ], + "0 hour ago": [ + "𞤲𞤣𞤭𞥅 𞤲𞤶𞤢𞤥𞤲𞤣𞤭", + "𞤲𞥋𞤣𞤭𞥅 𞤯𞤮𞤮 𞤲𞥋𞤶𞤢𞤥𞤲𞥋𞤣𞤭" + ], + "0 minute ago": [ + "𞤲𞤣𞤫𞥅 𞤸𞤮𞤶𞤮𞤥𞤢𞥄𞤪𞤫", + "𞤲𞥋𞤣𞤫𞥅 𞤯𞤮𞤮 𞤸𞤮𞤶𞤮𞤥𞤪𞤫" + ], + "0 month ago": [ + "𞤲𞤣𞤮𞥅 𞤯𞤮𞤮 𞤤𞤫𞤱", + "𞤲𞥋𞤣𞤵𞥅 𞤯𞤮𞤮 𞤤𞤫𞤱𞤪𞤵" + ], + "0 second ago": [ + "𞤶𞤮𞥅𞤲𞤭" + ], + "0 week ago": [ + "𞤲𞤣𞤫𞥅 𞤯𞤮𞤮 𞤴𞤮𞤲𞤼𞤫𞤪𞤫", + "𞤲𞤣𞤫𞥅 𞤯𞤮𞤮 𞤴𞤼" + ], + "0 year ago": [ + "𞤸𞤭𞤳𞥆𞤢" + ], + "1 day ago": [ + "𞤸𞤢𞤲𞤳𞤭" + ], + "1 month ago": [ + "𞤤𞤫𞤱 𞤬𞤫𞤰𞥆𞤵𞤲𞥋𞤣𞤵", + "𞤤𞤫𞤱𞤪𞤵 𞤬𞤫𞤰𞥆𞤵𞤲𞥋𞤣𞤵" + ], + "1 week ago": [ + "𞤴𞤮𞤲𞤼𞤫𞤪𞤫 𞤬𞤫𞤰𞥆𞤵𞤲𞥋𞤣𞤫", + "𞤴𞤼 𞤬𞤫𞤰𞥆𞤵𞤲𞥋𞤣𞤫" + ], + "1 year ago": [ + "𞤪𞤮𞤱𞤢𞤲𞤭" + ], + "in 1 day": [ + "𞤶𞤢𞤲𞤺𞤮" + ], + "in 1 month": [ + "𞤤𞤫𞤱 𞤸𞤭𞤳𞥆𞤭𞥅𞤲𞤣𞤵", + "𞤤𞤫𞤱𞤪𞤵 𞤢𞤪𞤢𞤴𞤲𞥋𞤣𞤵" + ], + "in 1 week": [ + "𞤴𞤮𞤲𞤼𞤫𞤪𞤫 𞤢𞤪𞤢𞤴𞤲𞤣𞤫", + "𞤴𞤼 𞤸𞤭𞤳𞥆𞤭𞥅𞤲𞤣𞤫" + ], + "in 1 year": [ + "𞤸𞤭𞤼 𞤢𞤪𞤮𞥅𞤪𞤫", + "𞤸𞤭𞤼𞤢𞥄𞤲𞤣𞤫 𞤢𞤪𞤮𞥅𞤪𞤫" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) 𞤻𞤢𞤤𞥆𞤢𞤤 𞤱𞤵𞤤𞤭𞥅𞤲𞥋𞤣𞤫", + "(\\d+[.,]?\\d*) 𞤻𞤢𞤤𞥆𞤫 𞤱𞤵𞤤𞤭𞥅𞤯𞤫" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) 𞤲𞥋𞤶𞤢𞤥𞤤𞤭 𞤱𞤵𞤤𞤭𞥅𞤯𞤭", + "(\\d+[.,]?\\d*) 𞤲𞥋𞤶𞤢𞤥𞤲𞥋𞤣𞤭 𞤱𞤵𞤤𞤭𞥅𞤲𞥋𞤣𞤭", + "(\\d+[.,]?\\d*) 𞤶𞤢 𞤱𞤵𞤤𞤭𞥅𞤯𞤭", + "(\\d+[.,]?\\d*) 𞤶𞤢 𞤱𞤵𞤤𞤭𞥅𞤲𞥋𞤣𞤭" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) 𞤳𞤮𞤶 𞤱𞤵𞤤𞤭𞥅𞤯𞤫", + "(\\d+[.,]?\\d*) 𞤳𞤮𞤶𞤮𞤥𞤶𞤫 𞤱𞤵𞤤𞤭𞥅𞤯𞤫", + "(\\d+[.,]?\\d*) 𞤸𞤮𞤶 𞤱𞤵𞤤𞤭𞥅𞤯𞤫", + "(\\d+[.,]?\\d*) 𞤸𞤮𞤶 𞤱𞤵𞤤𞤭𞥅𞤲𞥋𞤣𞤫", + "(\\d+[.,]?\\d*) 𞤸𞤮𞤶𞤮𞤥𞤪𞤫 𞤱𞤵𞤤𞤭𞥅𞤲𞥋𞤣𞤫" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) 𞤤𞤫𞤦 𞤱𞤵𞤤𞤭𞥅𞤯𞤭", + "(\\d+[.,]?\\d*) 𞤤𞤫𞤦𞥆𞤭 𞤱𞤵𞤤𞤭𞥅𞤯𞤭", + "(\\d+[.,]?\\d*) 𞤤𞤫𞤱 𞤱𞤵𞤤𞤭𞥅𞤲𞥋𞤣𞤵", + "(\\d+[.,]?\\d*) 𞤤𞤫𞤱𞤪𞤵 𞤱𞤵𞤤𞤭𞥅𞤲𞥋𞤣𞤵" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) 𞤳𞤭𞤲 𞤱𞤵𞤤𞤭𞥅𞤯𞤫", + "(\\d+[.,]?\\d*) 𞤳𞤭𞤲 𞤱𞤵𞤤𞤭𞥅𞤲𞥋𞤺𞤢𞤤", + "(\\d+[.,]?\\d*) 𞤳𞤭𞤲𞤰𞤢𞤤 𞤱𞤵𞤤𞤭𞥅𞤲𞥋𞤺𞤢𞤤", + "(\\d+[.,]?\\d*) 𞤳𞤭𞤲𞤰𞤫 𞤱𞤵𞤤𞤭𞥅𞤯𞤫" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) 𞤴𞤮𞤲𞤼𞤫𞤪𞤫 𞤱𞤵𞤤𞤭𞥅𞤲𞥋𞤣𞤫", + "(\\d+[.,]?\\d*) 𞤴𞤼 𞤱𞤵𞤤𞤭𞥅𞤲𞥋𞤣𞤫", + "(\\d+[.,]?\\d*) 𞤶𞤮𞤲𞤼𞤫 𞤱𞤵𞤤𞤭𞥅𞤯𞤫", + "(\\d+[.,]?\\d*) 𞤶𞤼 𞤱𞤵𞤤𞤭𞥅𞤯𞤫" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) 𞤳𞤭𞤼 𞤪𞤫𞤱𞤢𞤲𞤭", + "(\\d+[.,]?\\d*) 𞤳𞤭𞤼𞤢𞥄𞤯𞤫 𞤪𞤫𞤱𞤢𞤲𞤭", + "(\\d+[.,]?\\d*) 𞤸𞤭𞤼 𞤪𞤫𞤱𞤢𞤲𞤭", + "𞤱𞤢𞤯𞤭𞥅 𞤸𞤭𞤼𞤢𞥄𞤲𞤣𞤫 (\\d+[.,]?\\d*)" + ], + "in \\1 day": [ + "𞤲𞥋𞤣𞤫𞤪 (\\d+[.,]?\\d*) 𞤻𞤢𞤤𞥆𞤢𞤤", + "𞤲𞥋𞤣𞤫𞤪 (\\d+[.,]?\\d*) 𞤻𞤢𞤤𞥆𞤫" + ], + "in \\1 hour": [ + "𞤲𞥋𞤣𞤫𞤪 (\\d+[.,]?\\d*) 𞤲𞥋𞤶𞤢𞤥𞤤𞤭", + "𞤲𞥋𞤣𞤫𞤪 (\\d+[.,]?\\d*) 𞤲𞥋𞤶𞤢𞤥𞤲𞥋𞤣𞤭", + "𞤲𞥋𞤣𞤫𞤪 (\\d+[.,]?\\d*) 𞤶𞤢" + ], + "in \\1 minute": [ + "𞤲𞥋𞤣𞤫𞤪 (\\d+[.,]?\\d*) 𞤳𞤮𞤶𞤮𞤥𞤶𞤫", + "𞤲𞥋𞤣𞤫𞤪 (\\d+[.,]?\\d*) 𞤸𞤮𞤶", + "𞤲𞥋𞤣𞤫𞤪 (\\d+[.,]?\\d*) 𞤸𞤮𞤶𞤮𞤥𞤪𞤫" + ], + "in \\1 month": [ + "𞤲𞥋𞤣𞤫𞤪 (\\d+[.,]?\\d*) 𞤤𞤫𞤦", + "𞤲𞥋𞤣𞤫𞤪 (\\d+[.,]?\\d*) 𞤤𞤫𞤦𞥆𞤭", + "𞤲𞥋𞤣𞤫𞤪 (\\d+[.,]?\\d*) 𞤤𞤫𞤱", + "𞤲𞥋𞤣𞤫𞤪 (\\d+[.,]?\\d*) 𞤤𞤫𞤱𞤪𞤵" + ], + "in \\1 second": [ + "𞤲𞥋𞤣𞤫𞤪 (\\d+[.,]?\\d*) 𞤳𞤭𞤲", + "𞤲𞥋𞤣𞤫𞤪 (\\d+[.,]?\\d*) 𞤳𞤭𞤲𞤰𞤢𞤤", + "𞤲𞥋𞤣𞤫𞤪 (\\d+[.,]?\\d*) 𞤳𞤭𞤲𞤰𞤫" + ], + "in \\1 week": [ + "𞤲𞥋𞤣𞤫𞤪 (\\d+[.,]?\\d*) 𞤴𞤮𞤲𞤼𞤫𞤪𞤫", + "𞤲𞥋𞤣𞤫𞤪 (\\d+[.,]?\\d*) 𞤴𞤼", + "𞤲𞥋𞤣𞤫𞤪 (\\d+[.,]?\\d*) 𞤶𞤮𞤲𞤼𞤫", + "𞤲𞥋𞤣𞤫𞤪 (\\d+[.,]?\\d*) 𞤶𞤼" + ], + "in \\1 year": [ + "𞤲𞤣𞤫𞤪 (\\d+[.,]?\\d*) 𞤳𞤭𞤼𞤢𞥄𞤤𞤫", + "𞤲𞤣𞤫𞤪 (\\d+[.,]?\\d*) 𞤸𞤭𞤼𞤢𞥄𞤲𞤣𞤫", + "𞤲𞤣𞤫𞤪 𞤳𞤭𞤼 (\\d+[.,]?\\d*)", + "𞤲𞤣𞤫𞤪 𞤸𞤭𞤼 (\\d+[.,]?\\d*)" + ] + }, + "locale_specific": { + "ff-Adlm-BF": { + "name": "ff-Adlm-BF" + }, + "ff-Adlm-CM": { + "name": "ff-Adlm-CM" + }, + "ff-Adlm-GH": { + "name": "ff-Adlm-GH" + }, + "ff-Adlm-GM": { + "name": "ff-Adlm-GM" + }, + "ff-Adlm-GW": { + "name": "ff-Adlm-GW" + }, + "ff-Adlm-LR": { + "name": "ff-Adlm-LR" + }, + "ff-Adlm-MR": { + "name": "ff-Adlm-MR" + }, + "ff-Adlm-NE": { + "name": "ff-Adlm-NE" + }, + "ff-Adlm-NG": { + "name": "ff-Adlm-NG" + }, + "ff-Adlm-SL": { + "name": "ff-Adlm-SL" + }, + "ff-Adlm-SN": { + "name": "ff-Adlm-SN" + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ff-Latn.py b/dateparser/data/date_translation_data/ff-Latn.py new file mode 100644 index 000000000..ed8db469b --- /dev/null +++ b/dateparser/data/date_translation_data/ff-Latn.py @@ -0,0 +1,204 @@ +info = { + "name": "ff-Latn", + "date_order": "DMY", + "january": [ + "sii", + "siilo" + ], + "february": [ + "col", + "colte" + ], + "march": [ + "mbo", + "mbooy" + ], + "april": [ + "see", + "seeɗto" + ], + "may": [ + "duu", + "duujal" + ], + "june": [ + "kor", + "korse" + ], + "july": [ + "mor", + "morso" + ], + "august": [ + "juk", + "juko" + ], + "september": [ + "siilto", + "slt" + ], + "october": [ + "yar", + "yarkomaa" + ], + "november": [ + "jol", + "jolal" + ], + "december": [ + "bow", + "bowte" + ], + "monday": [ + "aaɓ", + "aaɓnde" + ], + "tuesday": [ + "maw", + "mawbaare" + ], + "wednesday": [ + "nje", + "njeslaare" + ], + "thursday": [ + "naa", + "naasaande" + ], + "friday": [ + "mawnde", + "mwd" + ], + "saturday": [ + "hbi", + "hoore-biir" + ], + "sunday": [ + "dew", + "dewo" + ], + "am": [ + "subaka" + ], + "pm": [ + "kikiiɗe" + ], + "year": [ + "hitaande" + ], + "month": [ + "lewru" + ], + "week": [ + "yontere" + ], + "day": [ + "ñalnde" + ], + "hour": [ + "hr", + "waktu" + ], + "minute": [ + "hoƴom" + ], + "second": [ + "majaango" + ], + "relative-type": { + "0 day ago": [ + "hannde" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "haŋki" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "jaŋngo" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "ff-Latn-BF": { + "name": "ff-Latn-BF" + }, + "ff-Latn-CM": { + "name": "ff-Latn-CM" + }, + "ff-Latn-GH": { + "name": "ff-Latn-GH" + }, + "ff-Latn-GM": { + "name": "ff-Latn-GM" + }, + "ff-Latn-GN": { + "name": "ff-Latn-GN" + }, + "ff-Latn-GW": { + "name": "ff-Latn-GW" + }, + "ff-Latn-LR": { + "name": "ff-Latn-LR" + }, + "ff-Latn-MR": { + "name": "ff-Latn-MR" + }, + "ff-Latn-NE": { + "name": "ff-Latn-NE" + }, + "ff-Latn-NG": { + "name": "ff-Latn-NG" + }, + "ff-Latn-SL": { + "name": "ff-Latn-SL" + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ff.py b/dateparser/data/date_translation_data/ff.py index 3e684a39e..4567a213b 100644 --- a/dateparser/data/date_translation_data/ff.py +++ b/dateparser/data/date_translation_data/ff.py @@ -96,6 +96,7 @@ "ñalnde" ], "hour": [ + "hr", "waktu" ], "minute": [ @@ -151,17 +152,7 @@ "next year" ] }, - "locale_specific": { - "ff-CM": { - "name": "ff-CM" - }, - "ff-GN": { - "name": "ff-GN" - }, - "ff-MR": { - "name": "ff-MR" - } - }, + "locale_specific": {}, "skip": [ " ", "'", diff --git a/dateparser/data/date_translation_data/fi.py b/dateparser/data/date_translation_data/fi.py index 3b8f7646e..4e922f9a4 100644 --- a/dateparser/data/date_translation_data/fi.py +++ b/dateparser/data/date_translation_data/fi.py @@ -158,6 +158,7 @@ ], "hour": [ "t", + "tunnit", "tunti", "tuntia", "tunnin" diff --git a/dateparser/data/date_translation_data/fil.py b/dateparser/data/date_translation_data/fil.py index e2e598803..84b782b23 100644 --- a/dateparser/data/date_translation_data/fil.py +++ b/dateparser/data/date_translation_data/fil.py @@ -96,6 +96,7 @@ "araw" ], "hour": [ + "mga oras", "oras" ], "minute": [ @@ -160,8 +161,7 @@ "(\\d+[.,]?\\d*) araw ang nakalipas" ], "\\1 hour ago": [ - "(\\d+[.,]?\\d*) oras ang nakalipas", - "(\\d+[.,]?\\d*) oras nakalipas" + "(\\d+[.,]?\\d*) oras ang nakalipas" ], "\\1 minute ago": [ "(\\d+[.,]?\\d*) min ang nakalipas", @@ -172,7 +172,6 @@ ], "\\1 second ago": [ "(\\d+[.,]?\\d*) seg ang nakalipas", - "(\\d+[.,]?\\d*) seg nakalipas", "(\\d+[.,]?\\d*) segundo ang nakalipas" ], "\\1 week ago": [ diff --git a/dateparser/data/date_translation_data/fo.py b/dateparser/data/date_translation_data/fo.py index d1ffe66a2..c01a18bc3 100644 --- a/dateparser/data/date_translation_data/fo.py +++ b/dateparser/data/date_translation_data/fo.py @@ -101,6 +101,7 @@ ], "hour": [ "t", + "tímar", "tími" ], "minute": [ @@ -124,12 +125,15 @@ "hendan minuttin" ], "0 month ago": [ + "henda mnð", "henda mánaðin" ], "0 second ago": [ "nú" ], "0 week ago": [ + "hesu v", + "hesu vi", "hesu viku" ], "0 year ago": [ @@ -139,9 +143,12 @@ "í gjár" ], "1 month ago": [ + "seinasta mnð", "seinasta mánað" ], "1 week ago": [ + "seinastu v", + "seinastu vi", "seinastu viku" ], "1 year ago": [ @@ -151,9 +158,12 @@ "í morgin" ], "in 1 month": [ + "næsta mnð", "næsta mánað" ], "in 1 week": [ + "næstu v", + "næstu vi", "næstu viku" ], "in 1 year": [ diff --git a/dateparser/data/date_translation_data/fr.py b/dateparser/data/date_translation_data/fr.py index ee7f4c5ba..13315c0a6 100644 --- a/dateparser/data/date_translation_data/fr.py +++ b/dateparser/data/date_translation_data/fr.py @@ -116,6 +116,7 @@ "hour": [ "h", "heure", + "heures", "heures" ], "minute": [ @@ -190,14 +191,12 @@ "\\1 hour ago": [ "il y a (\\d+[.,]?\\d*) h", "il y a (\\d+[.,]?\\d*) heure", - "il y a (\\d+[.,]?\\d*) heures", - "il y a (\\d+[.,]?\\d*)h" + "il y a (\\d+[.,]?\\d*) heures" ], "\\1 minute ago": [ "il y a (\\d+[.,]?\\d*) min", "il y a (\\d+[.,]?\\d*) minute", - "il y a (\\d+[.,]?\\d*) minutes", - "il y a (\\d+[.,]?\\d*)min" + "il y a (\\d+[.,]?\\d*) minutes" ], "\\1 month ago": [ "il y a (\\d+[.,]?\\d*) m", @@ -226,8 +225,7 @@ "in \\1 hour": [ "dans (\\d+[.,]?\\d*) h", "dans (\\d+[.,]?\\d*) heure", - "dans (\\d+[.,]?\\d*) heures", - "dans (\\d+[.,]?\\d*)h" + "dans (\\d+[.,]?\\d*) heures" ], "in \\1 minute": [ "dans (\\d+[.,]?\\d*) min", diff --git a/dateparser/data/date_translation_data/frr.py b/dateparser/data/date_translation_data/frr.py new file mode 100644 index 000000000..fb05ee9fe --- /dev/null +++ b/dateparser/data/date_translation_data/frr.py @@ -0,0 +1,115 @@ +info = { + "name": "frr", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/fur.py b/dateparser/data/date_translation_data/fur.py index de6789147..503f3c35a 100644 --- a/dateparser/data/date_translation_data/fur.py +++ b/dateparser/data/date_translation_data/fur.py @@ -94,7 +94,8 @@ "dì" ], "hour": [ - "ore" + "ore", + "oris" ], "minute": [ "minût" diff --git a/dateparser/data/date_translation_data/ga.py b/dateparser/data/date_translation_data/ga.py index daa9b4904..c1bfa3605 100644 --- a/dateparser/data/date_translation_data/ga.py +++ b/dateparser/data/date_translation_data/ga.py @@ -76,10 +76,10 @@ "dé domhnaigh" ], "am": [ - "am" + "rn" ], "pm": [ - "pm" + "in" ], "year": [ "bl", @@ -130,8 +130,8 @@ "an tseachtain seo" ], "0 year ago": [ - "an bhl seo", - "an bhliain seo" + "i mbl", + "i mbliana" ], "1 day ago": [ "inné" @@ -204,7 +204,8 @@ ], "in \\1 month": [ "i gceann (\\d+[.,]?\\d*) mhí", - "i gceann (\\d+[.,]?\\d*) mí" + "i gceann (\\d+[.,]?\\d*) mí", + "i gceann (\\d+[.,]?\\d*) míosa" ], "in \\1 second": [ "i gceann (\\d+[.,]?\\d*) soic", @@ -212,15 +213,20 @@ ], "in \\1 week": [ "i gceann (\\d+[.,]?\\d*) scht", - "i gceann (\\d+[.,]?\\d*) seachtain" + "i gceann (\\d+[.,]?\\d*) seachtain", + "i gceann (\\d+[.,]?\\d*) seachtaine" ], "in \\1 year": [ - "i gceann (\\d+[.,]?\\d*) bhliain", "i gceann (\\d+[.,]?\\d*) bl", - "i gceann (\\d+[.,]?\\d*) bliain" + "i gceann (\\d+[.,]?\\d*) bliain", + "i gceann (\\d+[.,]?\\d*) bliana" ] }, - "locale_specific": {}, + "locale_specific": { + "ga-GB": { + "name": "ga-GB" + } + }, "skip": [ " ", "'", diff --git a/dateparser/data/date_translation_data/gaa.py b/dateparser/data/date_translation_data/gaa.py new file mode 100644 index 000000000..9f8aeb265 --- /dev/null +++ b/dateparser/data/date_translation_data/gaa.py @@ -0,0 +1,115 @@ +info = { + "name": "gaa", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/gd.py b/dateparser/data/date_translation_data/gd.py index 83660ecf8..308ca6040 100644 --- a/dateparser/data/date_translation_data/gd.py +++ b/dateparser/data/date_translation_data/gd.py @@ -132,10 +132,14 @@ "an-diugh" ], "0 hour ago": [ - "this hour" + "am broinn uair", + "am broinn uair a thìde", + "san uair" ], "0 minute ago": [ - "this minute" + "am broinn mion", + "am broinn mionaid", + "sa mhion" ], "0 month ago": [ "am mì seo", diff --git a/dateparser/data/date_translation_data/gez.py b/dateparser/data/date_translation_data/gez.py new file mode 100644 index 000000000..d90c96785 --- /dev/null +++ b/dateparser/data/date_translation_data/gez.py @@ -0,0 +1,119 @@ +info = { + "name": "gez", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "gez-ER": { + "name": "gez-ER" + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/gl.py b/dateparser/data/date_translation_data/gl.py index 367412444..e34eaaca3 100644 --- a/dateparser/data/date_translation_data/gl.py +++ b/dateparser/data/date_translation_data/gl.py @@ -81,11 +81,9 @@ "pm" ], "year": [ - "a", "ano" ], "month": [ - "m", "mes" ], "week": [ @@ -93,12 +91,12 @@ "semana" ], "day": [ - "d", "día" ], "hour": [ "h", - "hora" + "hora", + "horas" ], "minute": [ "min", @@ -113,13 +111,12 @@ "hoxe" ], "0 hour ago": [ - "nesta hora" + "esta hora" ], "0 minute ago": [ - "neste minuto" + "este minuto" ], "0 month ago": [ - "este m", "este mes" ], "0 second ago": [ @@ -136,36 +133,37 @@ "onte" ], "1 month ago": [ - "m pasado", + "o mes pas", "o mes pasado" ], "1 week ago": [ - "a semana pasada", - "sem pasada" + "a sem pas", + "a sem pasada", + "a semana pasada" ], "1 year ago": [ - "ano pasado", + "o ano pas", "o ano pasado" ], "in 1 day": [ "mañá" ], "in 1 month": [ - "m seguinte", + "o próx mes", "o próximo mes" ], "in 1 week": [ - "a próxima semana", - "sem seguinte" + "a próx sem", + "a próxima sem", + "a próxima semana" ], "in 1 year": [ - "o próximo ano", - "seguinte ano" + "o próx ano", + "o próximo ano" ] }, "relative-type-regex": { "\\1 day ago": [ - "hai (\\d+[.,]?\\d*) d", "hai (\\d+[.,]?\\d*) día", "hai (\\d+[.,]?\\d*) días" ], @@ -180,7 +178,6 @@ "hai (\\d+[.,]?\\d*) minutos" ], "\\1 month ago": [ - "hai (\\d+[.,]?\\d*) m", "hai (\\d+[.,]?\\d*) mes", "hai (\\d+[.,]?\\d*) meses" ], @@ -195,12 +192,10 @@ "hai (\\d+[.,]?\\d*) semanas" ], "\\1 year ago": [ - "hai (\\d+[.,]?\\d*) a", "hai (\\d+[.,]?\\d*) ano", "hai (\\d+[.,]?\\d*) anos" ], "in \\1 day": [ - "en (\\d+[.,]?\\d*) d", "en (\\d+[.,]?\\d*) día", "en (\\d+[.,]?\\d*) días" ], @@ -215,7 +210,6 @@ "en (\\d+[.,]?\\d*) minutos" ], "in \\1 month": [ - "en (\\d+[.,]?\\d*) m", "en (\\d+[.,]?\\d*) mes", "en (\\d+[.,]?\\d*) meses" ], @@ -230,7 +224,6 @@ "en (\\d+[.,]?\\d*) semanas" ], "in \\1 year": [ - "en (\\d+[.,]?\\d*) a", "en (\\d+[.,]?\\d*) ano", "en (\\d+[.,]?\\d*) anos" ] diff --git a/dateparser/data/date_translation_data/gn.py b/dateparser/data/date_translation_data/gn.py new file mode 100644 index 000000000..6d076c50b --- /dev/null +++ b/dateparser/data/date_translation_data/gn.py @@ -0,0 +1,151 @@ +info = { + "name": "gn", + "date_order": "YMD", + "january": [ + "jasyteĩ" + ], + "february": [ + "jasykõi" + ], + "march": [ + "jasyapy" + ], + "april": [ + "jasyrundy" + ], + "may": [ + "jasypo" + ], + "june": [ + "jasypoteĩ" + ], + "july": [ + "jasypokõi" + ], + "august": [ + "jasypoapy" + ], + "september": [ + "jasyporundy" + ], + "october": [ + "jasypa" + ], + "november": [ + "jasypateĩ" + ], + "december": [ + "jasypakõi" + ], + "monday": [ + "arakõi" + ], + "tuesday": [ + "araapy" + ], + "wednesday": [ + "ararundy" + ], + "thursday": [ + "arapo" + ], + "friday": [ + "arapoteĩ" + ], + "saturday": [ + "arapokõi" + ], + "sunday": [ + "arateĩ" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/gsw.py b/dateparser/data/date_translation_data/gsw.py index b0e6fa9dd..f1fbcfcf0 100644 --- a/dateparser/data/date_translation_data/gsw.py +++ b/dateparser/data/date_translation_data/gsw.py @@ -99,6 +99,7 @@ "tag" ], "hour": [ + "hr", "schtund" ], "minute": [ diff --git a/dateparser/data/date_translation_data/gu.py b/dateparser/data/date_translation_data/gu.py index 161fa15b2..fdfe1a263 100644 --- a/dateparser/data/date_translation_data/gu.py +++ b/dateparser/data/date_translation_data/gu.py @@ -172,7 +172,6 @@ "(\\d+[.,]?\\d*) અઠવાડિયા પહેલાં" ], "\\1 year ago": [ - "(\\d+[.,]?\\d*) વર્ષ પહેલા", "(\\d+[.,]?\\d*) વર્ષ પહેલાં" ], "in \\1 day": [ diff --git a/dateparser/data/date_translation_data/guz.py b/dateparser/data/date_translation_data/guz.py index 68c32cd29..7cff5b47b 100644 --- a/dateparser/data/date_translation_data/guz.py +++ b/dateparser/data/date_translation_data/guz.py @@ -97,7 +97,8 @@ "rituko" ], "hour": [ - "ensa" + "ensa", + "hr" ], "minute": [ "edakika" diff --git a/dateparser/data/date_translation_data/gv.py b/dateparser/data/date_translation_data/gv.py index 88c3f5e54..341749fdb 100644 --- a/dateparser/data/date_translation_data/gv.py +++ b/dateparser/data/date_translation_data/gv.py @@ -93,7 +93,8 @@ "day" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser/data/date_translation_data/ha-Arab.py b/dateparser/data/date_translation_data/ha-Arab.py new file mode 100644 index 000000000..40cd3d513 --- /dev/null +++ b/dateparser/data/date_translation_data/ha-Arab.py @@ -0,0 +1,119 @@ +info = { + "name": "ha-Arab", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "ha-Arab-SD": { + "name": "ha-Arab-SD" + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ha.py b/dateparser/data/date_translation_data/ha.py index 8b40bb625..0dae10db1 100644 --- a/dateparser/data/date_translation_data/ha.py +++ b/dateparser/data/date_translation_data/ha.py @@ -78,10 +78,12 @@ "lahadi" ], "am": [ - "am" + "safiya", + "sf" ], "pm": [ - "pm" + "yamma", + "ym" ], "year": [ "shekara" @@ -96,7 +98,8 @@ "kwana" ], "hour": [ - "awa" + "awa", + "sa'o'i" ], "minute": [ "minti" @@ -109,46 +112,98 @@ "yau" ], "0 hour ago": [ - "this hour" + "wannan awa" ], "0 minute ago": [ - "this minute" + "wannan mintin" ], "0 month ago": [ - "this month" + "wannan watan" ], "0 second ago": [ - "now" + "yanzu" ], "0 week ago": [ - "this week" + "wannan satin" ], "0 year ago": [ - "this year" + "bana" ], "1 day ago": [ "jiya" ], "1 month ago": [ - "last month" + "watan da ya gabata" ], "1 week ago": [ - "last week" + "satin da ya gabata" ], "1 year ago": [ - "last year" + "bara" ], "in 1 day": [ "gobe" ], "in 1 month": [ - "next month" + "wata na gaba" ], "in 1 week": [ - "next week" + "sati na gaba" ], "in 1 year": [ - "next year" + "badi" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "kwanaki da suka gabata (\\d+[.,]?\\d*)", + "rana da ya gabata (\\d+[.,]?\\d*)" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) awa da ya gabata" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) minti da ya gabata" + ], + "\\1 month ago": [ + "watan da ya gabata (\\d+[.,]?\\d*)", + "watanni da suka gabata (\\d+[.,]?\\d*)}" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) dakika da ya gabata" + ], + "\\1 week ago": [ + "mako da suka gabata (\\d+[.,]?\\d*)", + "mako da ya gabata (\\d+[.,]?\\d*)", + "makonni da suka gabata (\\d+[.,]?\\d*)" + ], + "\\1 year ago": [ + "shekara da suka gabata (\\d+[.,]?\\d*)" + ], + "in \\1 day": [ + "a cikin kwanaki (\\d+[.,]?\\d*)", + "a cikin rana (\\d+[.,]?\\d*)" + ], + "in \\1 hour": [ + "cikin (\\d+[.,]?\\d*) awa" + ], + "in \\1 minute": [ + "cikin (\\d+[.,]?\\d*) minti" + ], + "in \\1 month": [ + "a cikin watan (\\d+[.,]?\\d*)", + "a cikin watanni (\\d+[.,]?\\d*)" + ], + "in \\1 second": [ + "cikin (\\d+[.,]?\\d*) dakika" + ], + "in \\1 week": [ + "a cikin mako (\\d+[.,]?\\d*)", + "a cikin makonni (\\d+[.,]?\\d*)" + ], + "in \\1 year": [ + "a shekarar (\\d+[.,]?\\d*)", + "a shekaru (\\d+[.,]?\\d*)" ] }, "locale_specific": { diff --git a/dateparser/data/date_translation_data/haw.py b/dateparser/data/date_translation_data/haw.py index 6865f314c..1ec35ef54 100644 --- a/dateparser/data/date_translation_data/haw.py +++ b/dateparser/data/date_translation_data/haw.py @@ -95,7 +95,8 @@ "day" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser/data/date_translation_data/he.py b/dateparser/data/date_translation_data/he.py index 1f6ce4cef..576dc4a8b 100644 --- a/dateparser/data/date_translation_data/he.py +++ b/dateparser/data/date_translation_data/he.py @@ -126,9 +126,11 @@ "יום א" ], "am": [ + "am", "לפנה״צ" ], "pm": [ + "pm", "אחה״צ" ], "year": [ @@ -155,6 +157,7 @@ ], "hour": [ "שעה", + "שעות", "שע׳", "שעות" ], @@ -177,7 +180,8 @@ "בשעה זו" ], "0 minute ago": [ - "בדקה זו" + "בדקה זו", + "דקה זו" ], "0 month ago": [ "החודש" @@ -219,7 +223,6 @@ "relative-type-regex": { "\\1 day ago": [ "לפני (\\d+[.,]?\\d*) ימים", - "לפני (\\d+[.,]?\\d*) ימ׳", "לפני יום (\\d+[.,]?\\d*)" ], "\\1 hour ago": [ @@ -247,7 +250,6 @@ ], "in \\1 day": [ "בעוד (\\d+[.,]?\\d*) ימים", - "בעוד (\\d+[.,]?\\d*) ימ׳", "בעוד יום (\\d+[.,]?\\d*)" ], "in \\1 hour": [ diff --git a/dateparser/data/date_translation_data/hi-Latn.py b/dateparser/data/date_translation_data/hi-Latn.py new file mode 100644 index 000000000..a4e094811 --- /dev/null +++ b/dateparser/data/date_translation_data/hi-Latn.py @@ -0,0 +1,253 @@ +info = { + "name": "hi-Latn", + "date_order": "DMY", + "january": [ + "jan", + "january" + ], + "february": [ + "feb", + "february" + ], + "march": [ + "mar", + "march" + ], + "april": [ + "apr", + "april" + ], + "may": [ + "may" + ], + "june": [ + "jun", + "june" + ], + "july": [ + "jul", + "july" + ], + "august": [ + "aug", + "august" + ], + "september": [ + "sep", + "sept", + "september" + ], + "october": [ + "oct", + "october" + ], + "november": [ + "nov", + "november" + ], + "december": [ + "dec", + "december" + ], + "monday": [ + "som", + "somwaar" + ], + "tuesday": [ + "mangal", + "mangalwaar" + ], + "wednesday": [ + "budh", + "budhwaar" + ], + "thursday": [ + "guru", + "guruwaar" + ], + "friday": [ + "shukra", + "shukrawaar" + ], + "saturday": [ + "shani", + "shaniwaar" + ], + "sunday": [ + "ravi", + "raviwaar" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "saal", + "yr" + ], + "month": [ + "mahina", + "mo" + ], + "week": [ + "hafta", + "wk" + ], + "day": [ + "din" + ], + "hour": [ + "ghanta", + "hours", + "hr" + ], + "minute": [ + "min", + "minute" + ], + "second": [ + "sec", + "second" + ], + "relative-type": { + "0 day ago": [ + "aaj" + ], + "0 hour ago": [ + "yah ghanta" + ], + "0 minute ago": [ + "yah minute" + ], + "0 month ago": [ + "is mo", + "yah maheena" + ], + "0 second ago": [ + "abhi", + "now" + ], + "0 week ago": [ + "is hafte", + "is wk" + ], + "0 year ago": [ + "is saal", + "is yr" + ], + "1 day ago": [ + "kal" + ], + "1 month ago": [ + "last mo", + "pichhla maheena" + ], + "1 week ago": [ + "last wk", + "pichhla hafta" + ], + "1 year ago": [ + "last yr", + "pichhla saal" + ], + "in 1 day": [ + "aane wala kal" + ], + "in 1 month": [ + "agla maheena", + "next mo" + ], + "in 1 week": [ + "agla hafta", + "next wk" + ], + "in 1 year": [ + "agla saal", + "next yr" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) din pahle" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) ghante pahle", + "(\\d+[.,]?\\d*) hr mein", + "(\\d+[.,]?\\d*) hr pahle", + "(\\d+[.,]?\\d*)hr pahle" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) min pahle", + "(\\d+[.,]?\\d*) minute pahle" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) maheene pahle", + "(\\d+[.,]?\\d*) mo pahle", + "(\\d+[.,]?\\d*)mo pahle" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) sec pahle", + "(\\d+[.,]?\\d*) second pahle", + "(\\d+[.,]?\\d*)s pahle" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) hafte pahle", + "(\\d+[.,]?\\d*) wk pahle", + "(\\d+[.,]?\\d*)w pahle" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) saal pahle", + "(\\d+[.,]?\\d*) yr pahle", + "(\\d+[.,]?\\d*)y pahle" + ], + "in \\1 day": [ + "(\\d+[.,]?\\d*) din mein" + ], + "in \\1 hour": [ + "(\\d+[.,]?\\d*) ghante mein", + "(\\d+[.,]?\\d*) hr mein", + "(\\d+[.,]?\\d*)hr mein" + ], + "in \\1 minute": [ + "(\\d+[.,]?\\d*) min mein", + "(\\d+[.,]?\\d*) minute mein" + ], + "in \\1 month": [ + "(\\d+[.,]?\\d*) maheene mein", + "(\\d+[.,]?\\d*) mo mein", + "(\\d+[.,]?\\d*)mo mein" + ], + "in \\1 second": [ + "(\\d+[.,]?\\d*) sec mein", + "(\\d+[.,]?\\d*) second mein", + "(\\d+[.,]?\\d*)s mein" + ], + "in \\1 week": [ + "(\\d+[.,]?\\d*) hafte mein", + "(\\d+[.,]?\\d*) wk mein", + "(\\d+[.,]?\\d*)w mein" + ], + "in \\1 year": [ + "(\\d+[.,]?\\d*) saal mein", + "(\\d+[.,]?\\d*) yr mein", + "(\\d+[.,]?\\d*)y mein" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/hi.py b/dateparser/data/date_translation_data/hi.py index eabe94bbf..054a5af0b 100644 --- a/dateparser/data/date_translation_data/hi.py +++ b/dateparser/data/date_translation_data/hi.py @@ -78,10 +78,10 @@ "रविवार" ], "am": [ - "पूर्वाह्न" + "am" ], "pm": [ - "अपराह्न" + "pm" ], "year": [ "वर्ष", @@ -102,17 +102,18 @@ "दिवस" ], "hour": [ - "घं", "घंटा", + "घंटे", + "घं॰", "घंटे" ], "minute": [ - "मि", - "मिनट" + "मिनट", + "मि॰" ], "second": [ - "से", - "सेकंड" + "सेकंड", + "से॰" ], "relative-type": { "0 day ago": [ @@ -134,10 +135,12 @@ "इस सप्ताह" ], "0 year ago": [ - "इस वर्ष" + "इस वर्ष", + "इस साल" ], "1 day ago": [ - "कल" + "कल", + "बीता कल" ], "1 month ago": [ "पिछला माह" @@ -146,9 +149,11 @@ "पिछला सप्ताह" ], "1 year ago": [ - "पिछला वर्ष" + "पिछला वर्ष", + "पिछले साल" ], "in 1 day": [ + "आने वाला कल", "कल" ], "in 1 month": [ @@ -158,7 +163,8 @@ "अगला सप्ताह" ], "in 1 year": [ - "अगला वर्ष" + "अगला वर्ष", + "अगले साल" ], "2 day ago": [ "परसों" @@ -175,19 +181,19 @@ "(\\d+[.,]?\\d*) दिन पहले" ], "\\1 hour ago": [ - "(\\d+[.,]?\\d*) घं पहले", - "(\\d+[.,]?\\d*) घंटे पहले" + "(\\d+[.,]?\\d*) घंटे पहले", + "(\\d+[.,]?\\d*) घं॰ पहले" ], "\\1 minute ago": [ - "(\\d+[.,]?\\d*) मि पहले", - "(\\d+[.,]?\\d*) मिनट पहले" + "(\\d+[.,]?\\d*) मिनट पहले", + "(\\d+[.,]?\\d*) मि॰ पहले" ], "\\1 month ago": [ "(\\d+[.,]?\\d*) माह पहले" ], "\\1 second ago": [ - "(\\d+[.,]?\\d*) से पहले", - "(\\d+[.,]?\\d*) सेकंड पहले" + "(\\d+[.,]?\\d*) सेकंड पहले", + "(\\d+[.,]?\\d*) से॰ पहले" ], "\\1 week ago": [ "(\\d+[.,]?\\d*) सप्ताह पहले" @@ -199,19 +205,19 @@ "(\\d+[.,]?\\d*) दिन में" ], "in \\1 hour": [ - "(\\d+[.,]?\\d*) घं में", - "(\\d+[.,]?\\d*) घंटे में" + "(\\d+[.,]?\\d*) घंटे में", + "(\\d+[.,]?\\d*) घं॰ में" ], "in \\1 minute": [ - "(\\d+[.,]?\\d*) मि में", - "(\\d+[.,]?\\d*) मिनट में" + "(\\d+[.,]?\\d*) मिनट में", + "(\\d+[.,]?\\d*) मि॰ में" ], "in \\1 month": [ "(\\d+[.,]?\\d*) माह में" ], "in \\1 second": [ - "(\\d+[.,]?\\d*) से में", - "(\\d+[.,]?\\d*) सेकंड में" + "(\\d+[.,]?\\d*) सेकंड में", + "(\\d+[.,]?\\d*) से॰ में" ], "in \\1 week": [ "(\\d+[.,]?\\d*) सप्ताह में" diff --git a/dateparser/data/date_translation_data/hnj-Hmnp.py b/dateparser/data/date_translation_data/hnj-Hmnp.py new file mode 100644 index 000000000..a3d82651e --- /dev/null +++ b/dateparser/data/date_translation_data/hnj-Hmnp.py @@ -0,0 +1,158 @@ +info = { + "name": "hnj-Hmnp", + "date_order": "YMD", + "january": [ + "𞄆𞄬" + ], + "february": [ + "𞄛𞄨𞄱𞄄𞄤𞄲𞄨" + ], + "march": [ + "𞄒𞄫𞄰𞄒𞄪𞄱" + ], + "april": [ + "𞄤𞄨𞄱" + ], + "may": [ + "𞄀𞄪𞄴" + ], + "june": [ + "𞄛𞄤𞄱𞄞𞄤𞄦" + ], + "july": [ + "𞄔𞄩𞄴𞄆𞄨𞄰" + ], + "august": [ + "𞄕𞄩𞄲𞄔𞄄𞄰𞄤" + ], + "september": [ + "𞄛𞄤𞄱𞄒𞄤𞄰" + ], + "october": [ + "𞄪𞄱𞄀𞄤𞄴" + ], + "november": [ + "𞄚𞄦𞄲𞄤𞄚𞄄𞄰𞄫" + ], + "december": [ + "𞄒𞄩𞄱𞄔𞄬𞄴" + ], + "monday": [ + "mon", + "𞄈𞄦" + ], + "tuesday": [ + "tue", + "𞄆𞄨𞄰" + ], + "wednesday": [ + "wed", + "𞄗𞄄𞄤𞄰𞄦" + ], + "thursday": [ + "thu", + "𞄙𞄤𞄱𞄨" + ], + "friday": [ + "fri", + "𞄑𞄤𞄱𞄨" + ], + "saturday": [ + "sat", + "𞄊𞄧𞄳" + ], + "sunday": [ + "sun", + "𞄎𞄤𞄲" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "𞄛𞄩" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/hnj.py b/dateparser/data/date_translation_data/hnj.py new file mode 100644 index 000000000..e44e15bc5 --- /dev/null +++ b/dateparser/data/date_translation_data/hnj.py @@ -0,0 +1,158 @@ +info = { + "name": "hnj", + "date_order": "YMD", + "january": [ + "𞄆𞄬" + ], + "february": [ + "𞄛𞄨𞄱𞄄𞄤𞄲𞄨" + ], + "march": [ + "𞄒𞄫𞄰𞄒𞄪𞄱" + ], + "april": [ + "𞄤𞄨𞄱" + ], + "may": [ + "𞄀𞄪𞄴" + ], + "june": [ + "𞄛𞄤𞄱𞄞𞄤𞄦" + ], + "july": [ + "𞄔𞄩𞄴𞄆𞄨𞄰" + ], + "august": [ + "𞄕𞄩𞄲𞄔𞄄𞄰𞄤" + ], + "september": [ + "𞄛𞄤𞄱𞄒𞄤𞄰" + ], + "october": [ + "𞄪𞄱𞄀𞄤𞄴" + ], + "november": [ + "𞄚𞄦𞄲𞄤𞄚𞄄𞄰𞄫" + ], + "december": [ + "𞄒𞄩𞄱𞄔𞄬𞄴" + ], + "monday": [ + "mon", + "𞄈𞄦" + ], + "tuesday": [ + "tue", + "𞄆𞄨𞄰" + ], + "wednesday": [ + "wed", + "𞄗𞄄𞄤𞄰𞄦" + ], + "thursday": [ + "thu", + "𞄙𞄤𞄱𞄨" + ], + "friday": [ + "fri", + "𞄑𞄤𞄱𞄨" + ], + "saturday": [ + "sat", + "𞄊𞄧𞄳" + ], + "sunday": [ + "sun", + "𞄎𞄤𞄲" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "𞄛𞄩" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/hr.py b/dateparser/data/date_translation_data/hr.py index 781c52cb4..758b65ef2 100644 --- a/dateparser/data/date_translation_data/hr.py +++ b/dateparser/data/date_translation_data/hr.py @@ -141,7 +141,8 @@ ], "hour": [ "h", - "sat" + "sat", + "sati" ], "minute": [ "min", diff --git a/dateparser/data/date_translation_data/hsb.py b/dateparser/data/date_translation_data/hsb.py index 52b53866c..b9c9bf328 100644 --- a/dateparser/data/date_translation_data/hsb.py +++ b/dateparser/data/date_translation_data/hsb.py @@ -90,9 +90,11 @@ "njedźela" ], "am": [ + "dop", "dopołdnja" ], "pm": [ + "pop", "popołdnju" ], "year": [ @@ -114,7 +116,8 @@ "hour": [ "h", "hodź", - "hodźina" + "hodźina", + "hodźiny" ], "minute": [ "m", @@ -128,48 +131,72 @@ ], "relative-type": { "0 day ago": [ + "dźe", + "dźens", "dźensa" ], "0 hour ago": [ - "this hour" + "w tutej hodźinje" ], "0 minute ago": [ - "this minute" + "w tutej mjeńšinje" ], "0 month ago": [ + "tu měsac", + "tut měsac", "tutón měsac" ], "0 second ago": [ - "now" + "nětko" ], "0 week ago": [ + "tu tydźeń", + "tut tydźeń", "tutón tydźeń" ], "0 year ago": [ + "lět", + "lěts", "lětsa" ], "1 day ago": [ + "wč", + "wčer", "wčera" ], "1 month ago": [ + "zaš měsac", + "zašł měsac", "zašły měsac" ], "1 week ago": [ + "zaš tydźeń", + "zašł tydźeń", "zašły tydźeń" ], "1 year ago": [ + "lo", + "lon", "loni" ], "in 1 day": [ + "jut", + "jutř", "jutře" ], "in 1 month": [ + "přich měsac", + "přichodn měsac", "přichodny měsac" ], "in 1 week": [ + "přich tydźeń", + "přichodn tydźeń", "přichodny tydźeń" ], "in 1 year": [ + "klě", + "klět", "klětu" ] }, diff --git a/dateparser/data/date_translation_data/hu.py b/dateparser/data/date_translation_data/hu.py index e45d89a33..b674cea81 100644 --- a/dateparser/data/date_translation_data/hu.py +++ b/dateparser/data/date_translation_data/hu.py @@ -124,6 +124,7 @@ "nappal" ], "hour": [ + "ó", "óra", "ó", "órák", @@ -133,6 +134,7 @@ "órától" ], "minute": [ + "p", "perc", "p", "percek", @@ -142,6 +144,7 @@ "perctől" ], "second": [ + "mp", "másodperc", "mp", "másodpercek", @@ -206,21 +209,27 @@ "(\\d+[.,]?\\d*) nappal ezelőtt" ], "\\1 hour ago": [ + "(\\d+[.,]?\\d*) órája", "(\\d+[.,]?\\d*) órával ezelőtt" ], "\\1 minute ago": [ - "(\\d+[.,]?\\d*) perccel ezelőtt" + "(\\d+[.,]?\\d*) perccel ezelőtt", + "(\\d+[.,]?\\d*) perce" ], "\\1 month ago": [ + "(\\d+[.,]?\\d*) hónapja", "(\\d+[.,]?\\d*) hónappal ezelőtt" ], "\\1 second ago": [ + "(\\d+[.,]?\\d*) mperce", "(\\d+[.,]?\\d*) másodperccel ezelőtt" ], "\\1 week ago": [ + "(\\d+[.,]?\\d*) hete", "(\\d+[.,]?\\d*) héttel ezelőtt" ], "\\1 year ago": [ + "(\\d+[.,]?\\d*) éve", "(\\d+[.,]?\\d*) évvel ezelőtt" ], "in \\1 day": [ diff --git a/dateparser/data/date_translation_data/hy.py b/dateparser/data/date_translation_data/hy.py index 596a2658d..ebcb630fd 100644 --- a/dateparser/data/date_translation_data/hy.py +++ b/dateparser/data/date_translation_data/hy.py @@ -90,12 +90,10 @@ "կիրակի" ], "am": [ - "am", - "կա" + "am" ], "pm": [ - "pm", - "կհ" + "pm" ], "year": [ "տ", @@ -114,7 +112,8 @@ ], "hour": [ "ժ", - "ժամ" + "ժամ", + "ժամեր" ], "minute": [ "ր", @@ -138,7 +137,7 @@ "այս ամիս" ], "0 second ago": [ - "այժմ" + "հիմա" ], "0 week ago": [ "այս շաբաթ" @@ -150,7 +149,6 @@ "երեկ" ], "1 month ago": [ - "անցյալ ամիս", "նախորդ ամիս" ], "1 week ago": [ diff --git a/dateparser/data/date_translation_data/ia.py b/dateparser/data/date_translation_data/ia.py new file mode 100644 index 000000000..9d5022f12 --- /dev/null +++ b/dateparser/data/date_translation_data/ia.py @@ -0,0 +1,262 @@ +info = { + "name": "ia", + "date_order": "DMY", + "january": [ + "jan", + "januario" + ], + "february": [ + "feb", + "februario" + ], + "march": [ + "mar", + "martio" + ], + "april": [ + "apr", + "april" + ], + "may": [ + "mai", + "maio" + ], + "june": [ + "jun", + "junio" + ], + "july": [ + "jul", + "julio" + ], + "august": [ + "aug", + "augusto" + ], + "september": [ + "sep", + "septembre" + ], + "october": [ + "oct", + "octobre" + ], + "november": [ + "nov", + "novembre" + ], + "december": [ + "dec", + "decembre" + ], + "monday": [ + "lun", + "lunedi" + ], + "tuesday": [ + "mar", + "martedi" + ], + "wednesday": [ + "mer", + "mercuridi" + ], + "thursday": [ + "jov", + "jovedi" + ], + "friday": [ + "ven", + "venerdi" + ], + "saturday": [ + "sab", + "sabbato" + ], + "sunday": [ + "dom", + "dominica" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "a", + "an", + "anno" + ], + "month": [ + "m", + "mense", + "mns" + ], + "week": [ + "s", + "sept", + "septimana" + ], + "day": [ + "d", + "die" + ], + "hour": [ + "h", + "hora", + "horas", + "hr" + ], + "minute": [ + "m", + "min", + "minuta" + ], + "second": [ + "s", + "sec", + "secunda" + ], + "relative-type": { + "0 day ago": [ + "hodie" + ], + "0 hour ago": [ + "iste hora" + ], + "0 minute ago": [ + "iste minuta" + ], + "0 month ago": [ + "iste mense", + "iste mns" + ], + "0 second ago": [ + "ora" + ], + "0 week ago": [ + "iste sept", + "iste septimana" + ], + "0 year ago": [ + "iste an", + "iste anno" + ], + "1 day ago": [ + "heri" + ], + "1 month ago": [ + "le mense passate", + "mns pass" + ], + "1 week ago": [ + "le septimana passate", + "sept pass" + ], + "1 year ago": [ + "an pass", + "le anno passate" + ], + "in 1 day": [ + "deman" + ], + "in 1 month": [ + "le mense proxime", + "mns prox" + ], + "in 1 week": [ + "le septimana proxime", + "sept prox" + ], + "in 1 year": [ + "an prox", + "le anno proxime" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) die retro", + "(\\d+[.,]?\\d*) dies retro" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) hora retro", + "(\\d+[.,]?\\d*) horas retro", + "(\\d+[.,]?\\d*) hr retro" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) min retro", + "(\\d+[.,]?\\d*) minuta retro", + "(\\d+[.,]?\\d*) minutas retro" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) mense retro", + "(\\d+[.,]?\\d*) menses retro", + "(\\d+[.,]?\\d*) mns retro" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) sec retro", + "(\\d+[.,]?\\d*) secunda retro", + "(\\d+[.,]?\\d*) secundas retro" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) sept retro", + "(\\d+[.,]?\\d*) septimana retro", + "(\\d+[.,]?\\d*) septimanas retro" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) an retro", + "(\\d+[.,]?\\d*) anno retro", + "(\\d+[.,]?\\d*) annos retro" + ], + "in \\1 day": [ + "in (\\d+[.,]?\\d*) die", + "in (\\d+[.,]?\\d*) dies" + ], + "in \\1 hour": [ + "in (\\d+[.,]?\\d*) hora", + "in (\\d+[.,]?\\d*) horas", + "in (\\d+[.,]?\\d*) hr" + ], + "in \\1 minute": [ + "in (\\d+[.,]?\\d*) min", + "in (\\d+[.,]?\\d*) minuta", + "in (\\d+[.,]?\\d*) minutas" + ], + "in \\1 month": [ + "in (\\d+[.,]?\\d*) mense", + "in (\\d+[.,]?\\d*) menses", + "in (\\d+[.,]?\\d*) mns" + ], + "in \\1 second": [ + "in (\\d+[.,]?\\d*) sec", + "in (\\d+[.,]?\\d*) secunda", + "in (\\d+[.,]?\\d*) secundas" + ], + "in \\1 week": [ + "in (\\d+[.,]?\\d*) sept", + "in (\\d+[.,]?\\d*) septimana", + "in (\\d+[.,]?\\d*) septimanas" + ], + "in \\1 year": [ + "in (\\d+[.,]?\\d*) an", + "in (\\d+[.,]?\\d*) anno", + "in (\\d+[.,]?\\d*) annos" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/id.py b/dateparser/data/date_translation_data/id.py index fe3e59e6b..d4286980e 100644 --- a/dateparser/data/date_translation_data/id.py +++ b/dateparser/data/date_translation_data/id.py @@ -29,7 +29,7 @@ "juli" ], "august": [ - "agt", + "agu", "agustus", "Agu" ], @@ -99,7 +99,8 @@ ], "day": [ "h", - "hari" + "hari", + "hr" ], "hour": [ "j", @@ -123,9 +124,11 @@ "jam ini" ], "0 minute ago": [ - "menit ini" + "menit ini", + "mnt ini" ], "0 month ago": [ + "bln ini", "bulan ini" ], "0 second ago": [ @@ -133,34 +136,42 @@ "baru saja" ], "0 week ago": [ + "mgg ini", "minggu ini" ], "0 year ago": [ - "tahun ini" + "tahun ini", + "thn ini" ], "1 day ago": [ "kemarin" ], "1 month ago": [ + "bln lalu", "bulan lalu" ], "1 week ago": [ + "mgg lalu", "minggu lalu" ], "1 year ago": [ - "tahun lalu" + "tahun lalu", + "thn lalu" ], "in 1 day": [ "besok" ], "in 1 month": [ - "bulan berikutnya" + "bln berikutnya", + "bulan depan" ], "in 1 week": [ + "mgg depan", "minggu depan" ], "in 1 year": [ - "tahun depan" + "tahun depan", + "thn depan" ], "1 year": [ "setahun" @@ -215,7 +226,8 @@ "dalam (\\d+[.,]?\\d*) hari" ], "in \\1 hour": [ - "dalam (\\d+[.,]?\\d*) jam" + "dalam (\\d+[.,]?\\d*) jam", + "dlm (\\d+[.,]?\\d*) jam" ], "in \\1 minute": [ "dalam (\\d+[.,]?\\d*) menit", diff --git a/dateparser/data/date_translation_data/ie.py b/dateparser/data/date_translation_data/ie.py new file mode 100644 index 000000000..e8eee88f4 --- /dev/null +++ b/dateparser/data/date_translation_data/ie.py @@ -0,0 +1,153 @@ +info = { + "name": "ie", + "date_order": "YMD", + "january": [ + "januar" + ], + "february": [ + "februar" + ], + "march": [ + "marte" + ], + "april": [ + "april" + ], + "may": [ + "may" + ], + "june": [ + "junio" + ], + "july": [ + "julí" + ], + "august": [ + "august" + ], + "september": [ + "septembre" + ], + "october": [ + "octobre" + ], + "november": [ + "novembre" + ], + "december": [ + "decembre" + ], + "monday": [ + "lunedí" + ], + "tuesday": [ + "mardí" + ], + "wednesday": [ + "mercurdí" + ], + "thursday": [ + "jovedí" + ], + "friday": [ + "venerdí" + ], + "saturday": [ + "saturdí" + ], + "sunday": [ + "soledí" + ], + "am": [ + "am", + "ante midí" + ], + "pm": [ + "pm", + "pos midí" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ig.py b/dateparser/data/date_translation_data/ig.py index e88bac8a4..ae7d252ce 100644 --- a/dateparser/data/date_translation_data/ig.py +++ b/dateparser/data/date_translation_data/ig.py @@ -15,7 +15,7 @@ ], "april": [ "epr", - "eprel" + "epreel" ], "may": [ "mee" @@ -73,13 +73,15 @@ "satọdee" ], "sunday": [ - "mbọsị ụka", - "ụka" + "sọn", + "sọndee" ], "am": [ - "am" + "am", + "n'ụtụtụ" ], "pm": [ + "n'abali", "pm" ], "year": [ @@ -95,59 +97,61 @@ "ụbọchị" ], "hour": [ - "elekere" + "elekere", + "hr" ], "minute": [ "nkeji" ], "second": [ - "nkejinta" + "tịm kọm" ], "relative-type": { "0 day ago": [ + "taa", "taata" ], "0 hour ago": [ - "this hour" + "elekere a" ], "0 minute ago": [ - "this minute" + "nkejị a" ], "0 month ago": [ - "this month" + "ọnwa a" ], "0 second ago": [ - "now" + "ụgbụa" ], "0 week ago": [ - "this week" + "izu a" ], "0 year ago": [ - "this year" + "afọ a" ], "1 day ago": [ - "nnyaafụ" + "ụnyaahụ" ], "1 month ago": [ - "last month" + "ọnwa gara aga" ], "1 week ago": [ - "last week" + "izu gara aga" ], "1 year ago": [ - "last year" + "afọ gara aga" ], "in 1 day": [ "echi" ], "in 1 month": [ - "next month" + "ọnwa ọzọ" ], "in 1 week": [ - "next week" + "izu na-esote" ], "in 1 year": [ - "next year" + "afọ ọzọ" ] }, "locale_specific": {}, diff --git a/dateparser/data/date_translation_data/ii.py b/dateparser/data/date_translation_data/ii.py index 9db7a906d..463c59f65 100644 --- a/dateparser/data/date_translation_data/ii.py +++ b/dateparser/data/date_translation_data/ii.py @@ -84,6 +84,7 @@ "ꑍ" ], "hour": [ + "hr", "ꄮꈉ" ], "minute": [ diff --git a/dateparser/data/date_translation_data/io.py b/dateparser/data/date_translation_data/io.py new file mode 100644 index 000000000..cdc14fb5d --- /dev/null +++ b/dateparser/data/date_translation_data/io.py @@ -0,0 +1,115 @@ +info = { + "name": "io", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/is.py b/dateparser/data/date_translation_data/is.py index 40e481bb7..0cf46d776 100644 --- a/dateparser/data/date_translation_data/is.py +++ b/dateparser/data/date_translation_data/is.py @@ -94,12 +94,12 @@ "vika" ], "day": [ - "d", "dagur" ], "hour": [ "klst", - "klukkustund" + "klukkustund", + "klukkustundir" ], "minute": [ "mín", @@ -114,10 +114,10 @@ "í dag" ], "0 hour ago": [ - "this hour" + "þessa stundina" ], "0 minute ago": [ - "this minute" + "á þessari mínútu" ], "0 month ago": [ "í þessum mán", diff --git a/dateparser/data/date_translation_data/it.py b/dateparser/data/date_translation_data/it.py index fee99ccc1..38a92b8d5 100644 --- a/dateparser/data/date_translation_data/it.py +++ b/dateparser/data/date_translation_data/it.py @@ -104,17 +104,16 @@ "hour": [ "h", "ora", + "ore", "ore" ], "minute": [ - "m", "min", "minuto", "minuti" ], "second": [ "s", - "sec", "secondo", "secondi" ], @@ -135,6 +134,7 @@ "ora" ], "0 week ago": [ + "questa sett", "questa settimana" ], "0 year ago": [ @@ -147,6 +147,7 @@ "mese scorso" ], "1 week ago": [ + "sett scorsa", "settimana scorsa" ], "1 year ago": [ @@ -159,6 +160,7 @@ "mese prossimo" ], "in 1 week": [ + "sett prossima", "settimana prossima" ], "in 1 year": [ diff --git a/dateparser/data/date_translation_data/iu-Latn.py b/dateparser/data/date_translation_data/iu-Latn.py new file mode 100644 index 000000000..592aa9541 --- /dev/null +++ b/dateparser/data/date_translation_data/iu-Latn.py @@ -0,0 +1,115 @@ +info = { + "name": "iu-Latn", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/iu.py b/dateparser/data/date_translation_data/iu.py new file mode 100644 index 000000000..81da6df21 --- /dev/null +++ b/dateparser/data/date_translation_data/iu.py @@ -0,0 +1,115 @@ +info = { + "name": "iu", + "date_order": "MDY", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ja.py b/dateparser/data/date_translation_data/ja.py index 730305f6d..0e4a64eab 100644 --- a/dateparser/data/date_translation_data/ja.py +++ b/dateparser/data/date_translation_data/ja.py @@ -109,6 +109,7 @@ ], "hour": [ "時", + "時間", "時間" ], "minute": [ @@ -159,13 +160,13 @@ "明日" ], "in 1 month": [ - "翌月" + "来月" ], "in 1 week": [ - "翌週" + "来週" ], "in 1 year": [ - "翌年" + "来年" ], "2 day ago": [ "一昨日" diff --git a/dateparser/data/date_translation_data/jbo.py b/dateparser/data/date_translation_data/jbo.py new file mode 100644 index 000000000..98841ecd3 --- /dev/null +++ b/dateparser/data/date_translation_data/jbo.py @@ -0,0 +1,115 @@ +info = { + "name": "jbo", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/jgo.py b/dateparser/data/date_translation_data/jgo.py index 9e52f34bc..3a58f53f2 100644 --- a/dateparser/data/date_translation_data/jgo.py +++ b/dateparser/data/date_translation_data/jgo.py @@ -77,7 +77,8 @@ "day" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser/data/date_translation_data/jmc.py b/dateparser/data/date_translation_data/jmc.py index 7c06f3175..8df005c1c 100644 --- a/dateparser/data/date_translation_data/jmc.py +++ b/dateparser/data/date_translation_data/jmc.py @@ -95,6 +95,7 @@ "mfiri" ], "hour": [ + "hr", "saa" ], "minute": [ diff --git a/dateparser/data/date_translation_data/jv.py b/dateparser/data/date_translation_data/jv.py new file mode 100644 index 000000000..5bdc54f45 --- /dev/null +++ b/dateparser/data/date_translation_data/jv.py @@ -0,0 +1,215 @@ +info = { + "name": "jv", + "date_order": "DMY", + "january": [ + "jan", + "januari" + ], + "february": [ + "feb", + "februari" + ], + "march": [ + "mar", + "maret" + ], + "april": [ + "apr", + "april" + ], + "may": [ + "mei" + ], + "june": [ + "jun", + "juni" + ], + "july": [ + "jul", + "juli" + ], + "august": [ + "agt", + "agustus" + ], + "september": [ + "sep", + "september" + ], + "october": [ + "okt", + "oktober" + ], + "november": [ + "nov", + "november" + ], + "december": [ + "des", + "desember" + ], + "monday": [ + "sen", + "senin" + ], + "tuesday": [ + "sel", + "selasa" + ], + "wednesday": [ + "rab", + "rabu" + ], + "thursday": [ + "kam", + "kamis" + ], + "friday": [ + "jum", + "jumat" + ], + "saturday": [ + "sab", + "sabtu" + ], + "sunday": [ + "ahad" + ], + "am": [ + "isuk" + ], + "pm": [ + "wengi" + ], + "year": [ + "taun" + ], + "month": [ + "sasi" + ], + "week": [ + "pekan" + ], + "day": [ + "dino" + ], + "hour": [ + "jam" + ], + "minute": [ + "menit" + ], + "second": [ + "detik" + ], + "relative-type": { + "0 day ago": [ + "dino iki" + ], + "0 hour ago": [ + "jam iki" + ], + "0 minute ago": [ + "menit iki" + ], + "0 month ago": [ + "sasi iki" + ], + "0 second ago": [ + "saiki" + ], + "0 week ago": [ + "pekan iki", + "pkn iki" + ], + "0 year ago": [ + "taun iki" + ], + "1 day ago": [ + "wingi" + ], + "1 month ago": [ + "sasi wingi" + ], + "1 week ago": [ + "pekan wingi", + "pkn wingi" + ], + "1 year ago": [ + "taun wingi" + ], + "in 1 day": [ + "sesuk" + ], + "in 1 month": [ + "sasi ngarep" + ], + "in 1 week": [ + "pekan ngarep", + "pkn ngarep" + ], + "in 1 year": [ + "taun ngarep" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) dina kepungkur", + "(\\d+[.,]?\\d*) dino kepungkur" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) jam kepungkur" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) menit kepungkur" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) sasi kepungkur" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) detik kepungkur" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) pekan kepungkur" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) taun kepungkur" + ], + "in \\1 day": [ + "ing (\\d+[.,]?\\d*) dina" + ], + "in \\1 hour": [ + "ing (\\d+[.,]?\\d*) jam" + ], + "in \\1 minute": [ + "ing (\\d+[.,]?\\d*) menit" + ], + "in \\1 month": [ + "ing (\\d+[.,]?\\d*) sasi" + ], + "in \\1 second": [ + "ing (\\d+[.,]?\\d*) detik" + ], + "in \\1 week": [ + "ing (\\d+[.,]?\\d*) pekan" + ], + "in \\1 year": [ + "ing (\\d+[.,]?\\d*) taun" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ka.py b/dateparser/data/date_translation_data/ka.py index f303291fd..3457d5e0c 100644 --- a/dateparser/data/date_translation_data/ka.py +++ b/dateparser/data/date_translation_data/ka.py @@ -81,8 +81,7 @@ "am" ], "pm": [ - "pm", - "შუადღ შემდეგ" + "pm" ], "year": [ "წ", diff --git a/dateparser/data/date_translation_data/kab.py b/dateparser/data/date_translation_data/kab.py index fa74984a8..320fcbb8f 100644 --- a/dateparser/data/date_translation_data/kab.py +++ b/dateparser/data/date_translation_data/kab.py @@ -96,6 +96,7 @@ "ass" ], "hour": [ + "hr", "tamert" ], "minute": [ diff --git a/dateparser/data/date_translation_data/kaj.py b/dateparser/data/date_translation_data/kaj.py new file mode 100644 index 000000000..a714088be --- /dev/null +++ b/dateparser/data/date_translation_data/kaj.py @@ -0,0 +1,115 @@ +info = { + "name": "kaj", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/kam.py b/dateparser/data/date_translation_data/kam.py index 5479d6b3d..d7df94de9 100644 --- a/dateparser/data/date_translation_data/kam.py +++ b/dateparser/data/date_translation_data/kam.py @@ -96,6 +96,7 @@ "mũthenya" ], "hour": [ + "hr", "saa" ], "minute": [ diff --git a/dateparser/data/date_translation_data/kcg.py b/dateparser/data/date_translation_data/kcg.py new file mode 100644 index 000000000..9a7ad01b7 --- /dev/null +++ b/dateparser/data/date_translation_data/kcg.py @@ -0,0 +1,115 @@ +info = { + "name": "kcg", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/kde.py b/dateparser/data/date_translation_data/kde.py index 9cffae61d..7edb4a4eb 100644 --- a/dateparser/data/date_translation_data/kde.py +++ b/dateparser/data/date_translation_data/kde.py @@ -96,6 +96,7 @@ "lihiku" ], "hour": [ + "hr", "saa" ], "minute": [ diff --git a/dateparser/data/date_translation_data/kea.py b/dateparser/data/date_translation_data/kea.py index b642fa156..d8654340c 100644 --- a/dateparser/data/date_translation_data/kea.py +++ b/dateparser/data/date_translation_data/kea.py @@ -71,7 +71,6 @@ ], "saturday": [ "sab", - "sabadu", "sábadu" ], "sunday": [ @@ -116,16 +115,16 @@ "oji" ], "0 hour ago": [ - "this hour" + "es ora li" ], "0 minute ago": [ - "this minute" + "es minutu li" ], "0 month ago": [ "es mes li" ], "0 second ago": [ - "now" + "agora" ], "0 week ago": [ "es simana li" @@ -146,7 +145,7 @@ "anu pasadu" ], "in 1 day": [ - "manha" + "manhan" ], "in 1 month": [ "prósimu mes" diff --git a/dateparser/data/date_translation_data/ken.py b/dateparser/data/date_translation_data/ken.py new file mode 100644 index 000000000..65ec93b0b --- /dev/null +++ b/dateparser/data/date_translation_data/ken.py @@ -0,0 +1,115 @@ +info = { + "name": "ken", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/kgp.py b/dateparser/data/date_translation_data/kgp.py new file mode 100644 index 000000000..c9795dff0 --- /dev/null +++ b/dateparser/data/date_translation_data/kgp.py @@ -0,0 +1,226 @@ +info = { + "name": "kgp", + "date_order": "DMY", + "january": [ + "1-kysã", + "1ky" + ], + "february": [ + "2-kysã", + "2ky" + ], + "march": [ + "3-kysã", + "3ky" + ], + "april": [ + "4-kysã", + "4ky" + ], + "may": [ + "5-kysã", + "5ky" + ], + "june": [ + "6-kysã", + "6ky" + ], + "july": [ + "7-kysã", + "7ky" + ], + "august": [ + "8-kysã", + "8ky" + ], + "september": [ + "9-kysã", + "9ky" + ], + "october": [ + "10-kysã", + "10ky" + ], + "november": [ + "11-kysã", + "11ky" + ], + "december": [ + "12-kysã", + "12ky" + ], + "monday": [ + "pir", + "pir-kurã-há" + ], + "tuesday": [ + "rég", + "régre-kurã-há" + ], + "wednesday": [ + "tẽg", + "tẽgtũ-kurã-há" + ], + "thursday": [ + "vẽn", + "vẽnhkãgra-kurã-há" + ], + "friday": [ + "pén", + "pénkar-kurã-há" + ], + "saturday": [ + "sav", + "savnu" + ], + "sunday": [ + "num", + "numĩggu" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "prỹg" + ], + "month": [ + "kysã" + ], + "week": [ + "sim", + "simỹnỹ" + ], + "day": [ + "kurã" + ], + "hour": [ + "h", + "óra", + "óra ag" + ], + "minute": [ + "mĩn", + "mĩnũtu" + ], + "second": [ + "seg", + "segũno" + ], + "relative-type": { + "0 day ago": [ + "uri" + ], + "0 hour ago": [ + "óra tag kã" + ], + "0 minute ago": [ + "mĩnũtu tag" + ], + "0 month ago": [ + "kysã tag kã" + ], + "0 second ago": [ + "ha" + ], + "0 week ago": [ + "simỹnỹ tag kã" + ], + "0 year ago": [ + "prỹg tag kã" + ], + "1 day ago": [ + "rãketá" + ], + "1 month ago": [ + "kysã tĩ mũn kã" + ], + "1 week ago": [ + "simỹnỹ tĩ mũn kã" + ], + "1 year ago": [ + "prỹg tĩ mũnh kã" + ], + "in 1 day": [ + "vajkỹ" + ], + "in 1 month": [ + "kysã ũn kã" + ], + "in 1 week": [ + "simỹnỹ ũn kã" + ], + "in 1 year": [ + "prỹg ũ kã" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "kurã (\\d+[.,]?\\d*) si ser" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) h si ser", + "óra (\\d+[.,]?\\d*) si ser" + ], + "\\1 minute ago": [ + "mĩn (\\d+[.,]?\\d*) si ser", + "mĩnũtu (\\d+[.,]?\\d*) si ser" + ], + "\\1 month ago": [ + "kysã (\\d+[.,]?\\d*) si ser" + ], + "\\1 second ago": [ + "seg (\\d+[.,]?\\d*) si ser", + "segũno (\\d+[.,]?\\d*) si ser" + ], + "\\1 week ago": [ + "sim (\\d+[.,]?\\d*) si ser", + "simỹnỹ (\\d+[.,]?\\d*) si ser" + ], + "\\1 year ago": [ + "prỹg (\\d+[.,]?\\d*) si ser" + ], + "in \\1 day": [ + "kurã (\\d+[.,]?\\d*) kar kỹ" + ], + "in \\1 hour": [ + "(\\d+[.,]?\\d*) h kar kỹ", + "óra (\\d+[.,]?\\d*) kar kỹ" + ], + "in \\1 minute": [ + "mĩn (\\d+[.,]?\\d*) kar kỹ", + "mĩnũtu (\\d+[.,]?\\d*) kar kỹ" + ], + "in \\1 month": [ + "kysã (\\d+[.,]?\\d*) kar kỹ" + ], + "in \\1 second": [ + "seg (\\d+[.,]?\\d*) kar kỹ", + "segũno (\\d+[.,]?\\d*) kar kỹ" + ], + "in \\1 week": [ + "sim (\\d+[.,]?\\d*) kar kỹ", + "simỹnỹ (\\d+[.,]?\\d*) kar kỹ" + ], + "in \\1 year": [ + "prỹg (\\d+[.,]?\\d*) kar kỹ" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/khq.py b/dateparser/data/date_translation_data/khq.py index d707ae00b..b9a90fd55 100644 --- a/dateparser/data/date_translation_data/khq.py +++ b/dateparser/data/date_translation_data/khq.py @@ -94,7 +94,8 @@ "jaari" ], "hour": [ - "guuru" + "guuru", + "hr" ], "minute": [ "miniti" diff --git a/dateparser/data/date_translation_data/ki.py b/dateparser/data/date_translation_data/ki.py index 45224f847..29c8c3e93 100644 --- a/dateparser/data/date_translation_data/ki.py +++ b/dateparser/data/date_translation_data/ki.py @@ -96,6 +96,7 @@ "mũthenya" ], "hour": [ + "hr", "ithaa" ], "minute": [ diff --git a/dateparser/data/date_translation_data/kl.py b/dateparser/data/date_translation_data/kl.py index eddcea08e..e21f586a2 100644 --- a/dateparser/data/date_translation_data/kl.py +++ b/dateparser/data/date_translation_data/kl.py @@ -3,51 +3,63 @@ "date_order": "YMD", "january": [ "jan", - "januari" + "januaari", + "januaarip" ], "february": [ - "feb", - "februari" + "febr", + "februaari", + "februaarip" ], "march": [ "mar", - "martsi" + "marsi", + "marsip" ], "april": [ "apr", - "aprili" + "apriili", + "apriilip" ], "may": [ - "maj", - "maji" + "maaji", + "maajip", + "maj" ], "june": [ "jun", - "juni" + "juuni", + "juunip" ], "july": [ "jul", - "juli" + "juuli", + "juulip" ], "august": [ - "aug", - "augustusi" + "aggusti", + "aggustip", + "aug" ], "september": [ - "sep", - "septemberi" + "sept", + "septembari", + "septembarip" ], "october": [ "okt", - "oktoberi" + "oktobari", + "oktobarip" ], "november": [ "nov", - "novemberi" + "novembari", + "novembarip" ], "december": [ "dec", - "decemberi" + "decembari", + "decembarip" ], "monday": [ "ata", @@ -74,8 +86,8 @@ "arfininngorneq" ], "sunday": [ - "sab", - "sabaat" + "sap", + "sapaat" ], "am": [ "am" @@ -96,7 +108,8 @@ "day" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser/data/date_translation_data/kln.py b/dateparser/data/date_translation_data/kln.py index 0eec0d7a4..4e1b2d7a3 100644 --- a/dateparser/data/date_translation_data/kln.py +++ b/dateparser/data/date_translation_data/kln.py @@ -98,6 +98,7 @@ "betut" ], "hour": [ + "hr", "sait" ], "minute": [ diff --git a/dateparser/data/date_translation_data/km.py b/dateparser/data/date_translation_data/km.py index cda9dad61..050719e81 100644 --- a/dateparser/data/date_translation_data/km.py +++ b/dateparser/data/date_translation_data/km.py @@ -38,6 +38,7 @@ "ធ្នូ" ], "monday": [ + "ចន្ទ", "ច័ន្ទ" ], "tuesday": [ @@ -47,6 +48,7 @@ "ពុធ" ], "thursday": [ + "ព្រហ", "ព្រហស្បតិ៍" ], "friday": [ diff --git a/dateparser/data/date_translation_data/kn.py b/dateparser/data/date_translation_data/kn.py index d575334e8..d73319001 100644 --- a/dateparser/data/date_translation_data/kn.py +++ b/dateparser/data/date_translation_data/kn.py @@ -92,7 +92,8 @@ "ದಿನ" ], "hour": [ - "ಗಂಟೆ" + "ಗಂಟೆ", + "ಗಂಟೆಗಳು" ], "minute": [ "ನಿಮಿಷ" diff --git a/dateparser/data/date_translation_data/ko.py b/dateparser/data/date_translation_data/ko.py index 6b361e07a..59f61cc0f 100644 --- a/dateparser/data/date_translation_data/ko.py +++ b/dateparser/data/date_translation_data/ko.py @@ -86,7 +86,8 @@ "일" ], "hour": [ - "시" + "시", + "시간" ], "minute": [ "분" @@ -186,6 +187,9 @@ ] }, "locale_specific": { + "ko-CN": { + "name": "ko-CN" + }, "ko-KP": { "name": "ko-KP" } diff --git a/dateparser/data/date_translation_data/kok.py b/dateparser/data/date_translation_data/kok.py index 6422aaaea..38553f614 100644 --- a/dateparser/data/date_translation_data/kok.py +++ b/dateparser/data/date_translation_data/kok.py @@ -1,17 +1,20 @@ info = { "name": "kok", - "date_order": "YMD", + "date_order": "DMY", "january": [ + "जाने", "जानेवारी" ], "february": [ + "फेब्रु", "फेब्रुवारी" ], "march": [ "मार्च" ], "april": [ - "एप्रिल" + "एप्री", + "एप्रील" ], "may": [ "मे" @@ -20,123 +23,172 @@ "जून" ], "july": [ - "जुलै" + "जुल", + "जुलय" ], "august": [ - "ओगस्ट" + "ऑग", + "ऑगस्ट" ], "september": [ - "सेप्टेंबर" + "सप्टें", + "सप्टेंबर" ], "october": [ - "ओक्टोबर" + "ऑक्टो", + "ऑक्टोबर" ], "november": [ + "नो", "नोव्हेंबर" ], "december": [ + "डिसे", "डिसेंबर" ], "monday": [ - "सोम", - "सोमवार" + "सोमार" ], "tuesday": [ - "मंगळ", "मंगळार" ], "wednesday": [ - "बुध", "बुधवार" ], "thursday": [ - "गुरु", - "गुरुवार" + "बिरेस्तार" ], "friday": [ - "शुक्र", - "शुक्रवार" + "शुक्रार" ], "saturday": [ - "शनि", - "शनिवार" + "शेनवार" ], "sunday": [ - "आदित्यवार", - "रवि" + "आयतार" ], "am": [ - "मपू" + "am", + "सकाळ" ], "pm": [ - "मनं" + "pm", + "सांज" ], "year": [ - "year" + "वर्स" ], "month": [ - "month" + "म्हयनो" ], "week": [ - "week" + "सप्तक" ], "day": [ - "day" + "दीस" ], "hour": [ - "hour" + "वर", + "वरां" ], "minute": [ - "minute" + "मिनीट" ], "second": [ - "second" + "सेकंद" ], "relative-type": { "0 day ago": [ - "today" + "आयज" ], "0 hour ago": [ - "this hour" + "हें वर" ], "0 minute ago": [ - "this minute" + "हें मिनीट" ], "0 month ago": [ - "this month" + "हो म्हयनो" ], "0 second ago": [ - "now" + "आतां" ], "0 week ago": [ - "this week" + "हो सप्तक" ], "0 year ago": [ - "this year" + "हें वर्स" ], "1 day ago": [ - "yesterday" + "काल" ], "1 month ago": [ - "last month" + "फाटलो म्हयनो" ], "1 week ago": [ - "last week" + "निमाणो सप्तक" ], "1 year ago": [ - "last year" + "फाटलें वर्स" ], "in 1 day": [ - "tomorrow" + "फाल्यां" ], "in 1 month": [ - "next month" + "फुडलो म्हयनो" ], "in 1 week": [ - "next week" + "फुडलो सप्तक" ], "in 1 year": [ - "next year" + "फुडलें वर्स" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) दीस आदीं" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) वरा आदीं" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) मिन्टां आदीं" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) म्हयन्यां आदीं" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) से आदीं", + "(\\d+[.,]?\\d*) सेकंद आदीं" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) सप्त आदीं", + "(\\d+[.,]?\\d*) सप्तकां आदीं" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) वर्स आदीं", + "(\\d+[.,]?\\d*) वर्सां आदीं" + ], + "in \\1 day": [ + "(\\d+[.,]?\\d*) दिसानीं" + ], + "in \\1 hour": [ + "(\\d+[.,]?\\d*) वरांनीं" + ], + "in \\1 minute": [ + "(\\d+[.,]?\\d*) मिन्टां" + ], + "in \\1 month": [ + "(\\d+[.,]?\\d*) म्हयन्यानीं" + ], + "in \\1 second": [ + "(\\d+[.,]?\\d*) सेकंदानीं" + ], + "in \\1 week": [ + "(\\d+[.,]?\\d*) सप्तकांनीं" + ], + "in \\1 year": [ + "(\\d+[.,]?\\d*) वर्सांनीं" ] }, "locale_specific": {}, diff --git a/dateparser/data/date_translation_data/kpe.py b/dateparser/data/date_translation_data/kpe.py new file mode 100644 index 000000000..88c6d5c9e --- /dev/null +++ b/dateparser/data/date_translation_data/kpe.py @@ -0,0 +1,119 @@ +info = { + "name": "kpe", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "kpe-GN": { + "name": "kpe-GN" + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ks-Arab.py b/dateparser/data/date_translation_data/ks-Arab.py new file mode 100644 index 000000000..b823af695 --- /dev/null +++ b/dateparser/data/date_translation_data/ks-Arab.py @@ -0,0 +1,157 @@ +info = { + "name": "ks-Arab", + "date_order": "MDY", + "january": [ + "جنؤری" + ], + "february": [ + "فرؤری" + ], + "march": [ + "مارٕچ" + ], + "april": [ + "اپریل" + ], + "may": [ + "مئی" + ], + "june": [ + "جوٗن" + ], + "july": [ + "جوٗلایی", + "جُلَے" + ], + "august": [ + "اگست" + ], + "september": [ + "ستمبر" + ], + "october": [ + "اکتوٗبر" + ], + "november": [ + "نومبر" + ], + "december": [ + "دسمبر", + "دَسَمبَر" + ], + "monday": [ + "ژٔندرٕروار", + "ژٔندٕروار" + ], + "tuesday": [ + "بۆموار" + ], + "wednesday": [ + "بودوار" + ], + "thursday": [ + "برؠسوار" + ], + "friday": [ + "جُمہ" + ], + "saturday": [ + "بٹوار" + ], + "sunday": [ + "آتھوار", + "اَتھوار" + ], + "am": [ + "am", + "اے ایم" + ], + "pm": [ + "pm", + "پی ایم" + ], + "year": [ + "ؤری" + ], + "month": [ + "رؠتھ" + ], + "week": [ + "ہفتہٕ" + ], + "day": [ + "دۄہ" + ], + "hour": [ + "hr", + "گٲنٹہٕ" + ], + "minute": [ + "مِنَٹ" + ], + "second": [ + "سؠکَنڈ" + ], + "relative-type": { + "0 day ago": [ + "اَز" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "یٕہ ریتھۍ" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "یٕہ ہفتہ" + ], + "0 year ago": [ + "یٕہ ؤری" + ], + "1 day ago": [ + "راتھ" + ], + "1 month ago": [ + "پٔتِم ریتھۍ" + ], + "1 week ago": [ + "پٔتِم ہفتہ" + ], + "1 year ago": [ + "پٔتِم ؤری" + ], + "in 1 day": [ + "پگاہ" + ], + "in 1 month": [ + "نو ریتھۍ" + ], + "in 1 week": [ + "نو ہفتہ" + ], + "in 1 year": [ + "نو ؤری" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ks-Deva.py b/dateparser/data/date_translation_data/ks-Deva.py new file mode 100644 index 000000000..7117dc3a1 --- /dev/null +++ b/dateparser/data/date_translation_data/ks-Deva.py @@ -0,0 +1,162 @@ +info = { + "name": "ks-Deva", + "date_order": "DMY", + "january": [ + "जनवरी" + ], + "february": [ + "फ़रवरी" + ], + "march": [ + "मार्च" + ], + "april": [ + "अप्रैल" + ], + "may": [ + "मे" + ], + "june": [ + "जून" + ], + "july": [ + "जुलाई" + ], + "august": [ + "अगस्त" + ], + "september": [ + "सतमबर", + "सतुंबर" + ], + "october": [ + "अकतुम्बर", + "अक्तूबर" + ], + "november": [ + "नवमबर", + "नवूमबर" + ], + "december": [ + "दसमबर", + "दसूमबर" + ], + "monday": [ + "चंदिरवार", + "च़ंदिरवार" + ], + "tuesday": [ + "बुवार", + "बोमवार" + ], + "wednesday": [ + "बोदवार" + ], + "thursday": [ + "ब्रेसवार" + ], + "friday": [ + "जुमा", + "जुम्मा" + ], + "saturday": [ + "बटवार" + ], + "sunday": [ + "आथवार" + ], + "am": [ + "am", + "दुपहर ब्रोंठ", + "ये एम" + ], + "pm": [ + "pm", + "दुपहरपतॖ", + "पी एम" + ], + "year": [ + "वरीह" + ], + "month": [ + "माह" + ], + "week": [ + "हफ़ति" + ], + "day": [ + "दोह" + ], + "hour": [ + "hr", + "गनटि" + ], + "minute": [ + "मिनट" + ], + "second": [ + "सेकंड" + ], + "relative-type": { + "0 day ago": [ + "अज़" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "राथ" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "पगाह" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ks.py b/dateparser/data/date_translation_data/ks.py index 9f9955a50..ab90077e5 100644 --- a/dateparser/data/date_translation_data/ks.py +++ b/dateparser/data/date_translation_data/ks.py @@ -14,13 +14,14 @@ "اپریل" ], "may": [ - "میٔ" + "مئی" ], "june": [ "جوٗن" ], "july": [ - "جوٗلایی" + "جوٗلایی", + "جُلَے" ], "august": [ "اگست" @@ -35,20 +36,21 @@ "نومبر" ], "december": [ - "دسمبر" + "دسمبر", + "دَسَمبَر" ], "monday": [ - "ژٔنٛدرٕروار", - "ژٔنٛدٕروار" + "ژٔندرٕروار", + "ژٔندٕروار" ], "tuesday": [ - "بوٚموار" + "بۆموار" ], "wednesday": [ "بودوار" ], "thursday": [ - "برٛٮ۪سوار" + "برؠسوار" ], "friday": [ "جُمہ" @@ -61,16 +63,18 @@ "اَتھوار" ], "am": [ - "am" + "am", + "اے ایم" ], "pm": [ - "pm" + "pm", + "پی ایم" ], "year": [ "ؤری" ], "month": [ - "رٮ۪تھ" + "رؠتھ" ], "week": [ "ہفتہٕ" @@ -79,13 +83,14 @@ "دۄہ" ], "hour": [ - "گٲنٛٹہٕ" + "hr", + "گٲنٹہٕ" ], "minute": [ "مِنَٹ" ], "second": [ - "سٮ۪کَنڑ" + "سؠکَنڈ" ], "relative-type": { "0 day ago": [ @@ -98,40 +103,40 @@ "this minute" ], "0 month ago": [ - "this month" + "یٕہ ریتھۍ" ], "0 second ago": [ "now" ], "0 week ago": [ - "this week" + "یٕہ ہفتہ" ], "0 year ago": [ - "this year" + "یٕہ ؤری" ], "1 day ago": [ "راتھ" ], "1 month ago": [ - "last month" + "پٔتِم ریتھۍ" ], "1 week ago": [ - "last week" + "پٔتِم ہفتہ" ], "1 year ago": [ - "last year" + "پٔتِم ؤری" ], "in 1 day": [ "پگاہ" ], "in 1 month": [ - "next month" + "نو ریتھۍ" ], "in 1 week": [ - "next week" + "نو ہفتہ" ], "in 1 year": [ - "next year" + "نو ؤری" ] }, "locale_specific": {}, diff --git a/dateparser/data/date_translation_data/ksb.py b/dateparser/data/date_translation_data/ksb.py index 7858d0d87..e12826389 100644 --- a/dateparser/data/date_translation_data/ksb.py +++ b/dateparser/data/date_translation_data/ksb.py @@ -95,6 +95,7 @@ "siku" ], "hour": [ + "hr", "saa" ], "minute": [ diff --git a/dateparser/data/date_translation_data/ksf.py b/dateparser/data/date_translation_data/ksf.py index 341309dbf..a57622a0b 100644 --- a/dateparser/data/date_translation_data/ksf.py +++ b/dateparser/data/date_translation_data/ksf.py @@ -96,7 +96,8 @@ "ŋwós" ], "hour": [ - "cámɛɛn" + "cámɛɛn", + "hr" ], "minute": [ "mǝnít" diff --git a/dateparser/data/date_translation_data/ksh.py b/dateparser/data/date_translation_data/ksh.py index 123828698..6e85324d8 100644 --- a/dateparser/data/date_translation_data/ksh.py +++ b/dateparser/data/date_translation_data/ksh.py @@ -105,6 +105,7 @@ "hour": [ "s", "schtund", + "schtunde", "std" ], "minute": [ diff --git a/dateparser/data/date_translation_data/ku.py b/dateparser/data/date_translation_data/ku.py new file mode 100644 index 000000000..7e66371db --- /dev/null +++ b/dateparser/data/date_translation_data/ku.py @@ -0,0 +1,197 @@ +info = { + "name": "ku", + "date_order": "DMY", + "january": [ + "rbn", + "rêbendan" + ], + "february": [ + "sbt", + "sibat" + ], + "march": [ + "adar", + "adr" + ], + "april": [ + "nsn", + "nîsan" + ], + "may": [ + "gln", + "gulan" + ], + "june": [ + "hezîran", + "hzr" + ], + "july": [ + "trm", + "tîrmeh" + ], + "august": [ + "tbx", + "tebax" + ], + "september": [ + "îln", + "îlon" + ], + "october": [ + "cot", + "cotmeh" + ], + "november": [ + "mijdar", + "mjd" + ], + "december": [ + "berfanbar", + "brf" + ], + "monday": [ + "duşem", + "dşm" + ], + "tuesday": [ + "sêşem", + "sşm" + ], + "wednesday": [ + "çarşem", + "çşm" + ], + "thursday": [ + "pêncşem", + "pşm" + ], + "friday": [ + "înî" + ], + "saturday": [ + "şem", + "şemî" + ], + "sunday": [ + "yekşem", + "yşm" + ], + "am": [ + "bn" + ], + "pm": [ + "pn" + ], + "year": [ + "sal" + ], + "month": [ + "meh" + ], + "week": [ + "hefte", + "hf" + ], + "day": [ + "roj" + ], + "hour": [ + "sa", + "saet" + ], + "minute": [ + "deqîqe", + "dq" + ], + "second": [ + "saniye", + "sn" + ], + "relative-type": { + "0 day ago": [ + "îro" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "vê deqeyê" + ], + "0 month ago": [ + "vê mehê" + ], + "0 second ago": [ + "vêga" + ], + "0 week ago": [ + "vê hefteyê", + "vê hft" + ], + "0 year ago": [ + "îsal" + ], + "1 day ago": [ + "duh" + ], + "1 month ago": [ + "meha borî" + ], + "1 week ago": [ + "hefteya borî", + "hft borî" + ], + "1 year ago": [ + "sala borî" + ], + "in 1 day": [ + "sibê" + ], + "in 1 month": [ + "meha bê" + ], + "in 1 week": [ + "hefteya bê", + "hft bê" + ], + "in 1 year": [ + "sala bê" + ] + }, + "relative-type-regex": { + "\\1 minute ago": [ + "berî (\\d+[.,]?\\d*) d", + "berî (\\d+[.,]?\\d*) deqeyan", + "berî (\\d+[.,]?\\d*) deqeyê", + "berî (\\d+[.,]?\\d*) dq" + ], + "\\1 year ago": [ + "berî (\\d+[.,]?\\d*) salan", + "berî (\\d+[.,]?\\d*) salê" + ], + "in \\1 minute": [ + "di (\\d+[.,]?\\d*) deqeyan de", + "di (\\d+[.,]?\\d*) deqeyê de", + "di (\\d+[.,]?\\d*) dq de", + "di (\\d+[.,]?\\d*)dq de" + ], + "in \\1 year": [ + "di (\\d+[.,]?\\d*) salan de", + "piştî (\\d+[.,]?\\d*) salan" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/kw.py b/dateparser/data/date_translation_data/kw.py index 6bc8a1453..995a898e9 100644 --- a/dateparser/data/date_translation_data/kw.py +++ b/dateparser/data/date_translation_data/kw.py @@ -96,7 +96,8 @@ "day" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser/data/date_translation_data/kxv-Deva.py b/dateparser/data/date_translation_data/kxv-Deva.py new file mode 100644 index 000000000..4d2a27aac --- /dev/null +++ b/dateparser/data/date_translation_data/kxv-Deva.py @@ -0,0 +1,153 @@ +info = { + "name": "kxv-Deva", + "date_order": "YMD", + "january": [ + "पुसु लेञ्जु" + ], + "february": [ + "माहाका लेञ्जु" + ], + "march": [ + "पागुणी लेञ्जु" + ], + "april": [ + "हिरे लेञ्जु" + ], + "may": [ + "बेसे लेञ्जु" + ], + "june": [ + "जाटा लेञ्जु" + ], + "july": [ + "आसाड़ी लेञ्जु" + ], + "august": [ + "स्राबाँ लेञ्जु" + ], + "september": [ + "बोदो लेञ्जु" + ], + "october": [ + "दसारा लेञ्जु" + ], + "november": [ + "दिवी लेञ्जु" + ], + "december": [ + "पान्डे लेञ्जु" + ], + "monday": [ + "साॅम्वारा" + ], + "tuesday": [ + "मंगाड़ा" + ], + "wednesday": [ + "पुद्दारा" + ], + "thursday": [ + "लाक्कि वारा" + ], + "friday": [ + "सुकुरु वारा" + ], + "saturday": [ + "सान्नि वारा" + ], + "sunday": [ + "आदि वारा" + ], + "am": [ + "am", + "ए एम" + ], + "pm": [ + "pm", + "पी एम" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/kxv-Latn.py b/dateparser/data/date_translation_data/kxv-Latn.py new file mode 100644 index 000000000..7d7e191f6 --- /dev/null +++ b/dateparser/data/date_translation_data/kxv-Latn.py @@ -0,0 +1,176 @@ +info = { + "name": "kxv-Latn", + "date_order": "DMY", + "january": [ + "pusu", + "pusu lenju" + ], + "february": [ + "maha", + "maha lenju" + ], + "march": [ + "pagu", + "pagu lenju" + ], + "april": [ + "hire", + "hire lenju" + ], + "may": [ + "bese", + "bese lenju" + ], + "june": [ + "jaṭṭa", + "jaṭṭa lenju" + ], + "july": [ + "aasaḍi", + "aasaḍi lenju" + ], + "august": [ + "srabĩ", + "srabĩ lenju" + ], + "september": [ + "bado", + "bado lenju" + ], + "october": [ + "dasara", + "dasara lenju" + ], + "november": [ + "divi", + "divi lenju" + ], + "december": [ + "pande", + "pande lenju" + ], + "monday": [ + "smba", + "smbara" + ], + "tuesday": [ + "manga", + "mangaḍa" + ], + "wednesday": [ + "puda", + "pudara" + ], + "thursday": [ + "laki", + "laki vara" + ], + "friday": [ + "sukru", + "sukru vara" + ], + "saturday": [ + "sani", + "sani vara" + ], + "sunday": [ + "aadi", + "aadi vara" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "ba", + "barsa" + ], + "month": [ + "le", + "lenju" + ], + "week": [ + "va", + "vara" + ], + "day": [ + "dina" + ], + "hour": [ + "be", + "belā", + "hr" + ], + "minute": [ + "min", + "miniṭ" + ], + "second": [ + "sek", + "sekenḍ" + ], + "relative-type": { + "0 day ago": [ + "inju" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "raaala" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "vie" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/kxv-Orya.py b/dateparser/data/date_translation_data/kxv-Orya.py new file mode 100644 index 000000000..22b5c5449 --- /dev/null +++ b/dateparser/data/date_translation_data/kxv-Orya.py @@ -0,0 +1,153 @@ +info = { + "name": "kxv-Orya", + "date_order": "YMD", + "january": [ + "ପୁସୁ ଲେଞ୍ଜୁ" + ], + "february": [ + "ମାହାକା ଲେଞ୍ଜୁ" + ], + "march": [ + "ପାଗୁଣି ଲେଞ୍ଜୁ" + ], + "april": [ + "ହିରେ ଲେଞ୍ଜୁ" + ], + "may": [ + "ବେସେ ଲେଞ୍ଜୁ" + ], + "june": [ + "ଜାଟା ଲେଞ୍ଜୁ" + ], + "july": [ + "ଆସାଡ଼ି ଲେଞ୍ଜୁ" + ], + "august": [ + "ସ୍ରାବାଁ ଲେଞ୍ଜୁ" + ], + "september": [ + "ବଦ ଲେଞ୍ଜୁ" + ], + "october": [ + "ଦାସାରା ଲେଞ୍ଜୁ" + ], + "november": [ + "ଦିୱିଡ଼ି ଲେଞ୍ଜୁ" + ], + "december": [ + "ପାଣ୍ଡେ ଲେଞ୍ଜୁ" + ], + "monday": [ + "ସମ୍ବାରା" + ], + "tuesday": [ + "ମାଙ୍ଗାଡ଼ା" + ], + "wednesday": [ + "ପୁଦାରା" + ], + "thursday": [ + "ଲାକି ୱାରା" + ], + "friday": [ + "ସୁକ୍ରୁ ୱାରା" + ], + "saturday": [ + "ସାନି ୱାରା" + ], + "sunday": [ + "ଆଦି ୱାରା" + ], + "am": [ + "am", + "ଏ ଏମ" + ], + "pm": [ + "pm", + "ପି ଏମ" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/kxv-Telu.py b/dateparser/data/date_translation_data/kxv-Telu.py new file mode 100644 index 000000000..682f2b809 --- /dev/null +++ b/dateparser/data/date_translation_data/kxv-Telu.py @@ -0,0 +1,153 @@ +info = { + "name": "kxv-Telu", + "date_order": "YMD", + "january": [ + "మాగ" + ], + "february": [ + "గుండు" + ], + "march": [ + "హిరెఇ" + ], + "april": [ + "బెసెకి" + ], + "may": [ + "లండి" + ], + "june": [ + "రాత" + ], + "july": [ + "బాన్దపాణా" + ], + "august": [ + "బార్సి" + ], + "september": [ + "అస్ర" + ], + "october": [ + "దివెడి" + ], + "november": [ + "పాండు" + ], + "december": [ + "పుసు" + ], + "monday": [ + "నమారా" + ], + "tuesday": [ + "మాంగాడా" + ], + "wednesday": [ + "వుదారా" + ], + "thursday": [ + "లాకివరా" + ], + "friday": [ + "నుక్ వరా" + ], + "saturday": [ + "సానివరా" + ], + "sunday": [ + "వారమి" + ], + "am": [ + "am", + "ఎ ఎమ్" + ], + "pm": [ + "pm", + "పి ఎమ్" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/kxv.py b/dateparser/data/date_translation_data/kxv.py new file mode 100644 index 000000000..55180857e --- /dev/null +++ b/dateparser/data/date_translation_data/kxv.py @@ -0,0 +1,176 @@ +info = { + "name": "kxv", + "date_order": "DMY", + "january": [ + "pusu", + "pusu lenju" + ], + "february": [ + "maha", + "maha lenju" + ], + "march": [ + "pagu", + "pagu lenju" + ], + "april": [ + "hire", + "hire lenju" + ], + "may": [ + "bese", + "bese lenju" + ], + "june": [ + "jaṭṭa", + "jaṭṭa lenju" + ], + "july": [ + "aasaḍi", + "aasaḍi lenju" + ], + "august": [ + "srabĩ", + "srabĩ lenju" + ], + "september": [ + "bado", + "bado lenju" + ], + "october": [ + "dasara", + "dasara lenju" + ], + "november": [ + "divi", + "divi lenju" + ], + "december": [ + "pande", + "pande lenju" + ], + "monday": [ + "smba", + "smbara" + ], + "tuesday": [ + "manga", + "mangaḍa" + ], + "wednesday": [ + "puda", + "pudara" + ], + "thursday": [ + "laki", + "laki vara" + ], + "friday": [ + "sukru", + "sukru vara" + ], + "saturday": [ + "sani", + "sani vara" + ], + "sunday": [ + "aadi", + "aadi vara" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "ba", + "barsa" + ], + "month": [ + "le", + "lenju" + ], + "week": [ + "va", + "vara" + ], + "day": [ + "dina" + ], + "hour": [ + "be", + "belā", + "hr" + ], + "minute": [ + "min", + "miniṭ" + ], + "second": [ + "sek", + "sekenḍ" + ], + "relative-type": { + "0 day ago": [ + "inju" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "raaala" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "vie" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ky.py b/dateparser/data/date_translation_data/ky.py index 847110dab..dfda1138e 100644 --- a/dateparser/data/date_translation_data/ky.py +++ b/dateparser/data/date_translation_data/ky.py @@ -147,7 +147,7 @@ "былтыр" ], "in 1 day": [ - "эртеӊ" + "эртең" ], "in 1 month": [ "эмдиги айда" diff --git a/dateparser/data/date_translation_data/la.py b/dateparser/data/date_translation_data/la.py new file mode 100644 index 000000000..59a03349f --- /dev/null +++ b/dateparser/data/date_translation_data/la.py @@ -0,0 +1,115 @@ +info = { + "name": "la", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "hac minuta" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/lag.py b/dateparser/data/date_translation_data/lag.py index b27c0e556..de84e07ac 100644 --- a/dateparser/data/date_translation_data/lag.py +++ b/dateparser/data/date_translation_data/lag.py @@ -96,6 +96,7 @@ "sikʉ" ], "hour": [ + "hr", "sáa" ], "minute": [ diff --git a/dateparser/data/date_translation_data/lb.py b/dateparser/data/date_translation_data/lb.py index 18afe1be4..5430adcab 100644 --- a/dateparser/data/date_translation_data/lb.py +++ b/dateparser/data/date_translation_data/lb.py @@ -100,7 +100,8 @@ ], "hour": [ "st", - "stonn" + "stonn", + "stonnen" ], "minute": [ "min", diff --git a/dateparser/data/date_translation_data/lg.py b/dateparser/data/date_translation_data/lg.py index 9c62fc81a..9b570e4a3 100644 --- a/dateparser/data/date_translation_data/lg.py +++ b/dateparser/data/date_translation_data/lg.py @@ -96,6 +96,7 @@ "lunaku" ], "hour": [ + "hr", "saawa" ], "minute": [ diff --git a/dateparser/data/date_translation_data/lij.py b/dateparser/data/date_translation_data/lij.py new file mode 100644 index 000000000..3938fed1a --- /dev/null +++ b/dateparser/data/date_translation_data/lij.py @@ -0,0 +1,151 @@ +info = { + "name": "lij", + "date_order": "YMD", + "january": [ + "de zenâ" + ], + "february": [ + "de frevâ" + ], + "march": [ + "de marso" + ], + "april": [ + "d'arvî" + ], + "may": [ + "de mazzo" + ], + "june": [ + "de zugno" + ], + "july": [ + "de luggio" + ], + "august": [ + "d'agosto" + ], + "september": [ + "de settembre" + ], + "october": [ + "d'ottobre" + ], + "november": [ + "de novembre" + ], + "december": [ + "de dexembre" + ], + "monday": [ + "lunesdì" + ], + "tuesday": [ + "mätesdì" + ], + "wednesday": [ + "mäcordì" + ], + "thursday": [ + "zeuggia" + ], + "friday": [ + "venardì" + ], + "saturday": [ + "sabbo" + ], + "sunday": [ + "domenega" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/lkt.py b/dateparser/data/date_translation_data/lkt.py index 71e9586b6..640f6b9f0 100644 --- a/dateparser/data/date_translation_data/lkt.py +++ b/dateparser/data/date_translation_data/lkt.py @@ -1,6 +1,6 @@ info = { "name": "lkt", - "date_order": "YMD", + "date_order": "MDY", "january": [ "wiótheȟika wí" ], @@ -77,6 +77,7 @@ "aŋpétu" ], "hour": [ + "hr", "owápȟe" ], "minute": [ diff --git a/dateparser/data/date_translation_data/lmo.py b/dateparser/data/date_translation_data/lmo.py new file mode 100644 index 000000000..22fc9497a --- /dev/null +++ b/dateparser/data/date_translation_data/lmo.py @@ -0,0 +1,153 @@ +info = { + "name": "lmo", + "date_order": "YMD", + "january": [ + "sginer" + ], + "february": [ + "fevrer" + ], + "march": [ + "marz" + ], + "april": [ + "avril" + ], + "may": [ + "masg" + ], + "june": [ + "sgiugn" + ], + "july": [ + "luj" + ], + "august": [ + "avost" + ], + "september": [ + "setember" + ], + "october": [ + "otover" + ], + "november": [ + "november" + ], + "december": [ + "dicember" + ], + "monday": [ + "lundì" + ], + "tuesday": [ + "mardì" + ], + "wednesday": [ + "mercoldì" + ], + "thursday": [ + "sgiovedì" + ], + "friday": [ + "venerdì" + ], + "saturday": [ + "sabet" + ], + "sunday": [ + "domenega" + ], + "am": [ + "am", + "del matin" + ], + "pm": [ + "de sira", + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ln.py b/dateparser/data/date_translation_data/ln.py index 4e4de0a4c..ee1ad0349 100644 --- a/dateparser/data/date_translation_data/ln.py +++ b/dateparser/data/date_translation_data/ln.py @@ -96,6 +96,7 @@ "mokɔlɔ" ], "hour": [ + "hr", "ngonga" ], "minute": [ diff --git a/dateparser/data/date_translation_data/lo.py b/dateparser/data/date_translation_data/lo.py index ba6cfc897..b38d1bd9f 100644 --- a/dateparser/data/date_translation_data/lo.py +++ b/dateparser/data/date_translation_data/lo.py @@ -191,8 +191,8 @@ "ໃນອີກ (\\d+[.,]?\\d*) ຊົ່ວໂມງ" ], "in \\1 minute": [ - "(\\d+[.,]?\\d*) ໃນອີກ 0 ນາທີ", - "ໃນ (\\d+[.,]?\\d*) ນທ" + "ໃນ (\\d+[.,]?\\d*) ນທ", + "ໃນອີກ (\\d+[.,]?\\d*) ນາທີ" ], "in \\1 month": [ "ໃນອີກ (\\d+[.,]?\\d*) ດ", diff --git a/dateparser/data/date_translation_data/lrc.py b/dateparser/data/date_translation_data/lrc.py index ee432f5ee..05b341e79 100644 --- a/dateparser/data/date_translation_data/lrc.py +++ b/dateparser/data/date_translation_data/lrc.py @@ -77,6 +77,7 @@ "روٙز" ], "hour": [ + "hr", "ساأت" ], "minute": [ diff --git a/dateparser/data/date_translation_data/lt.py b/dateparser/data/date_translation_data/lt.py index 529a2dca3..e13638670 100644 --- a/dateparser/data/date_translation_data/lt.py +++ b/dateparser/data/date_translation_data/lt.py @@ -114,7 +114,8 @@ "hour": [ "h", "val", - "valanda" + "valanda", + "valandos" ], "minute": [ "min", diff --git a/dateparser/data/date_translation_data/lu.py b/dateparser/data/date_translation_data/lu.py index 62d10bba7..06d9a0d9b 100644 --- a/dateparser/data/date_translation_data/lu.py +++ b/dateparser/data/date_translation_data/lu.py @@ -96,7 +96,8 @@ "dituku" ], "hour": [ - "diba" + "diba", + "hr" ], "minute": [ "kasunsu" diff --git a/dateparser/data/date_translation_data/luo.py b/dateparser/data/date_translation_data/luo.py index 19798d9f7..a01a251e5 100644 --- a/dateparser/data/date_translation_data/luo.py +++ b/dateparser/data/date_translation_data/luo.py @@ -96,6 +96,7 @@ "chieng'" ], "hour": [ + "hr", "saa" ], "minute": [ diff --git a/dateparser/data/date_translation_data/luy.py b/dateparser/data/date_translation_data/luy.py index 5fc38b56e..1fbc67e44 100644 --- a/dateparser/data/date_translation_data/luy.py +++ b/dateparser/data/date_translation_data/luy.py @@ -95,6 +95,7 @@ "ridiku" ], "hour": [ + "hr", "isaa" ], "minute": [ diff --git a/dateparser/data/date_translation_data/lv.py b/dateparser/data/date_translation_data/lv.py index 20a6fbe5e..3c952fe59 100644 --- a/dateparser/data/date_translation_data/lv.py +++ b/dateparser/data/date_translation_data/lv.py @@ -127,39 +127,48 @@ "šajā minūtē" ], "0 month ago": [ + "šajā mēn", "šajā mēnesī" ], "0 second ago": [ "tagad" ], "0 week ago": [ + "šajā ned", "šajā nedēļā" ], "0 year ago": [ + "šajā g", "šajā gadā" ], "1 day ago": [ "vakar" ], "1 month ago": [ + "pag mēn", "pagājušajā mēnesī" ], "1 week ago": [ + "pag ned", "pagājušajā nedēļā" ], "1 year ago": [ + "pag gadā", "pagājušajā gadā" ], "in 1 day": [ "rīt" ], "in 1 month": [ + "nāk mēn", "nākamajā mēnesī" ], "in 1 week": [ + "nāk ned", "nākamajā nedēļā" ], "in 1 year": [ + "nāk gadā", "nākamajā gadā" ] }, diff --git a/dateparser/data/date_translation_data/mai.py b/dateparser/data/date_translation_data/mai.py new file mode 100644 index 000000000..1e4cade31 --- /dev/null +++ b/dateparser/data/date_translation_data/mai.py @@ -0,0 +1,222 @@ +info = { + "name": "mai", + "date_order": "DMY", + "january": [ + "जनवरी", + "जन॰" + ], + "february": [ + "फरवरी", + "फर॰", + "फ़र॰" + ], + "march": [ + "मार्च" + ], + "april": [ + "अप्रैल" + ], + "may": [ + "मई" + ], + "june": [ + "जून" + ], + "july": [ + "जुलाई", + "जुल॰" + ], + "august": [ + "अगस्त", + "अग॰" + ], + "september": [ + "सितंबर", + "सित॰" + ], + "october": [ + "अक्टूबर", + "अक्तूबर", + "अक्तू॰" + ], + "november": [ + "नवंबर", + "नव॰" + ], + "december": [ + "दिसंबर", + "दिस॰" + ], + "monday": [ + "सोम", + "सोम दिन" + ], + "tuesday": [ + "मंगल", + "मंगल दिन" + ], + "wednesday": [ + "बुध", + "बुध दिन" + ], + "thursday": [ + "गुरु", + "बृहस्पति दिन" + ], + "friday": [ + "शुक्र", + "शुक्र दिन" + ], + "saturday": [ + "शनि", + "शनि दिन" + ], + "sunday": [ + "रवि", + "रवि दिन" + ], + "am": [ + "पूर्वाह्न", + "भोर" + ], + "pm": [ + "अपराह्न", + "सांझ" + ], + "year": [ + "वर्ष" + ], + "month": [ + "महीना", + "मास" + ], + "week": [ + "सप्ताह" + ], + "day": [ + "दिन" + ], + "hour": [ + "hr", + "घंटा" + ], + "minute": [ + "मिनट" + ], + "second": [ + "सेकंड" + ], + "relative-type": { + "0 day ago": [ + "आजुक दिन" + ], + "0 hour ago": [ + "एहि घंटा" + ], + "0 minute ago": [ + "एहि मिनट" + ], + "0 month ago": [ + "एहि माह" + ], + "0 second ago": [ + "एहि समय" + ], + "0 week ago": [ + "एहि सप्ताह" + ], + "0 year ago": [ + "एहि बरख" + ], + "1 day ago": [ + "काल्हिक दिन", + "बीतल काल्हि" + ], + "1 month ago": [ + "बीतल माह" + ], + "1 week ago": [ + "बीतल सप्ताह" + ], + "1 year ago": [ + "बीतल बरख" + ], + "in 1 day": [ + "आबय वला काल्हि", + "काल्हिक दिन" + ], + "in 1 month": [ + "अगिला माह" + ], + "in 1 week": [ + "अगिला सप्ताह" + ], + "in 1 year": [ + "अगिला बरख" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) दिन मे", + "(\\d+[.,]?\\d*)दिन पहिले" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) घंटा पहिले" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) मिनट पहिले" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) माह पहिले", + "(\\d+[.,]?\\d*)माह पहिले" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) सेकेंड पहिले" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) सप्ताह पहिले" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) बरख पहिले", + "(\\d+[.,]?\\d*)बरख पहिले" + ], + "in \\1 day": [ + "(\\d+[.,]?\\d*) दिन मे" + ], + "in \\1 hour": [ + "(\\d+[.,]?\\d*) घंटा मे" + ], + "in \\1 minute": [ + "(\\d+[.,]?\\d*) मिनट मे" + ], + "in \\1 month": [ + "(\\d+[.,]?\\d*) माह मे", + "(\\d+[.,]?\\d*)माह मे" + ], + "in \\1 second": [ + "(\\d+[.,]?\\d*) सेकेंड मे" + ], + "in \\1 week": [ + "(\\d+[.,]?\\d*) सप्ताह मे" + ], + "in \\1 year": [ + "(\\d+[.,]?\\d*) बरख मे", + "(\\d+[.,]?\\d*)बरख मे" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/mas.py b/dateparser/data/date_translation_data/mas.py index 6efd2de13..6a2df5966 100644 --- a/dateparser/data/date_translation_data/mas.py +++ b/dateparser/data/date_translation_data/mas.py @@ -96,6 +96,7 @@ "ɛnkɔlɔ́ŋ" ], "hour": [ + "hr", "ɛ́sáâ" ], "minute": [ diff --git a/dateparser/data/date_translation_data/mdf.py b/dateparser/data/date_translation_data/mdf.py new file mode 100644 index 000000000..f716d4002 --- /dev/null +++ b/dateparser/data/date_translation_data/mdf.py @@ -0,0 +1,115 @@ +info = { + "name": "mdf", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/mer.py b/dateparser/data/date_translation_data/mer.py index 0901e1a47..617f649ab 100644 --- a/dateparser/data/date_translation_data/mer.py +++ b/dateparser/data/date_translation_data/mer.py @@ -95,6 +95,7 @@ "ntukũ" ], "hour": [ + "hr", "ĩthaa" ], "minute": [ diff --git a/dateparser/data/date_translation_data/mfe.py b/dateparser/data/date_translation_data/mfe.py index fc418155a..d84bf357a 100644 --- a/dateparser/data/date_translation_data/mfe.py +++ b/dateparser/data/date_translation_data/mfe.py @@ -93,6 +93,7 @@ "zour" ], "hour": [ + "hr", "ler" ], "minute": [ diff --git a/dateparser/data/date_translation_data/mg.py b/dateparser/data/date_translation_data/mg.py index 754beb34b..72b9ce371 100644 --- a/dateparser/data/date_translation_data/mg.py +++ b/dateparser/data/date_translation_data/mg.py @@ -95,6 +95,7 @@ "andro" ], "hour": [ + "hr", "ora" ], "minute": [ diff --git a/dateparser/data/date_translation_data/mgh.py b/dateparser/data/date_translation_data/mgh.py index e0dba84eb..573fc3b7a 100644 --- a/dateparser/data/date_translation_data/mgh.py +++ b/dateparser/data/date_translation_data/mgh.py @@ -96,6 +96,7 @@ "nihuku" ], "hour": [ + "hr", "isaa" ], "minute": [ diff --git a/dateparser/data/date_translation_data/mgo.py b/dateparser/data/date_translation_data/mgo.py index 0ff37bb27..2b9839939 100644 --- a/dateparser/data/date_translation_data/mgo.py +++ b/dateparser/data/date_translation_data/mgo.py @@ -78,7 +78,8 @@ "anəg" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser/data/date_translation_data/mi.py b/dateparser/data/date_translation_data/mi.py new file mode 100644 index 000000000..61c4508fe --- /dev/null +++ b/dateparser/data/date_translation_data/mi.py @@ -0,0 +1,191 @@ +info = { + "name": "mi", + "date_order": "DMY", + "january": [ + "hān", + "hānuere" + ], + "february": [ + "pēp", + "pēpuere" + ], + "march": [ + "māe", + "māehe" + ], + "april": [ + "āpe", + "āpereira", + "āperira" + ], + "may": [ + "mei" + ], + "june": [ + "hun", + "hune" + ], + "july": [ + "hūr", + "hūrae" + ], + "august": [ + "āku", + "ākuhata" + ], + "september": [ + "hep", + "hepetema" + ], + "october": [ + "oke", + "oketopa" + ], + "november": [ + "noe", + "noema" + ], + "december": [ + "tīh", + "tīhema" + ], + "monday": [ + "man", + "mane" + ], + "tuesday": [ + "tūr", + "tūrei" + ], + "wednesday": [ + "wen", + "wenerei" + ], + "thursday": [ + "tāi", + "tāite" + ], + "friday": [ + "par", + "paraire" + ], + "saturday": [ + "rāh", + "rāhoroi" + ], + "sunday": [ + "rāt", + "rātapu" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "t", + "tau" + ], + "month": [ + "m", + "marama" + ], + "week": [ + "w", + "wiki" + ], + "day": [ + "rā" + ], + "hour": [ + "haora", + "hr", + "hāora" + ], + "minute": [ + "men", + "meneti" + ], + "second": [ + "hēk", + "hēkona" + ], + "relative-type": { + "0 day ago": [ + "i tēnei rā" + ], + "0 hour ago": [ + "i tēnei haora" + ], + "0 minute ago": [ + "i tēnei meneti" + ], + "0 month ago": [ + "i tēnei m", + "i tēnei marama" + ], + "0 second ago": [ + "ināianei" + ], + "0 week ago": [ + "i tēnei w", + "i tēnei wiki" + ], + "0 year ago": [ + "i tēnei tau" + ], + "1 day ago": [ + "inanahi" + ], + "1 month ago": [ + "i tērā m", + "i tērā marama" + ], + "1 week ago": [ + "i tērā w", + "i tērā wiki" + ], + "1 year ago": [ + "i tērā tau" + ], + "in 1 day": [ + "āpōpō" + ], + "in 1 month": [ + "ā tērā m", + "ā tērā marama" + ], + "in 1 week": [ + "ā tērā w", + "ā tērā wiki" + ], + "in 1 year": [ + "ā tērā tau" + ] + }, + "relative-type-regex": { + "\\1 year ago": [ + "i te (\\d+[.,]?\\d*) tau", + "i te (\\d+[.,]?\\d*) tau i mua" + ], + "in \\1 year": [ + "ā te (\\d+[.,]?\\d*) tau" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/mic.py b/dateparser/data/date_translation_data/mic.py new file mode 100644 index 000000000..a7c5b2234 --- /dev/null +++ b/dateparser/data/date_translation_data/mic.py @@ -0,0 +1,115 @@ +info = { + "name": "mic", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/mk.py b/dateparser/data/date_translation_data/mk.py index 01762fa10..30b543e39 100644 --- a/dateparser/data/date_translation_data/mk.py +++ b/dateparser/data/date_translation_data/mk.py @@ -33,7 +33,7 @@ "август" ], "september": [ - "септ", + "сеп", "септември" ], "october": [ @@ -41,7 +41,7 @@ "октомври" ], "november": [ - "ноем", + "ное", "ноември" ], "december": [ @@ -53,7 +53,6 @@ "понеделник" ], "tuesday": [ - "вт", "вто", "вторник" ], @@ -78,12 +77,10 @@ "недела" ], "am": [ - "претпл", - "претпладне" + "претпл" ], "pm": [ - "попл", - "попладне" + "попл" ], "year": [ "год", @@ -94,14 +91,16 @@ "месец" ], "week": [ - "недела", - "сед" + "сед", + "седмица" ], "day": [ "ден" ], "hour": [ - "час" + "ч", + "час", + "часа" ], "minute": [ "мин", @@ -131,6 +130,7 @@ "оваа седмица" ], "0 year ago": [ + "оваа год", "оваа година" ], "1 day ago": [ @@ -143,7 +143,8 @@ "минатата седмица" ], "1 year ago": [ - "минатата година" + "лани", + "минатата год" ], "in 1 day": [ "утре" @@ -155,7 +156,8 @@ "следната седмица" ], "in 1 year": [ - "следната година" + "догодина", + "следната год" ] }, "relative-type-regex": { @@ -168,6 +170,7 @@ "пред (\\d+[.,]?\\d*) часа" ], "\\1 minute ago": [ + "пред (\\d+[.,]?\\d*) мин", "пред (\\d+[.,]?\\d*) минута", "пред (\\d+[.,]?\\d*) минути" ], @@ -176,6 +179,7 @@ "пред (\\d+[.,]?\\d*) месеци" ], "\\1 second ago": [ + "пред (\\d+[.,]?\\d*) сек", "пред (\\d+[.,]?\\d*) секунда", "пред (\\d+[.,]?\\d*) секунди" ], @@ -184,6 +188,7 @@ "пред (\\d+[.,]?\\d*) седмици" ], "\\1 year ago": [ + "пред (\\d+[.,]?\\d*) год", "пред (\\d+[.,]?\\d*) година", "пред (\\d+[.,]?\\d*) години" ], @@ -196,6 +201,7 @@ "за (\\d+[.,]?\\d*) часа" ], "in \\1 minute": [ + "за (\\d+[.,]?\\d*) мин", "за (\\d+[.,]?\\d*) минута", "за (\\d+[.,]?\\d*) минути" ], @@ -204,6 +210,7 @@ "за (\\d+[.,]?\\d*) месеци" ], "in \\1 second": [ + "за (\\d+[.,]?\\d*) сек", "за (\\d+[.,]?\\d*) секунда", "за (\\d+[.,]?\\d*) секунди" ], @@ -212,6 +219,7 @@ "за (\\d+[.,]?\\d*) седмици" ], "in \\1 year": [ + "за (\\d+[.,]?\\d*) год", "за (\\d+[.,]?\\d*) година", "за (\\d+[.,]?\\d*) години" ] diff --git a/dateparser/data/date_translation_data/mn-Mong.py b/dateparser/data/date_translation_data/mn-Mong.py new file mode 100644 index 000000000..57ddc461c --- /dev/null +++ b/dateparser/data/date_translation_data/mn-Mong.py @@ -0,0 +1,243 @@ +info = { + "name": "mn-Mong", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "mn-Mong-MN": { + "name": "mn-Mong-MN", + "january": [ + "1 ᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠨᠢᠭᠡᠳᠥᠭᠡᠷ ᠰᠠᠷ᠎ᠠ" + ], + "february": [ + "2 ᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠬᠣᠶᠠᠳᠣᠭᠠᠷ ᠰᠠᠷ ᠠ" + ], + "march": [ + "3᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠭᠣᠷᠪᠡᠳᠣᠭᠠᠷ ᠰᠠᠷ ᠠ" + ], + "april": [ + "4 ᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠳᠥᠷᠪᠡᠳᠥᠭᠡᠷ ᠰᠠᠷ᠎ᠠ" + ], + "may": [ + "5 ᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠲᠠᠪᠣᠳᠣᠭᠠᠷ ᠰᠠᠷ ᠠ" + ], + "june": [ + "6 ᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠵᠢᠷᠭᠣᠭᠠᠳᠣᠭᠠᠷ ᠰᠠᠷ᠎ᠠ" + ], + "july": [ + "7 ᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠲᠣᠯᠣᠭᠠᠳᠣᠭᠠᠷ ᠰᠠᠷ᠎ᠠ" + ], + "august": [ + "8 ᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "8᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠨᠠᠢᠮᠠᠳᠥᠭᠠᠷ ᠰᠠᠷ᠎ᠠ" + ], + "september": [ + "9 ᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠶᠢᠰᠥᠳᠥᠭᠡᠷ ᠰᠠᠷ᠎ᠠ" + ], + "october": [ + "10 ᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠠᠷᠪᠠᠳᠣᠭᠠᠷ ᠰᠠᠷ᠎ᠠ" + ], + "november": [ + "11 ᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "11᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠥᠭᠡᠷ ᠰᠠᠷ᠎ᠠ" + ], + "december": [ + "12 ᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "12᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠠᠷᠪᠠᠨ ᠬᠣᠶᠠᠳᠣᠭᠠᠷ ᠰᠠᠷ᠎ᠠ" + ], + "monday": [ + "ᠲᠠ", + "ᠳᠠ", + "ᠳᠠᠸᠠ" + ], + "tuesday": [ + "ᠮᠢᠠᠠᠮᠠᠷ", + "ᠮᠢᠭ" + ], + "wednesday": [ + "ᡀᠠ", + "ᡀᠠᠭᠪᠠ" + ], + "thursday": [ + "ᠫᠥᠷ", + "ᠫᠦᠷ", + "ᠫᠦᠷᠪᠦ" + ], + "friday": [ + "ᠪᠠ", + "ᠪᠠᠰᠠᠩ" + ], + "saturday": [ + "ᠪᠢᠮ", + "ᠪᠢᠮᠪᠠ" + ], + "sunday": [ + "ᠨᠢ", + "ᠨᠢᠮ᠎ᠠ" + ], + "am": [ + "ᠦ᠂ ᠥ" + ], + "pm": [ + "ᠦ᠂ ᠬᠣ" + ], + "year": [ + "ᠵᠢᠯ" + ], + "month": [ + "ᠰᠠᠷ ᠠ", + "ᠰᠡᠷ ᠠ" + ], + "week": [ + "7 ᠬᠣᠨᠣᠭ", + "ᠳᠣᠯᠣᠭ᠎ᠠ ᠬᠣᠨᠣᠭ" + ], + "day": [ + "ᠡᠳᠥᠷ" + ], + "hour": [ + "ᠴ", + "ᠴᠠᠭ" + ], + "minute": [ + "ᠮᠢᠨ", + "ᠮᠢᠨᠥ᠋ᠲ᠋ᠠ" + ], + "second": [ + "ᠰᠧᠻ", + "ᠰᠸᠻᠥ᠋ᠨ᠋ᠳᠡ" + ], + "relative-type": { + "0 day ago": [ + "ᠥᠨᠥᠳᠥᠷ" + ], + "1 day ago": [ + "ᠥᠴᠥᠬᠡᠳᠥᠷ" + ], + "in 1 day": [ + "ᠮᠠᠷᠭᠠᠰᠢ" + ] + } + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/mn.py b/dateparser/data/date_translation_data/mn.py index 32fc895d8..88499e4fc 100644 --- a/dateparser/data/date_translation_data/mn.py +++ b/dateparser/data/date_translation_data/mn.py @@ -23,11 +23,11 @@ ], "june": [ "6-р сар", - "зургадугаар сар" + "зургаадугаар сар" ], "july": [ "7-р сар", - "долдугаар сар" + "долоодугаар сар" ], "august": [ "8-р сар", @@ -90,7 +90,7 @@ "сар" ], "week": [ - "7х", + "7 хоног", "долоо хоног" ], "day": [ @@ -125,6 +125,7 @@ "одоо" ], "0 week ago": [ + "энэ 7 хоног", "энэ долоо хоног" ], "0 year ago": [ @@ -137,6 +138,7 @@ "өнгөрсөн сар" ], "1 week ago": [ + "өнгөрсөн 7 хоног", "өнгөрсөн долоо хоног" ], "1 year ago": [ @@ -149,6 +151,7 @@ "ирэх сар" ], "in 1 week": [ + "ирэх 7 хоног", "ирэх долоо хоног" ], "in 1 year": [ @@ -175,14 +178,14 @@ "(\\d+[.,]?\\d*) секундын өмнө" ], "\\1 week ago": [ - "(\\d+[.,]?\\d*) 7х-ийн өмнө" + "(\\d+[.,]?\\d*) 7 хоногийн өмнө", + "(\\d+[.,]?\\d*) долоо хоногийн өмнө" ], "\\1 year ago": [ "(\\d+[.,]?\\d*) жилийн өмнө" ], "in \\1 day": [ - "(\\d+[.,]?\\d*) өдрийн дараа", - "(\\d+[.,]?\\d*) өдөрт" + "(\\d+[.,]?\\d*) өдрийн дараа" ], "in \\1 hour": [ "(\\d+[.,]?\\d*) ц дараа", @@ -200,7 +203,8 @@ "(\\d+[.,]?\\d*) секундын дараа" ], "in \\1 week": [ - "(\\d+[.,]?\\d*) 7х-ийн дараа" + "(\\d+[.,]?\\d*) 7 хоногийн дараа", + "(\\d+[.,]?\\d*) долоо хоногийн дараа" ], "in \\1 year": [ "(\\d+[.,]?\\d*) жилийн дараа" diff --git a/dateparser/data/date_translation_data/mni-Beng.py b/dateparser/data/date_translation_data/mni-Beng.py new file mode 100644 index 000000000..755cd75f5 --- /dev/null +++ b/dateparser/data/date_translation_data/mni-Beng.py @@ -0,0 +1,168 @@ +info = { + "name": "mni-Beng", + "date_order": "DMY", + "january": [ + "জন", + "জনুৱারী", + "জানু", + "জানুৱারি" + ], + "february": [ + "ফেব্রু", + "ফেব্রুৱারি" + ], + "march": [ + "মার", + "মার্চ" + ], + "april": [ + "এপ্রি", + "এপ্রিল" + ], + "may": [ + "মে" + ], + "june": [ + "জুন" + ], + "july": [ + "জুলা", + "জুলাই" + ], + "august": [ + "আগ", + "ওগ", + "ওগষ্ট", + "‌ওগষ্ট" + ], + "september": [ + "সেপ্ট", + "সেপ্টেম্বর" + ], + "october": [ + "ওক্টো", + "ওক্টোবর" + ], + "november": [ + "নবেম্বর", + "নভে", + "নভেম্বর" + ], + "december": [ + "ডিসে", + "ডিসেম্বর" + ], + "monday": [ + "নিংথৌকাবা" + ], + "tuesday": [ + "লৈবাকপোকপা" + ], + "wednesday": [ + "য়ুমশকৈশা" + ], + "thursday": [ + "শগোলশেন" + ], + "friday": [ + "ইরাই" + ], + "saturday": [ + "থাংজ" + ], + "sunday": [ + "নোংমাইজিং" + ], + "am": [ + "এ এম", + "নুমাং" + ], + "pm": [ + "pm", + "পি এম" + ], + "year": [ + "চহী" + ], + "month": [ + "থা" + ], + "week": [ + "চয়োল" + ], + "day": [ + "নুমিৎ" + ], + "hour": [ + "hr", + "পুং" + ], + "minute": [ + "মিনট" + ], + "second": [ + "সেকেণ্ড" + ], + "relative-type": { + "0 day ago": [ + "ঙসি" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "কুমশি" + ], + "1 day ago": [ + "ঙরাং" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "হাকুম/ মমাংগী চহি" + ], + "in 1 day": [ + "হয়েং" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "মথং চহি" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/mni-Mtei.py b/dateparser/data/date_translation_data/mni-Mtei.py new file mode 100644 index 000000000..2165d8433 --- /dev/null +++ b/dateparser/data/date_translation_data/mni-Mtei.py @@ -0,0 +1,115 @@ +info = { + "name": "mni-Mtei", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/mni.py b/dateparser/data/date_translation_data/mni.py new file mode 100644 index 000000000..215e7228a --- /dev/null +++ b/dateparser/data/date_translation_data/mni.py @@ -0,0 +1,168 @@ +info = { + "name": "mni", + "date_order": "DMY", + "january": [ + "জন", + "জনুৱারী", + "জানু", + "জানুৱারি" + ], + "february": [ + "ফেব্রু", + "ফেব্রুৱারি" + ], + "march": [ + "মার", + "মার্চ" + ], + "april": [ + "এপ্রি", + "এপ্রিল" + ], + "may": [ + "মে" + ], + "june": [ + "জুন" + ], + "july": [ + "জুলা", + "জুলাই" + ], + "august": [ + "আগ", + "ওগ", + "ওগষ্ট", + "‌ওগষ্ট" + ], + "september": [ + "সেপ্ট", + "সেপ্টেম্বর" + ], + "october": [ + "ওক্টো", + "ওক্টোবর" + ], + "november": [ + "নবেম্বর", + "নভে", + "নভেম্বর" + ], + "december": [ + "ডিসে", + "ডিসেম্বর" + ], + "monday": [ + "নিংথৌকাবা" + ], + "tuesday": [ + "লৈবাকপোকপা" + ], + "wednesday": [ + "য়ুমশকৈশা" + ], + "thursday": [ + "শগোলশেন" + ], + "friday": [ + "ইরাই" + ], + "saturday": [ + "থাংজ" + ], + "sunday": [ + "নোংমাইজিং" + ], + "am": [ + "এ এম", + "নুমাং" + ], + "pm": [ + "pm", + "পি এম" + ], + "year": [ + "চহী" + ], + "month": [ + "থা" + ], + "week": [ + "চয়োল" + ], + "day": [ + "নুমিৎ" + ], + "hour": [ + "hr", + "পুং" + ], + "minute": [ + "মিনট" + ], + "second": [ + "সেকেণ্ড" + ], + "relative-type": { + "0 day ago": [ + "ঙসি" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "কুমশি" + ], + "1 day ago": [ + "ঙরাং" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "হাকুম/ মমাংগী চহি" + ], + "in 1 day": [ + "হয়েং" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "মথং চহি" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/moh.py b/dateparser/data/date_translation_data/moh.py new file mode 100644 index 000000000..ac9f36e10 --- /dev/null +++ b/dateparser/data/date_translation_data/moh.py @@ -0,0 +1,115 @@ +info = { + "name": "moh", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/mr.py b/dateparser/data/date_translation_data/mr.py index 1fecbd7c3..46e4598ae 100644 --- a/dateparser/data/date_translation_data/mr.py +++ b/dateparser/data/date_translation_data/mr.py @@ -74,24 +74,28 @@ "रविवार" ], "am": [ - "मपू" + "am" ], "pm": [ - "मउ" + "pm" ], "year": [ "वर्ष" ], "month": [ + "म", "महिना" ], "week": [ + "आठ", "आठवडा" ], "day": [ + "दि", "दिवस" ], "hour": [ + "ता", "तास" ], "minute": [ @@ -182,11 +186,15 @@ ], "in \\1 day": [ "(\\d+[.,]?\\d*) दिवसांमध्ये", - "(\\d+[.,]?\\d*) दिवसामध्ये" + "(\\d+[.,]?\\d*) दिवसामध्ये", + "येत्या (\\d+[.,]?\\d*) दिवसांमध्ये", + "येत्या (\\d+[.,]?\\d*) दिवसामध्ये" ], "in \\1 hour": [ "(\\d+[.,]?\\d*) तासांमध्ये", - "(\\d+[.,]?\\d*) तासामध्ये" + "(\\d+[.,]?\\d*) तासामध्ये", + "येत्या (\\d+[.,]?\\d*) तासांमध्ये", + "येत्या (\\d+[.,]?\\d*) तासामध्ये" ], "in \\1 minute": [ "(\\d+[.,]?\\d*) मिनि मध्ये", @@ -195,20 +203,27 @@ ], "in \\1 month": [ "(\\d+[.,]?\\d*) महिन्यांमध्ये", - "(\\d+[.,]?\\d*) महिन्यामध्ये" + "(\\d+[.,]?\\d*) महिन्यामध्ये", + "येत्या (\\d+[.,]?\\d*) महिन्यांमध्ये", + "येत्या (\\d+[.,]?\\d*) महिन्यामध्ये" ], "in \\1 second": [ "(\\d+[.,]?\\d*) से मध्ये", "(\\d+[.,]?\\d*) सेकंदांमध्ये", - "(\\d+[.,]?\\d*) सेकंदामध्ये" + "(\\d+[.,]?\\d*) सेकंदामध्ये", + "येत्या (\\d+[.,]?\\d*) से मध्ये" ], "in \\1 week": [ "(\\d+[.,]?\\d*) आठवड्यांमध्ये", - "(\\d+[.,]?\\d*) आठवड्यामध्ये" + "(\\d+[.,]?\\d*) आठवड्यामध्ये", + "येत्या (\\d+[.,]?\\d*) आठवड्यांमध्ये", + "येत्या (\\d+[.,]?\\d*) आठवड्यामध्ये" ], "in \\1 year": [ "(\\d+[.,]?\\d*) वर्षांमध्ये", - "(\\d+[.,]?\\d*) वर्षामध्ये" + "(\\d+[.,]?\\d*) वर्षामध्ये", + "येत्या (\\d+[.,]?\\d*) वर्षांमध्ये", + "येत्या (\\d+[.,]?\\d*) वर्षामध्ये" ] }, "locale_specific": {}, diff --git a/dateparser/data/date_translation_data/ms-Arab.py b/dateparser/data/date_translation_data/ms-Arab.py new file mode 100644 index 000000000..bc596338c --- /dev/null +++ b/dateparser/data/date_translation_data/ms-Arab.py @@ -0,0 +1,163 @@ +info = { + "name": "ms-Arab", + "date_order": "DMY", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) هاري لالو" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) جم لالو" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) مينيت لالو" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) بولن لالو" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) ساعت لالو" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) ميڠݢو لالو" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) تاهون لالو" + ], + "in \\1 day": [ + "دالم (\\d+[.,]?\\d*) هاري" + ], + "in \\1 hour": [ + "دالم (\\d+[.,]?\\d*) جم" + ], + "in \\1 minute": [ + "دالم (\\d+[.,]?\\d*) مينيت" + ], + "in \\1 month": [ + "دالم (\\d+[.,]?\\d*) بولن" + ], + "in \\1 second": [ + "دالم (\\d+[.,]?\\d*) ساعت" + ], + "in \\1 week": [ + "دالم (\\d+[.,]?\\d*) ميڠݢو" + ], + "in \\1 year": [ + "دالم (\\d+[.,]?\\d*) تاهون" + ] + }, + "locale_specific": { + "ms-Arab-BN": { + "name": "ms-Arab-BN" + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ms.py b/dateparser/data/date_translation_data/ms.py index b685742bc..2b1259054 100644 --- a/dateparser/data/date_translation_data/ms.py +++ b/dateparser/data/date_translation_data/ms.py @@ -123,8 +123,8 @@ "sekarang" ], "0 week ago": [ - "minggu ini", - "mng ini" + "mgu ini", + "minggu ini" ], "0 year ago": [ "tahun ini", @@ -139,8 +139,8 @@ "bulan lalu" ], "1 week ago": [ - "minggu lalu", - "mng lepas" + "mgu lepas", + "minggu lalu" ], "1 year ago": [ "tahun lalu", @@ -154,8 +154,8 @@ "bulan depan" ], "in 1 week": [ - "minggu depan", - "mng depan" + "mgu depan", + "minggu depan" ], "in 1 year": [ "tahun depan", @@ -213,7 +213,7 @@ "dlm (\\d+[.,]?\\d*) mgu" ], "in \\1 year": [ - "dalam (\\d+[.,]?\\d*) saat", + "dalam (\\d+[.,]?\\d*) tahun", "dalam (\\d+[.,]?\\d*) thn" ] }, @@ -221,6 +221,9 @@ "ms-BN": { "name": "ms-BN" }, + "ms-ID": { + "name": "ms-ID" + }, "ms-SG": { "name": "ms-SG" } diff --git a/dateparser/data/date_translation_data/mt.py b/dateparser/data/date_translation_data/mt.py index d11cb0580..d57085dc0 100644 --- a/dateparser/data/date_translation_data/mt.py +++ b/dateparser/data/date_translation_data/mt.py @@ -84,24 +84,31 @@ "pm" ], "year": [ - "sena" + "sena", + "sn" ], "month": [ "xahar" ], "week": [ - "ġimgħa" + "ġimgħa", + "ġm" ], "day": [ "jum" ], "hour": [ + "hr", "siegħa" ], "minute": [ + "m", + "min", "minuta" ], "second": [ + "s", + "sek", "sekonda" ], "relative-type": { @@ -109,16 +116,16 @@ "illum" ], "0 hour ago": [ - "this hour" + "din is-siegħa" ], "0 minute ago": [ - "this minute" + "din il-minuta" ], "0 month ago": [ "dan ix-xahar" ], "0 second ago": [ - "now" + "issa" ], "0 week ago": [ "din il-ġimgħa" @@ -127,7 +134,7 @@ "din is-sena" ], "1 day ago": [ - "ilbieraħ" + "lbieraħ" ], "1 month ago": [ "ix-xahar li għadda" @@ -136,7 +143,7 @@ "il-ġimgħa li għaddiet" ], "1 year ago": [ - "is-sena li għaddiet" + "is-sena l-oħra" ], "in 1 day": [ "għada" @@ -152,9 +159,52 @@ ] }, "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) ġurnata ilu" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) siegħa ilu" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) min ilu", + "(\\d+[.,]?\\d*) minuta ilu" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) xahar ilu" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) sek ilu", + "(\\d+[.,]?\\d*) sekonda ilu" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) ġimgħa ilu" + ], "\\1 year ago": [ - "(\\d+[.,]?\\d*) sena ilu", - "(\\d+[.,]?\\d*) snin ilu" + "(\\d+[.,]?\\d*) sena ilu" + ], + "in \\1 day": [ + "fi żmien (\\d+[.,]?\\d*) ġurnata oħra" + ], + "in \\1 hour": [ + "fi żmien (\\d+[.,]?\\d*) siegħa" + ], + "in \\1 minute": [ + "sa (\\d+[.,]?\\d*) min oħra", + "sa (\\d+[.,]?\\d*) minuta oħra" + ], + "in \\1 month": [ + "fi (\\d+[.,]?\\d*) xahar oħra", + "sa (\\d+[.,]?\\d*) xahar oħra" + ], + "in \\1 second": [ + "sa (\\d+[.,]?\\d*) sek oħra", + "sa (\\d+[.,]?\\d*) sekonda oħra" + ], + "in \\1 week": [ + "sa (\\d+[.,]?\\d*) ġimgħa oħra" + ], + "in \\1 year": [ + "fi żmien (\\d+[.,]?\\d*) sena oħra" ] }, "locale_specific": {}, diff --git a/dateparser/data/date_translation_data/mua.py b/dateparser/data/date_translation_data/mua.py index dd81cc556..ff42f2744 100644 --- a/dateparser/data/date_translation_data/mua.py +++ b/dateparser/data/date_translation_data/mua.py @@ -96,7 +96,8 @@ "zah'nane/ comme" ], "hour": [ - "cok comme" + "cok comme", + "hr" ], "minute": [ "cok comme ma laŋne" diff --git a/dateparser/data/date_translation_data/mus.py b/dateparser/data/date_translation_data/mus.py new file mode 100644 index 000000000..9dfc599c3 --- /dev/null +++ b/dateparser/data/date_translation_data/mus.py @@ -0,0 +1,151 @@ +info = { + "name": "mus", + "date_order": "YMD", + "january": [ + "rvfo cuse" + ], + "february": [ + "hotvle hvse" + ], + "march": [ + "tasahcuce" + ], + "april": [ + "tasahce rakko" + ], + "may": [ + "ke hvse" + ], + "june": [ + "kvco hvse" + ], + "july": [ + "hiyuce" + ], + "august": [ + "hiyo rakko" + ], + "september": [ + "otowoskuce" + ], + "october": [ + "otowoskv rakko" + ], + "november": [ + "ehole" + ], + "december": [ + "rvfo rakko" + ], + "monday": [ + "enhvteceskv" + ], + "tuesday": [ + "enhvteceskv enhvyvtke" + ], + "wednesday": [ + "ennvrkvpv" + ], + "thursday": [ + "ennvrkvpv enhvyvtke" + ], + "friday": [ + "nak okkoskv nettv" + ], + "saturday": [ + "nettv cakcuse" + ], + "sunday": [ + "nettv cako" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "ohrolope" + ], + "month": [ + "hvse" + ], + "week": [ + "nettv cako" + ], + "day": [ + "nettv" + ], + "hour": [ + "hr", + "hvses-vkerkv rakko" + ], + "minute": [ + "lvpkuce" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/myv.py b/dateparser/data/date_translation_data/myv.py new file mode 100644 index 000000000..49020fb78 --- /dev/null +++ b/dateparser/data/date_translation_data/myv.py @@ -0,0 +1,115 @@ +info = { + "name": "myv", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/naq.py b/dateparser/data/date_translation_data/naq.py index c69358061..b83e7b5ca 100644 --- a/dateparser/data/date_translation_data/naq.py +++ b/dateparser/data/date_translation_data/naq.py @@ -96,6 +96,7 @@ "tsees" ], "hour": [ + "hr", "iiri" ], "minute": [ diff --git a/dateparser/data/date_translation_data/nb.py b/dateparser/data/date_translation_data/nb.py index 921cfb084..8a782119d 100644 --- a/dateparser/data/date_translation_data/nb.py +++ b/dateparser/data/date_translation_data/nb.py @@ -103,6 +103,7 @@ "hour": [ "t", "time", + "timer", "timer" ], "minute": [ @@ -197,8 +198,7 @@ "for (\\d+[.,]?\\d*) uker siden" ], "\\1 year ago": [ - "for (\\d+[.,]?\\d*) år siden", - "–(\\d+[.,]?\\d*) år" + "for (\\d+[.,]?\\d*) år siden" ], "in \\1 day": [ "om (\\d+[.,]?\\d*) d", diff --git a/dateparser/data/date_translation_data/nd.py b/dateparser/data/date_translation_data/nd.py index c01d8dc7b..33e7f345d 100644 --- a/dateparser/data/date_translation_data/nd.py +++ b/dateparser/data/date_translation_data/nd.py @@ -96,6 +96,7 @@ "ilanga" ], "hour": [ + "hr", "ihola" ], "minute": [ diff --git a/dateparser/data/date_translation_data/ne.py b/dateparser/data/date_translation_data/ne.py index 1bc4fb6e5..0918c192f 100644 --- a/dateparser/data/date_translation_data/ne.py +++ b/dateparser/data/date_translation_data/ne.py @@ -14,7 +14,6 @@ "अप्रिल" ], "may": [ - "मई", "मे" ], "june": [ @@ -73,7 +72,6 @@ "अपराह्न" ], "year": [ - "बर्ष", "वर्ष" ], "month": [ @@ -99,7 +97,7 @@ "आज" ], "0 hour ago": [ - "यो घडीमा" + "यस घडीमा" ], "0 minute ago": [ "यही मिनेटमा" @@ -108,7 +106,7 @@ "यो महिना" ], "0 second ago": [ - "अब" + "अहिले" ], "0 week ago": [ "यो हप्ता" @@ -132,13 +130,14 @@ "भोलि" ], "in 1 month": [ - "अर्को महिना" + "अर्को महिना", + "आगामी महिना" ], "in 1 week": [ - "आउने हप्ता" + "आगामी हप्ता" ], "in 1 year": [ - "अर्को वर्ष" + "आगामी वर्ष" ] }, "relative-type-regex": { @@ -155,7 +154,7 @@ "(\\d+[.,]?\\d*) महिना पहिले" ], "\\1 second ago": [ - "(\\d+[.,]?\\d*) सेकेण्ड पहिले" + "(\\d+[.,]?\\d*) सेकेन्ड पहिले" ], "\\1 week ago": [ "(\\d+[.,]?\\d*) हप्ता पहिले" @@ -176,7 +175,7 @@ "(\\d+[.,]?\\d*) महिनामा" ], "in \\1 second": [ - "(\\d+[.,]?\\d*) सेकेण्डमा" + "(\\d+[.,]?\\d*) सेकेन्डमा" ], "in \\1 week": [ "(\\d+[.,]?\\d*) हप्तामा" diff --git a/dateparser/data/date_translation_data/nl.py b/dateparser/data/date_translation_data/nl.py index 4acb1f060..6e08ebc18 100644 --- a/dateparser/data/date_translation_data/nl.py +++ b/dateparser/data/date_translation_data/nl.py @@ -101,6 +101,7 @@ "dagen" ], "hour": [ + "u", "uur" ], "minute": [ diff --git a/dateparser/data/date_translation_data/nmg.py b/dateparser/data/date_translation_data/nmg.py index d1fd4de9b..8a35df35d 100644 --- a/dateparser/data/date_translation_data/nmg.py +++ b/dateparser/data/date_translation_data/nmg.py @@ -96,6 +96,7 @@ "duö" ], "hour": [ + "hr", "wulā" ], "minute": [ diff --git a/dateparser/data/date_translation_data/nn.py b/dateparser/data/date_translation_data/nn.py index a0a4bb6b7..192e76645 100644 --- a/dateparser/data/date_translation_data/nn.py +++ b/dateparser/data/date_translation_data/nn.py @@ -84,32 +84,39 @@ "søndag" ], "am": [ - "fm", - "formiddag" + "fm" ], "pm": [ - "em", - "ettermiddag" + "em" ], "year": [ "år" ], "month": [ + "md", "månad" ], "week": [ + "v", "veke" ], "day": [ + "d", "dag" ], "hour": [ + "t", + "timar", "time" ], "minute": [ + "m", + "min", "minutt" ], "second": [ + "s", + "sek", "sekund" ], "relative-type": { @@ -117,97 +124,114 @@ "i dag" ], "0 hour ago": [ - "this hour" + "denne timen" ], "0 minute ago": [ - "this minute" + "dette minuttet" ], "0 month ago": [ - "this month" + "denne md", + "denne månaden" ], "0 second ago": [ - "now" + "no" ], "0 week ago": [ - "this week" + "denne veka" ], "0 year ago": [ - "this year" + "i år" ], "1 day ago": [ "i går" ], "1 month ago": [ - "last month" + "førre md", + "førre månad" ], "1 week ago": [ - "last week" + "førre veke" ], "1 year ago": [ - "last year" + "i fjor" ], "in 1 day": [ "i morgon" ], "in 1 month": [ - "next month" + "neste md", + "neste månad" ], "in 1 week": [ - "next week" + "neste veke" ], "in 1 year": [ - "next year" + "neste år" ] }, "relative-type-regex": { "\\1 day ago": [ - "for (\\d+[.,]?\\d*) døgn siden" + "for (\\d+[.,]?\\d*) d sidan", + "for (\\d+[.,]?\\d*) døgn sidan", + "–(\\d+[.,]?\\d*) d" ], "\\1 hour ago": [ - "for (\\d+[.,]?\\d*) time siden", - "for (\\d+[.,]?\\d*) timer siden" + "for (\\d+[.,]?\\d*) t sidan", + "for (\\d+[.,]?\\d*) timar sidan", + "for (\\d+[.,]?\\d*) time sidan", + "–(\\d+[.,]?\\d*) t" ], "\\1 minute ago": [ - "for (\\d+[.,]?\\d*) minutt siden", - "for (\\d+[.,]?\\d*) minutter siden" + "for (\\d+[.,]?\\d*) min sidan", + "for (\\d+[.,]?\\d*) minutt sidan", + "–(\\d+[.,]?\\d*) min" ], "\\1 month ago": [ - "for (\\d+[.,]?\\d*) måned siden", - "for (\\d+[.,]?\\d*) måneder siden" + "for (\\d+[.,]?\\d*) md sidan", + "for (\\d+[.,]?\\d*) månad sidan", + "for (\\d+[.,]?\\d*) månadar sidan", + "–(\\d+[.,]?\\d*) md" ], "\\1 second ago": [ - "for (\\d+[.,]?\\d*) sekund siden", - "for (\\d+[.,]?\\d*) sekunder siden" + "for (\\d+[.,]?\\d*) sek sidan", + "for (\\d+[.,]?\\d*) sekund sidan", + "–(\\d+[.,]?\\d*) s" ], "\\1 week ago": [ - "for (\\d+[.,]?\\d*) uke siden", - "for (\\d+[.,]?\\d*) uker siden" + "for (\\d+[.,]?\\d*) v sidan", + "for (\\d+[.,]?\\d*) veke sidan", + "for (\\d+[.,]?\\d*) veker sidan", + "–(\\d+[.,]?\\d*) v" ], "\\1 year ago": [ - "for (\\d+[.,]?\\d*) år siden" + "for (\\d+[.,]?\\d*) år sidan" ], "in \\1 day": [ + "om (\\d+[.,]?\\d*) d", "om (\\d+[.,]?\\d*) døgn" ], "in \\1 hour": [ - "om (\\d+[.,]?\\d*) time", - "om (\\d+[.,]?\\d*) timer" + "om (\\d+[.,]?\\d*) t", + "om (\\d+[.,]?\\d*) timar", + "om (\\d+[.,]?\\d*) time" ], "in \\1 minute": [ - "om (\\d+[.,]?\\d*) minutt", - "om (\\d+[.,]?\\d*) minutter" + "om (\\d+[.,]?\\d*) min", + "om (\\d+[.,]?\\d*) minutt" ], "in \\1 month": [ - "om (\\d+[.,]?\\d*) måned", - "om (\\d+[.,]?\\d*) måneder" + "om (\\d+[.,]?\\d*) md", + "om (\\d+[.,]?\\d*) månad", + "om (\\d+[.,]?\\d*) månadar" ], "in \\1 second": [ - "om (\\d+[.,]?\\d*) sekund", - "om (\\d+[.,]?\\d*) sekunder" + "om (\\d+[.,]?\\d*) sek", + "om (\\d+[.,]?\\d*) sekund" ], "in \\1 week": [ - "om (\\d+[.,]?\\d*) uke", - "om (\\d+[.,]?\\d*) uker" + "om (\\d+[.,]?\\d*) v", + "om (\\d+[.,]?\\d*) veke", + "om (\\d+[.,]?\\d*) veker" ], "in \\1 year": [ "om (\\d+[.,]?\\d*) år" diff --git a/dateparser/data/date_translation_data/nnh.py b/dateparser/data/date_translation_data/nnh.py index 5f2284e67..eabe9cbbd 100644 --- a/dateparser/data/date_translation_data/nnh.py +++ b/dateparser/data/date_translation_data/nnh.py @@ -77,7 +77,8 @@ "lyɛ̌'" ], "hour": [ - "fʉ̀' nèm" + "fʉ̀' nèm", + "hr" ], "minute": [ "minute" diff --git a/dateparser/data/date_translation_data/no.py b/dateparser/data/date_translation_data/no.py new file mode 100644 index 000000000..b422f2011 --- /dev/null +++ b/dateparser/data/date_translation_data/no.py @@ -0,0 +1,247 @@ +info = { + "name": "no", + "date_order": "DMY", + "january": [ + "jan", + "januar" + ], + "february": [ + "feb", + "februar" + ], + "march": [ + "mar", + "mars" + ], + "april": [ + "apr", + "april" + ], + "may": [ + "mai" + ], + "june": [ + "jun", + "juni" + ], + "july": [ + "jul", + "juli" + ], + "august": [ + "aug", + "august" + ], + "september": [ + "sep", + "september" + ], + "october": [ + "okt", + "oktober" + ], + "november": [ + "nov", + "november" + ], + "december": [ + "des", + "desember" + ], + "monday": [ + "man", + "mandag" + ], + "tuesday": [ + "tir", + "tirsdag" + ], + "wednesday": [ + "ons", + "onsdag" + ], + "thursday": [ + "tor", + "torsdag" + ], + "friday": [ + "fre", + "fredag" + ], + "saturday": [ + "lør", + "lørdag" + ], + "sunday": [ + "søn", + "søndag" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "år" + ], + "month": [ + "md", + "mnd", + "måned" + ], + "week": [ + "u", + "uke" + ], + "day": [ + "d", + "dag" + ], + "hour": [ + "t", + "time", + "timer" + ], + "minute": [ + "m", + "min", + "minutt" + ], + "second": [ + "s", + "sek", + "sekund" + ], + "relative-type": { + "0 day ago": [ + "i dag" + ], + "0 hour ago": [ + "denne timen" + ], + "0 minute ago": [ + "dette minuttet" + ], + "0 month ago": [ + "denne md", + "denne måneden" + ], + "0 second ago": [ + "nå" + ], + "0 week ago": [ + "denne uken" + ], + "0 year ago": [ + "i år" + ], + "1 day ago": [ + "i går" + ], + "1 month ago": [ + "forrige md", + "forrige måned" + ], + "1 week ago": [ + "forrige uke" + ], + "1 year ago": [ + "i fjor" + ], + "in 1 day": [ + "i morgen" + ], + "in 1 month": [ + "neste md", + "neste måned" + ], + "in 1 week": [ + "neste uke" + ], + "in 1 year": [ + "neste år" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "for (\\d+[.,]?\\d*) d siden", + "for (\\d+[.,]?\\d*) døgn siden" + ], + "\\1 hour ago": [ + "for (\\d+[.,]?\\d*) t siden", + "for (\\d+[.,]?\\d*) time siden", + "for (\\d+[.,]?\\d*) timer siden" + ], + "\\1 minute ago": [ + "for (\\d+[.,]?\\d*) min siden", + "for (\\d+[.,]?\\d*) minutt siden", + "for (\\d+[.,]?\\d*) minutter siden" + ], + "\\1 month ago": [ + "for (\\d+[.,]?\\d*) md siden", + "for (\\d+[.,]?\\d*) måned siden", + "for (\\d+[.,]?\\d*) måneder siden" + ], + "\\1 second ago": [ + "for (\\d+[.,]?\\d*) sek siden", + "for (\\d+[.,]?\\d*) sekund siden", + "for (\\d+[.,]?\\d*) sekunder siden" + ], + "\\1 week ago": [ + "for (\\d+[.,]?\\d*) u siden", + "for (\\d+[.,]?\\d*) uke siden", + "for (\\d+[.,]?\\d*) uker siden" + ], + "\\1 year ago": [ + "for (\\d+[.,]?\\d*) år siden" + ], + "in \\1 day": [ + "om (\\d+[.,]?\\d*) d", + "om (\\d+[.,]?\\d*) døgn" + ], + "in \\1 hour": [ + "om (\\d+[.,]?\\d*) t", + "om (\\d+[.,]?\\d*) time", + "om (\\d+[.,]?\\d*) timer" + ], + "in \\1 minute": [ + "om (\\d+[.,]?\\d*) min", + "om (\\d+[.,]?\\d*) minutt", + "om (\\d+[.,]?\\d*) minutter" + ], + "in \\1 month": [ + "om (\\d+[.,]?\\d*) md", + "om (\\d+[.,]?\\d*) måned", + "om (\\d+[.,]?\\d*) måneder" + ], + "in \\1 second": [ + "om (\\d+[.,]?\\d*) sek", + "om (\\d+[.,]?\\d*) sekund", + "om (\\d+[.,]?\\d*) sekunder" + ], + "in \\1 week": [ + "om (\\d+[.,]?\\d*) u", + "om (\\d+[.,]?\\d*) uke", + "om (\\d+[.,]?\\d*) uker" + ], + "in \\1 year": [ + "om (\\d+[.,]?\\d*) år" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/nqo.py b/dateparser/data/date_translation_data/nqo.py new file mode 100644 index 000000000..4a3d999ca --- /dev/null +++ b/dateparser/data/date_translation_data/nqo.py @@ -0,0 +1,169 @@ +info = { + "name": "nqo", + "date_order": "YMD", + "january": [ + "ߓߌ߲ߠ", + "ߓߌ߲ߠߊߥߎߟߋ߲" + ], + "february": [ + "ߞߏ߲ߞ", + "ߞߏ߲ߞߏߜߍ" + ], + "march": [ + "ߕߙߊ", + "ߕߙߊߓߊ" + ], + "april": [ + "ߞߏ߲ߘ", + "ߞߏ߲ߞߏߘߌ߬ߓߌ" + ], + "may": [ + "ߘߓߊ߬ߕ", + "ߘߓߊ߬ߕߊ" + ], + "june": [ + "ߥߊ߬ߛ", + "ߥߊ߬ߛߌ߬ߥߙߊ" + ], + "july": [ + "ߞߊ߬ߙ", + "ߞߊ߬ߙߌߝߐ߭" + ], + "august": [ + "ߘߓߊ߬ߓ", + "ߘߓߊ߬ߓߌߟߊ" + ], + "september": [ + "ߕߎߟߊߝߌ߲" + ], + "october": [ + "ߞߏ߲ߓ", + "ߞߏ߲ߓߌߕߌ߮" + ], + "november": [ + "ߣߍߣ", + "ߣߍߣߍߓߊ" + ], + "december": [ + "ߞߏߟ", + "ߞߏߟߌ߲ߞߏߟߌ߲" + ], + "monday": [ + "ߞߐ߬ߓ", + "ߞߐ߬ߓߊ߬ߟߏ߲" + ], + "tuesday": [ + "ߞߐ߬ߟ", + "ߞߐ߬ߟߏ߲" + ], + "wednesday": [ + "ߞߎߣ", + "ߞߎߣߎ߲ߟߏ߲" + ], + "thursday": [ + "ߓߌߟ", + "ߓߌߟߏ߲" + ], + "friday": [ + "ߛߌ߬ߣ", + "ߛߌ߬ߣߌ߲߬ߟߏ߲" + ], + "saturday": [ + "ߞߍ߲ߘ", + "ߞߍ߲ߘߍߟߏ߲" + ], + "sunday": [ + "ߞߊ߯ߙ", + "ߞߊ߯ߙߌߟߏ߲" + ], + "am": [ + "ߛ" + ], + "pm": [ + "ߥ" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "ߕߎ߬ߡߊ߬ߙߋ߲" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/nr.py b/dateparser/data/date_translation_data/nr.py new file mode 100644 index 000000000..013e3996e --- /dev/null +++ b/dateparser/data/date_translation_data/nr.py @@ -0,0 +1,115 @@ +info = { + "name": "nr", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/nso.py b/dateparser/data/date_translation_data/nso.py new file mode 100644 index 000000000..8c73356a6 --- /dev/null +++ b/dateparser/data/date_translation_data/nso.py @@ -0,0 +1,168 @@ +info = { + "name": "nso", + "date_order": "YMD", + "january": [ + "phere", + "pherekgong" + ], + "february": [ + "dibo", + "dibokwane" + ], + "march": [ + "hlak", + "hlakola" + ], + "april": [ + "mora", + "moranang" + ], + "may": [ + "mopi", + "mopitlo" + ], + "june": [ + "phupu" + ], + "july": [ + "mose", + "mosegemanye" + ], + "august": [ + "phato" + ], + "september": [ + "lewe", + "lewedi" + ], + "october": [ + "dipha", + "diphalane" + ], + "november": [ + "diba", + "dibatsela" + ], + "december": [ + "manth", + "manthole" + ], + "monday": [ + "mos", + "musopologo" + ], + "tuesday": [ + "bed", + "labobedi" + ], + "wednesday": [ + "laboraro", + "rar" + ], + "thursday": [ + "labone", + "ne" + ], + "friday": [ + "hla", + "labohlano" + ], + "saturday": [ + "mok", + "mokibelo" + ], + "sunday": [ + "lam", + "lamorena" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/nus.py b/dateparser/data/date_translation_data/nus.py index 8910752c5..4187fc37a 100644 --- a/dateparser/data/date_translation_data/nus.py +++ b/dateparser/data/date_translation_data/nus.py @@ -93,6 +93,7 @@ "cäŋ" ], "hour": [ + "hr", "thaak" ], "minute": [ diff --git a/dateparser/data/date_translation_data/nv.py b/dateparser/data/date_translation_data/nv.py new file mode 100644 index 000000000..c6834f181 --- /dev/null +++ b/dateparser/data/date_translation_data/nv.py @@ -0,0 +1,115 @@ +info = { + "name": "nv", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ny.py b/dateparser/data/date_translation_data/ny.py new file mode 100644 index 000000000..8c4d4a017 --- /dev/null +++ b/dateparser/data/date_translation_data/ny.py @@ -0,0 +1,115 @@ +info = { + "name": "ny", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/nyn.py b/dateparser/data/date_translation_data/nyn.py index dbd3301ce..8b4208b94 100644 --- a/dateparser/data/date_translation_data/nyn.py +++ b/dateparser/data/date_translation_data/nyn.py @@ -96,6 +96,7 @@ "eizooba" ], "hour": [ + "hr", "shaaha" ], "minute": [ diff --git a/dateparser/data/date_translation_data/oc.py b/dateparser/data/date_translation_data/oc.py new file mode 100644 index 000000000..f86c2be55 --- /dev/null +++ b/dateparser/data/date_translation_data/oc.py @@ -0,0 +1,155 @@ +info = { + "name": "oc", + "date_order": "YMD", + "january": [ + "de genièr" + ], + "february": [ + "de febrièr" + ], + "march": [ + "de març" + ], + "april": [ + "d'abril" + ], + "may": [ + "de mai" + ], + "june": [ + "de junh" + ], + "july": [ + "de julhet" + ], + "august": [ + "d'agost" + ], + "september": [ + "de setembre" + ], + "october": [ + "d'octòbre" + ], + "november": [ + "de novembre" + ], + "december": [ + "de decembre" + ], + "monday": [ + "diluns" + ], + "tuesday": [ + "dimars" + ], + "wednesday": [ + "dimècres" + ], + "thursday": [ + "dijòus" + ], + "friday": [ + "divendres" + ], + "saturday": [ + "dissabte" + ], + "sunday": [ + "dimenge" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "oc-ES": { + "name": "oc-ES" + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/om.py b/dateparser/data/date_translation_data/om.py index c4af00c3f..ffcd120b9 100644 --- a/dateparser/data/date_translation_data/om.py +++ b/dateparser/data/date_translation_data/om.py @@ -96,7 +96,8 @@ "day" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser/data/date_translation_data/or.py b/dateparser/data/date_translation_data/or.py index 0c190e96c..ef6a682bf 100644 --- a/dateparser/data/date_translation_data/or.py +++ b/dateparser/data/date_translation_data/or.py @@ -1,6 +1,6 @@ info = { "name": "or", - "date_order": "DMY", + "date_order": "MDY", "january": [ "ଜାନୁଆରୀ" ], @@ -66,77 +66,141 @@ "ରବିବାର" ], "am": [ - "am" + "am", + "ପୂର୍ବାହ୍ନ" ], "pm": [ - "pm" + "pm", + "ଅପରାହ୍ନ" ], "year": [ - "year" + "ବ", + "ବର୍ଷ" ], "month": [ - "month" + "ମା", + "ମାସ" ], "week": [ - "week" + "ସ", + "ସପ୍ତାହ" ], "day": [ - "day" + "ଦିନ" ], "hour": [ - "hour" + "ଘ", + "ଘଣ୍ଟା" ], "minute": [ - "minute" + "ମି", + "ମିନିଟ୍" ], "second": [ - "second" + "ସେ", + "ସେକେଣ୍ଡ୍" ], "relative-type": { "0 day ago": [ - "today" + "ଆଜି" ], "0 hour ago": [ - "this hour" + "ଏହି ଘଣ୍ଟା" ], "0 minute ago": [ - "this minute" + "ଏହି ମିନିଟ୍" ], "0 month ago": [ - "this month" + "ଏହି ମାସ" ], "0 second ago": [ - "now" + "ବର୍ତ୍ତମାନ" ], "0 week ago": [ - "this week" + "ଏହି ସପ୍ତାହ" ], "0 year ago": [ - "this year" + "ଏହି ବର୍ଷ" ], "1 day ago": [ - "yesterday" + "ଗତକାଲି" ], "1 month ago": [ - "last month" + "ଗତ ମାସ" ], "1 week ago": [ - "last week" + "ଗତ ସପ୍ତାହ" ], "1 year ago": [ - "last year" + "ଗତ ବର୍ଷ" ], "in 1 day": [ - "tomorrow" + "ଆସନ୍ତାକାଲି" ], "in 1 month": [ - "next month" + "ଆଗାମୀ ମାସ" ], "in 1 week": [ - "next week" + "ଆଗାମୀ ସପ୍ତାହ" ], "in 1 year": [ - "next year" + "ଆଗାମୀ ବର୍ଷ" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) ଦିନ ପୂର୍ବେ" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) ଘ ପୂର୍ବେ", + "(\\d+[.,]?\\d*) ଘଣ୍ଟା ପୂର୍ବେ" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) ମି ପୂର୍ବେ", + "(\\d+[.,]?\\d*) ମିନିଟ୍ ପୂର୍ବେ" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) ମା ପୂର୍ବେ", + "(\\d+[.,]?\\d*) ମାସ ପୂର୍ବେ" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) ସେ ପୂର୍ବେ", + "(\\d+[.,]?\\d*) ସେକେଣ୍ଡ ପୂର୍ବେ" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) ସପ୍ତା ପୂର୍ବେ", + "(\\d+[.,]?\\d*) ସପ୍ତାହ ପୂର୍ବେ" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) ବ ପୂର୍ବେ", + "(\\d+[.,]?\\d*) ବର୍ଷ ପୂର୍ବେ" + ], + "in \\1 day": [ + "(\\d+[.,]?\\d*) ଦିନରେ" + ], + "in \\1 hour": [ + "(\\d+[.,]?\\d*) ଘ ରେ", + "(\\d+[.,]?\\d*) ଘଣ୍ଟାରେ" + ], + "in \\1 minute": [ + "(\\d+[.,]?\\d*) ମି ରେ", + "(\\d+[.,]?\\d*) ମିନିଟ୍‌‌ରେ" + ], + "in \\1 month": [ + "(\\d+[.,]?\\d*) ମା ରେ", + "(\\d+[.,]?\\d*) ମାସରେ" + ], + "in \\1 second": [ + "(\\d+[.,]?\\d*) ସେ ରେ", + "(\\d+[.,]?\\d*) ସେକେଣ୍ଡରେ" + ], + "in \\1 week": [ + "(\\d+[.,]?\\d*) ସପ୍ତା ରେ", + "(\\d+[.,]?\\d*) ସପ୍ତାହରେ" + ], + "in \\1 year": [ + "(\\d+[.,]?\\d*) ବ ରେ", + "(\\d+[.,]?\\d*) ବର୍ଷରେ" ] }, "locale_specific": {}, diff --git a/dateparser/data/date_translation_data/os.py b/dateparser/data/date_translation_data/os.py index 62ff4867e..3a463ffff 100644 --- a/dateparser/data/date_translation_data/os.py +++ b/dateparser/data/date_translation_data/os.py @@ -111,7 +111,8 @@ "бон" ], "hour": [ - "сахат" + "сахат", + "сахаты" ], "minute": [ "минут" diff --git a/dateparser/data/date_translation_data/osa.py b/dateparser/data/date_translation_data/osa.py new file mode 100644 index 000000000..2074de86b --- /dev/null +++ b/dateparser/data/date_translation_data/osa.py @@ -0,0 +1,163 @@ +info = { + "name": "osa", + "date_order": "YMD", + "january": [ + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓬𐓘𐓡𐓛͘𐓧𐓟", + "𐓬𐓘𐓡𐓛͘𐓧𐓟" + ], + "february": [ + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓷𐓟𐓵𐓪͘𐓬𐓘", + "𐓵𐓪͘𐓬𐓘" + ], + "march": [ + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓷𐓟𐓵𐓘𐓜𐓣", + "𐓵𐓘𐓜𐓣" + ], + "april": [ + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓷𐓟𐓰𐓪𐓬𐓘", + "𐓰𐓪𐓬𐓘" + ], + "may": [ + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓷𐓟𐓮𐓘𐓰𐓘", + "𐓮𐓘𐓰𐓘" + ], + "june": [ + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓷𐓟𐓯𐓘𐓬𐓟", + "𐓯𐓘𐓬𐓟" + ], + "july": [ + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓬𐓟𐓵𐓪͘𐓬𐓘", + "𐓬𐓟𐓵𐓪͘𐓬𐓘" + ], + "august": [ + "𐓤𐓣𐓟𐓰𐓪𐓬𐓘", + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓤𐓣𐓟𐓰𐓪𐓬𐓘" + ], + "september": [ + "𐓧𐓟𐓜𐓛𐓲𐓟𐓷𐓣͘𐓤𐓟", + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓧𐓟𐓜𐓛𐓲𐓟𐓷𐓣͘𐓤𐓟" + ], + "october": [ + "𐓧𐓟𐓜𐓛", + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓧𐓟𐓜𐓛" + ], + "november": [ + "𐓘𐓧𐓣 𐓷𐓣͘𐓸𐓲𐓣", + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓘𐓧𐓣 𐓷𐓣͘𐓸𐓲𐓣" + ], + "december": [ + "𐓘𐓧𐓣 𐓵𐓪͘𐓬𐓘", + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓘𐓧𐓣 𐓵𐓪͘𐓬𐓘" + ], + "monday": [ + "𐓡𐓘͘𐓬𐓘 𐓬𐓘𐓡𐓛͘𐓧𐓣" + ], + "tuesday": [ + "𐓡𐓘͘𐓬𐓘 𐓷𐓟𐓵𐓪͘𐓬𐓘" + ], + "wednesday": [ + "𐓡𐓘͘𐓬𐓘 𐓷𐓟𐓵𐓘𐓜𐓣" + ], + "thursday": [ + "𐓡𐓘͘𐓬𐓘 𐓷𐓟𐓰𐓪𐓬𐓘" + ], + "friday": [ + "𐓡𐓘͘𐓬𐓘 𐓰𐓘 𐓵𐓘𐓲𐓘 𐓻𐓣͘" + ], + "saturday": [ + "𐓡𐓘͘𐓬𐓘 𐓪𐓤𐓘𐓸𐓟 𐓣͘𐓤𐓟" + ], + "sunday": [ + "𐓡𐓘͘𐓬𐓘 𐓷𐓘𐓤𐓘͘𐓰𐓘𐓤𐓣" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "𐓪𐓨𐓚𐓤𐓘" + ], + "month": [ + "𐓨𐓣͘𐓪͘𐓬𐓘" + ], + "week": [ + "𐓡𐓘͘𐓬𐓘 𐓷𐓘𐓤𐓘͘𐓰𐓘𐓤𐓣" + ], + "day": [ + "𐓡𐓘͘𐓬𐓘" + ], + "hour": [ + "hr", + "𐓨𐓣𐓪𐓵𐓘𐓤𐓟 𐓪𐓰𐓘𐓩𐓘͘" + ], + "minute": [ + "𐓰𐓘𐓲𐓟 𐓤𐓯𐓣𐓵𐓟" + ], + "second": [ + "𐓰𐓘𐓲𐓟 𐓤𐓯𐓣𐓵𐓟 𐓻𐓣͘" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/pa-Arab.py b/dateparser/data/date_translation_data/pa-Arab.py index 542582910..34238284a 100644 --- a/dateparser/data/date_translation_data/pa-Arab.py +++ b/dateparser/data/date_translation_data/pa-Arab.py @@ -77,6 +77,7 @@ "دئن" ], "hour": [ + "hr", "گھنٹا" ], "minute": [ diff --git a/dateparser/data/date_translation_data/pa-Guru.py b/dateparser/data/date_translation_data/pa-Guru.py index 4b8d6ccc8..e7b95f20e 100644 --- a/dateparser/data/date_translation_data/pa-Guru.py +++ b/dateparser/data/date_translation_data/pa-Guru.py @@ -94,7 +94,8 @@ ], "hour": [ "ਘੰ", - "ਘੰਟਾ" + "ਘੰਟਾ", + "ਘੰਟੇ" ], "minute": [ "ਮਿੰਟ" diff --git a/dateparser/data/date_translation_data/pa.py b/dateparser/data/date_translation_data/pa.py index 60a6425b2..a3f457d50 100644 --- a/dateparser/data/date_translation_data/pa.py +++ b/dateparser/data/date_translation_data/pa.py @@ -94,7 +94,8 @@ ], "hour": [ "ਘੰ", - "ਘੰਟਾ" + "ਘੰਟਾ", + "ਘੰਟੇ" ], "minute": [ "ਮਿੰਟ" diff --git a/dateparser/data/date_translation_data/pap.py b/dateparser/data/date_translation_data/pap.py new file mode 100644 index 000000000..ed8407a2a --- /dev/null +++ b/dateparser/data/date_translation_data/pap.py @@ -0,0 +1,155 @@ +info = { + "name": "pap", + "date_order": "YMD", + "january": [ + "yanüari" + ], + "february": [ + "febrüari" + ], + "march": [ + "mart" + ], + "april": [ + "aprel" + ], + "may": [ + "mei" + ], + "june": [ + "yüni" + ], + "july": [ + "yüli" + ], + "august": [ + "ougùstùs" + ], + "september": [ + "sèptèmber" + ], + "october": [ + "òktober" + ], + "november": [ + "novèmber" + ], + "december": [ + "desèmber" + ], + "monday": [ + "djaluna" + ], + "tuesday": [ + "djamars" + ], + "wednesday": [ + "djarason" + ], + "thursday": [ + "djaweps" + ], + "friday": [ + "djabièrnè" + ], + "saturday": [ + "djasabra" + ], + "sunday": [ + "djadumingu" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "pap-AW": { + "name": "pap-AW" + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/pcm.py b/dateparser/data/date_translation_data/pcm.py new file mode 100644 index 000000000..3e4f09930 --- /dev/null +++ b/dateparser/data/date_translation_data/pcm.py @@ -0,0 +1,217 @@ +info = { + "name": "pcm", + "date_order": "DMY", + "january": [ + "jén", + "jénúári" + ], + "february": [ + "fẹ́b", + "fẹ́búári" + ], + "march": [ + "mach" + ], + "april": [ + "épr", + "éprel" + ], + "may": [ + "mee" + ], + "june": [ + "jun" + ], + "july": [ + "jul", + "julai" + ], + "august": [ + "ọgọ", + "ọgọst", + "ọ́gọ" + ], + "september": [ + "sẹp", + "sẹptẹ́mba" + ], + "october": [ + "ọkt", + "ọktóba" + ], + "november": [ + "nọv", + "nọvẹ́mba" + ], + "december": [ + "dis", + "disẹ́mba" + ], + "monday": [ + "mọ́n", + "mọ́ndè" + ], + "tuesday": [ + "tiú", + "tiúzdè" + ], + "wednesday": [ + "wẹ́n", + "wẹ́nẹ́zdè" + ], + "thursday": [ + "tọ́z", + "tọ́zdè" + ], + "friday": [ + "fraí", + "fraídè" + ], + "saturday": [ + "sát", + "sátọdè" + ], + "sunday": [ + "sọ́n", + "sọ́ndè" + ], + "am": [ + "am", + "fm", + "fọ mọ́nin" + ], + "pm": [ + "fi", + "fọ ívnin", + "pm" + ], + "year": [ + "yiẹ" + ], + "month": [ + "mọnt" + ], + "week": [ + "wik" + ], + "day": [ + "dè" + ], + "hour": [ + "awa", + "áwa-dẹm" + ], + "minute": [ + "mínit" + ], + "second": [ + "sẹ́kọn" + ], + "relative-type": { + "0 day ago": [ + "todè" + ], + "0 hour ago": [ + "dís áwa" + ], + "0 minute ago": [ + "dís mínit" + ], + "0 month ago": [ + "dís mọnt" + ], + "0 second ago": [ + "nau" + ], + "0 week ago": [ + "dís wik" + ], + "0 year ago": [ + "dís yiẹ" + ], + "1 day ago": [ + "yẹ́stadè" + ], + "1 month ago": [ + "lást mọnt" + ], + "1 week ago": [ + "lást wik" + ], + "1 year ago": [ + "lást yiẹ" + ], + "in 1 day": [ + "tumọ́ro" + ], + "in 1 month": [ + "nẹ́st mọnt" + ], + "in 1 week": [ + "nẹ́st wik" + ], + "in 1 year": [ + "nẹ́st yiẹ" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) dè wé dọ́n pas" + ], + "\\1 hour ago": [ + "fọ (\\d+[.,]?\\d*) áwa wé de kọm", + "(\\d+[.,]?\\d*) áwa wé dọ́n pas" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) mínit wé dọ́n pas" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) mọnt wé dọ́n pas" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) sẹ́kọn wé dọ́n pas" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) wik wé dọ́n pas" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) yiẹ wé dọ́n pas" + ], + "in \\1 day": [ + "fọ (\\d+[.,]?\\d*)dè wé de kọm" + ], + "in \\1 hour": [ + "fọ (\\d+[.,]?\\d*) áwa wé de kọm" + ], + "in \\1 minute": [ + "fọ (\\d+[.,]?\\d*) mínit wé de kọm" + ], + "in \\1 month": [ + "fọ (\\d+[.,]?\\d*)mọnt wé de kọm" + ], + "in \\1 second": [ + "fọ (\\d+[.,]?\\d*) sẹ́kọn" + ], + "in \\1 week": [ + "fọ (\\d+[.,]?\\d*)wik wé de kọm" + ], + "in \\1 year": [ + "fọ (\\d+[.,]?\\d*) yiẹ wé de kọm" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/pis.py b/dateparser/data/date_translation_data/pis.py new file mode 100644 index 000000000..156024819 --- /dev/null +++ b/dateparser/data/date_translation_data/pis.py @@ -0,0 +1,151 @@ +info = { + "name": "pis", + "date_order": "YMD", + "january": [ + "januare" + ], + "february": [ + "febuare" + ], + "march": [ + "mas" + ], + "april": [ + "eprel" + ], + "may": [ + "mei" + ], + "june": [ + "jun" + ], + "july": [ + "julae" + ], + "august": [ + "ogus" + ], + "september": [ + "septemba" + ], + "october": [ + "oktoba" + ], + "november": [ + "novemba" + ], + "december": [ + "disemba" + ], + "monday": [ + "mande" + ], + "tuesday": [ + "tiusde" + ], + "wednesday": [ + "wenesde" + ], + "thursday": [ + "tosde" + ], + "friday": [ + "fraede" + ], + "saturday": [ + "satade" + ], + "sunday": [ + "sande" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/pl.py b/dateparser/data/date_translation_data/pl.py index 95525291c..4a05d0ebe 100644 --- a/dateparser/data/date_translation_data/pl.py +++ b/dateparser/data/date_translation_data/pl.py @@ -212,6 +212,8 @@ "tygodnie" ], "day": [ + "d", + "dz", "dzień", "dzien", "dnia", @@ -222,6 +224,7 @@ "g", "godz", "godzina", + "godziny", "godzinę", "godzine", "godzin", @@ -246,7 +249,8 @@ ], "relative-type": { "0 day ago": [ - "dzisiaj" + "dzisiaj", + "dziś" ], "0 hour ago": [ "ta godzina" @@ -255,24 +259,29 @@ "ta minuta" ], "0 month ago": [ + "w tym mies", "w tym miesiącu" ], "0 second ago": [ "teraz" ], "0 week ago": [ + "w tym tyg", "w tym tygodniu" ], "0 year ago": [ "w tym roku" ], "1 day ago": [ + "wcz", "wczoraj" ], "1 month ago": [ + "w zeszłym mies", "w zeszłym miesiącu" ], "1 week ago": [ + "w zeszłym tyg", "w zeszłym tygodniu" ], "1 year ago": [ @@ -282,9 +291,11 @@ "jutro" ], "in 1 month": [ + "w przyszłym mies", "w przyszłym miesiącu" ], "in 1 week": [ + "w przyszłym tyg", "w przyszłym tygodniu" ], "in 1 year": [ @@ -310,8 +321,7 @@ "\\1 month ago": [ "(\\d+[.,]?\\d*) mies temu", "(\\d+[.,]?\\d*) miesiąc temu", - "(\\d+[.,]?\\d*) miesiąca temu", - "–(\\d+[.,]?\\d*) mies" + "(\\d+[.,]?\\d*) miesiąca temu" ], "\\1 second ago": [ "(\\d+[.,]?\\d*) s temu", diff --git a/dateparser/data/date_translation_data/ps.py b/dateparser/data/date_translation_data/ps.py index 01fc7c6d5..901c2638e 100644 --- a/dateparser/data/date_translation_data/ps.py +++ b/dateparser/data/date_translation_data/ps.py @@ -5,7 +5,8 @@ "جنوري" ], "february": [ - "فبروري" + "فبروري", + "فېبروري" ], "march": [ "مارچ" @@ -26,7 +27,8 @@ "اګست" ], "september": [ - "سپتمبر" + "سپتمبر", + "سېپتمبر" ], "october": [ "اکتوبر" @@ -38,101 +40,181 @@ "دسمبر" ], "monday": [ - "دوشنبه" + "دونۍ" ], "tuesday": [ - "سه‌شنبه" + "درېنۍ" ], "wednesday": [ - "چهارشنبه" + "څلرنۍ" ], "thursday": [ - "پنجشنبه" + "پينځنۍ" ], "friday": [ "جمعه" ], "saturday": [ - "شنبه" + "اونۍ" ], "sunday": [ - "یکشنبه" + "يونۍ" ], "am": [ + "am", "غم" ], "pm": [ + "pm", "غو" ], "year": [ - "year" + "کال" ], "month": [ - "month" + "مياشت" ], "week": [ - "week" + "اونۍ" ], "day": [ - "day" + "ورځ" ], "hour": [ - "hour" + "ساعت", + "ساعتونه" ], "minute": [ - "minute" + "دقيقه" ], "second": [ - "second" + "ثانيه" ], "relative-type": { "0 day ago": [ - "today" + "نن" ], "0 hour ago": [ - "this hour" + "دا ساعت" ], "0 minute ago": [ - "this minute" + "دا دقيقه" ], "0 month ago": [ - "this month" + "دا مياشت" ], "0 second ago": [ - "now" + "اوس" ], "0 week ago": [ - "this week" + "دا اونۍ" ], "0 year ago": [ - "this year" + "سږ کال", + "سږکال" ], "1 day ago": [ - "yesterday" + "پرون" ], "1 month ago": [ - "last month" + "تېره مياشت" ], "1 week ago": [ - "last week" + "تيره اونۍ", + "تېره اونۍ" ], "1 year ago": [ - "last year" + "تير کال", + "تېر کال", + "پروسږکال" ], "in 1 day": [ - "tomorrow" + "سبا" ], "in 1 month": [ - "next month" + "راتلونکې مياشت" ], "in 1 week": [ - "next week" + "راتلونکې اونۍ" ], "in 1 year": [ - "next year" + "راتلونکی کال", + "روتلونکی کال" ] }, - "locale_specific": {}, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) ورځ مخکې", + "(\\d+[.,]?\\d*) ورځې مخکې" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) ساعت مخکې", + "(\\d+[.,]?\\d*) ساعتونه مخکې" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) دقيقه مخکې", + "(\\d+[.,]?\\d*) دقيقې مخکې" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) مياشت مخکې", + "(\\d+[.,]?\\d*) مياشتې مخکې" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) ثانيه مخکې", + "(\\d+[.,]?\\d*) ثانيه کې", + "(\\d+[.,]?\\d*) ثانيې مخکې" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) اونۍ مخکې" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) کال مخکې", + "(\\d+[.,]?\\d*) کاله مخکې" + ], + "in \\1 day": [ + "په (\\d+[.,]?\\d*) ورځ کې", + "په (\\d+[.,]?\\d*) ورځو کې" + ], + "in \\1 hour": [ + "په (\\d+[.,]?\\d*) ساعت کې", + "په (\\d+[.,]?\\d*) ساعتو کې" + ], + "in \\1 minute": [ + "په (\\d+[.,]?\\d*) دقيقه کې", + "په (\\d+[.,]?\\d*) دقيقو کې" + ], + "in \\1 month": [ + "په (\\d+[.,]?\\d*) مياشت کې", + "په (\\d+[.,]?\\d*) مياشتو کې" + ], + "in \\1 second": [ + "په (\\d+[.,]?\\d*) ثانيه کې", + "په (\\d+[.,]?\\d*) ثانيو کې" + ], + "in \\1 week": [ + "په (\\d+[.,]?\\d*) اونيو کې", + "په (\\d+[.,]?\\d*) اونۍ کې" + ], + "in \\1 year": [ + "په (\\d+[.,]?\\d*) کال کې", + "په (\\d+[.,]?\\d*) کالونو کې" + ] + }, + "locale_specific": { + "ps-PK": { + "name": "ps-PK", + "relative-type-regex": { + "\\1 year ago": [ + "(\\d+[.,]?\\d*) کال مخکے", + "(\\d+[.,]?\\d*) کاله مخکے" + ], + "in \\1 year": [ + "په (\\d+[.,]?\\d*) کال کے", + "په (\\d+[.,]?\\d*) کالونو کے" + ] + } + } + }, "skip": [ " ", "'", diff --git a/dateparser/data/date_translation_data/pt.py b/dateparser/data/date_translation_data/pt.py index db908355b..3a8cc46b7 100644 --- a/dateparser/data/date_translation_data/pt.py +++ b/dateparser/data/date_translation_data/pt.py @@ -110,16 +110,15 @@ "hour": [ "h", "hora", + "horas", "horas" ], "minute": [ - "m", "min", "minuto", "minutos" ], "second": [ - "s", "seg", "segundo", "segundos" @@ -186,7 +185,6 @@ ], "\\1 minute ago": [ "há (\\d+[.,]?\\d*) min", - "há (\\d+[.,]?\\d*) mins", "há (\\d+[.,]?\\d*) minuto", "há (\\d+[.,]?\\d*) minutos" ], @@ -219,7 +217,6 @@ ], "in \\1 minute": [ "em (\\d+[.,]?\\d*) min", - "em (\\d+[.,]?\\d*) mins", "em (\\d+[.,]?\\d*) minuto", "em (\\d+[.,]?\\d*) minutos" ], @@ -229,7 +226,6 @@ ], "in \\1 second": [ "em (\\d+[.,]?\\d*) seg", - "em (\\d+[.,]?\\d*) segs", "em (\\d+[.,]?\\d*) segundo", "em (\\d+[.,]?\\d*) segundos" ], @@ -269,6 +265,9 @@ "da tarde", "tarde" ], + "second": [ + "s" + ], "relative-type-regex": { "\\1 second ago": [ "há (\\d+[.,]?\\d*) s" @@ -332,6 +331,9 @@ "da tarde", "tarde" ], + "second": [ + "s" + ], "relative-type-regex": { "\\1 second ago": [ "há (\\d+[.,]?\\d*) s" @@ -395,6 +397,9 @@ "da tarde", "tarde" ], + "second": [ + "s" + ], "relative-type-regex": { "\\1 second ago": [ "há (\\d+[.,]?\\d*) s" @@ -458,6 +463,9 @@ "da tarde", "tarde" ], + "second": [ + "s" + ], "relative-type-regex": { "\\1 second ago": [ "há (\\d+[.,]?\\d*) s" @@ -521,6 +529,9 @@ "da tarde", "tarde" ], + "second": [ + "s" + ], "relative-type-regex": { "\\1 second ago": [ "há (\\d+[.,]?\\d*) s" @@ -584,6 +595,9 @@ "da tarde", "tarde" ], + "second": [ + "s" + ], "relative-type-regex": { "\\1 second ago": [ "há (\\d+[.,]?\\d*) s" @@ -647,6 +661,9 @@ "da tarde", "tarde" ], + "second": [ + "s" + ], "relative-type-regex": { "\\1 second ago": [ "há (\\d+[.,]?\\d*) s" @@ -710,6 +727,9 @@ "da tarde", "tarde" ], + "second": [ + "s" + ], "relative-type-regex": { "\\1 second ago": [ "há (\\d+[.,]?\\d*) s" @@ -773,6 +793,9 @@ "da tarde", "tarde" ], + "second": [ + "s" + ], "relative-type-regex": { "\\1 second ago": [ "há (\\d+[.,]?\\d*) s" @@ -836,6 +859,9 @@ "da tarde", "tarde" ], + "second": [ + "s" + ], "relative-type-regex": { "\\1 second ago": [ "há (\\d+[.,]?\\d*) s" @@ -899,6 +925,9 @@ "da tarde", "tarde" ], + "second": [ + "s" + ], "relative-type-regex": { "\\1 second ago": [ "há (\\d+[.,]?\\d*) s" diff --git a/dateparser/data/date_translation_data/qu.py b/dateparser/data/date_translation_data/qu.py index d741cc899..cd2814782 100644 --- a/dateparser/data/date_translation_data/qu.py +++ b/dateparser/data/date_translation_data/qu.py @@ -2,52 +2,52 @@ "name": "qu", "date_order": "DMY", "january": [ - "qul", - "qulla puquy" + "ene", + "enero" ], "february": [ - "hat", - "hatun puquy" + "feb", + "febrero" ], "march": [ - "pau", - "pauqar waray" + "mar", + "marzo" ], "april": [ - "ayr", - "ayriwa" + "abr", + "abril" ], "may": [ - "aym", - "aymuray" + "may", + "mayo" ], "june": [ - "int", - "inti raymi" + "jun", + "junio" ], "july": [ - "ant", - "anta sitwa" + "jul", + "julio" ], "august": [ - "qha", - "qhapaq sitwa" + "ago", + "agosto" ], "september": [ - "uma", - "uma raymi" + "set", + "setiembre" ], "october": [ - "kan", - "kantaray" + "oct", + "octubre" ], "november": [ - "aya", - "ayamarq'a" + "nov", + "noviembre" ], "december": [ - "kap", - "kapaq raymi" + "dic", + "diciembre" ], "monday": [ "lun", @@ -96,6 +96,7 @@ "day" ], "hour": [ + "hora", "hour" ], "minute": [ @@ -106,49 +107,49 @@ ], "relative-type": { "0 day ago": [ - "today" + "kunan punchaw" ], "0 hour ago": [ - "this hour" + "kay hora" ], "0 minute ago": [ - "this minute" + "kay minuto" ], "0 month ago": [ - "this month" + "kunan killa" ], "0 second ago": [ "now" ], "0 week ago": [ - "this week" + "kunan semana" ], "0 year ago": [ - "this year" + "kunan wata" ], "1 day ago": [ - "yesterday" + "qayna punchaw" ], "1 month ago": [ - "last month" + "qayna killa" ], "1 week ago": [ - "last week" + "qayna semana" ], "1 year ago": [ - "last year" + "qayna wata" ], "in 1 day": [ - "tomorrow" + "paqarin" ], "in 1 month": [ - "next month" + "hamuq killa" ], "in 1 week": [ - "next week" + "hamuq semana" ], "in 1 year": [ - "next year" + "hamuq wata" ] }, "locale_specific": { diff --git a/dateparser/data/date_translation_data/quc.py b/dateparser/data/date_translation_data/quc.py new file mode 100644 index 000000000..94d191b8e --- /dev/null +++ b/dateparser/data/date_translation_data/quc.py @@ -0,0 +1,115 @@ +info = { + "name": "quc", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/raj.py b/dateparser/data/date_translation_data/raj.py new file mode 100644 index 000000000..aa0597f52 --- /dev/null +++ b/dateparser/data/date_translation_data/raj.py @@ -0,0 +1,153 @@ +info = { + "name": "raj", + "date_order": "YMD", + "january": [ + "जनवरी" + ], + "february": [ + "फरवरी" + ], + "march": [ + "मार्च" + ], + "april": [ + "अप्रैल" + ], + "may": [ + "मई" + ], + "june": [ + "जून" + ], + "july": [ + "जुलाई" + ], + "august": [ + "अगस्त" + ], + "september": [ + "सितम्बर" + ], + "october": [ + "अक्टूबर" + ], + "november": [ + "नवंबर" + ], + "december": [ + "दिसंबर" + ], + "monday": [ + "सोमवार" + ], + "tuesday": [ + "मंगलवार" + ], + "wednesday": [ + "बुधवार" + ], + "thursday": [ + "गुरुवार" + ], + "friday": [ + "शुक्रवार" + ], + "saturday": [ + "शनिवार" + ], + "sunday": [ + "रविवार" + ], + "am": [ + "am", + "सबेरे" + ], + "pm": [ + "pm", + "सांम" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "आज" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "यों मीनो" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "ई सप्ताह" + ], + "0 year ago": [ + "ई बरस" + ], + "1 day ago": [ + "काल" + ], + "1 month ago": [ + "पाछलो मीनो" + ], + "1 week ago": [ + "पाछलां सप्ताह" + ], + "1 year ago": [ + "गत बरस" + ], + "in 1 day": [ + "काल" + ], + "in 1 month": [ + "आग्लो मीनो" + ], + "in 1 week": [ + "आग्ल सप्ताह" + ], + "in 1 year": [ + "आग्ल बरस" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/rhg-Rohg.py b/dateparser/data/date_translation_data/rhg-Rohg.py new file mode 100644 index 000000000..1100c2524 --- /dev/null +++ b/dateparser/data/date_translation_data/rhg-Rohg.py @@ -0,0 +1,163 @@ +info = { + "name": "rhg-Rohg", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "𐴁𐴡𐴏𐴥𐴡𐴌" + ], + "month": [ + "𐴔𐴝𐴐𐴢" + ], + "week": [ + "𐴇𐴥𐴝𐴉𐴃𐴝" + ], + "day": [ + "𐴊𐴞𐴕" + ], + "hour": [ + "hr", + "𐴒𐴤𐴡𐴕𐴄𐴤𐴝" + ], + "minute": [ + "𐴔𐴞𐴕𐴥𐴡𐴄𐴢" + ], + "second": [ + "𐴏𐴠𐴑𐴤𐴠𐴕" + ], + "relative-type": { + "0 day ago": [ + "𐴀𐴝𐴙𐴅𐴧𐴙𐴝" + ], + "0 hour ago": [ + "𐴀𐴠 𐴒𐴤𐴡𐴕𐴄𐴤𐴝" + ], + "0 minute ago": [ + "𐴀𐴠 𐴔𐴞𐴕𐴥𐴡𐴄" + ], + "0 month ago": [ + "𐴀𐴠 𐴔𐴥𐴝𐴐𐴢" + ], + "0 second ago": [ + "𐴀𐴠𐴈𐴥𐴡𐴕" + ], + "0 week ago": [ + "𐴀𐴠 𐴇𐴥𐴝𐴉𐴃𐴝" + ], + "0 year ago": [ + "𐴀𐴠 𐴁𐴡𐴏𐴥𐴡𐴌" + ], + "1 day ago": [ + "𐴒𐴠𐴓𐴊𐴠 𐴈𐴝𐴙𐴓𐴧𐴝" + ], + "1 month ago": [ + "𐴒𐴠𐴓𐴊𐴠 𐴔𐴥𐴝𐴐𐴢" + ], + "1 week ago": [ + "𐴒𐴠𐴓𐴊𐴠 𐴇𐴥𐴝𐴉𐴃𐴝" + ], + "1 year ago": [ + "𐴒𐴠𐴓𐴊𐴠 𐴁𐴡𐴏𐴥𐴡𐴌" + ], + "in 1 day": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 𐴈𐴝𐴙𐴓𐴧𐴝" + ], + "in 1 month": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 𐴔𐴥𐴝𐴐𐴢" + ], + "in 1 week": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 𐴇𐴥𐴝𐴉𐴃𐴝" + ], + "in 1 year": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 𐴁𐴡𐴏𐴥𐴡𐴌" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) 𐴊𐴞𐴕 𐴀𐴝𐴒𐴠" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) 𐴒𐴤𐴡𐴕𐴄𐴤𐴝 𐴀𐴝𐴒𐴠" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) 𐴔𐴞𐴕𐴥𐴡𐴄 𐴀𐴝𐴒𐴠" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) 𐴔𐴝𐴐𐴢 𐴀𐴝𐴒𐴠" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) 𐴏𐴠𐴑𐴤𐴠𐴕 𐴀𐴝𐴒𐴠" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) 𐴇𐴥𐴝𐴉𐴃𐴝 𐴀𐴝𐴒𐴠" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) 𐴁𐴡𐴏𐴥𐴡𐴌 𐴀𐴝𐴒𐴠" + ], + "in \\1 day": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 (\\d+[.,]?\\d*) 𐴊𐴞𐴕" + ], + "in \\1 hour": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 (\\d+[.,]?\\d*) 𐴒𐴤𐴡𐴕𐴄𐴤𐴝" + ], + "in \\1 minute": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 (\\d+[.,]?\\d*) 𐴔𐴞𐴕𐴥𐴡𐴄" + ], + "in \\1 month": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 (\\d+[.,]?\\d*) 𐴔𐴥𐴝𐴐𐴢" + ], + "in \\1 second": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 (\\d+[.,]?\\d*) 𐴏𐴠𐴑𐴤𐴠𐴕" + ], + "in \\1 week": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 (\\d+[.,]?\\d*) 𐴇𐴥𐴝𐴉𐴃𐴝" + ], + "in \\1 year": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 (\\d+[.,]?\\d*) 𐴁𐴡𐴏𐴥𐴡𐴌" + ] + }, + "locale_specific": { + "rhg-Rohg-BD": { + "name": "rhg-Rohg-BD" + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/rhg.py b/dateparser/data/date_translation_data/rhg.py new file mode 100644 index 000000000..12412e07b --- /dev/null +++ b/dateparser/data/date_translation_data/rhg.py @@ -0,0 +1,159 @@ +info = { + "name": "rhg", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "𐴁𐴡𐴏𐴥𐴡𐴌" + ], + "month": [ + "𐴔𐴝𐴐𐴢" + ], + "week": [ + "𐴇𐴥𐴝𐴉𐴃𐴝" + ], + "day": [ + "𐴊𐴞𐴕" + ], + "hour": [ + "hr", + "𐴒𐴤𐴡𐴕𐴄𐴤𐴝" + ], + "minute": [ + "𐴔𐴞𐴕𐴥𐴡𐴄𐴢" + ], + "second": [ + "𐴏𐴠𐴑𐴤𐴠𐴕" + ], + "relative-type": { + "0 day ago": [ + "𐴀𐴝𐴙𐴅𐴧𐴙𐴝" + ], + "0 hour ago": [ + "𐴀𐴠 𐴒𐴤𐴡𐴕𐴄𐴤𐴝" + ], + "0 minute ago": [ + "𐴀𐴠 𐴔𐴞𐴕𐴥𐴡𐴄" + ], + "0 month ago": [ + "𐴀𐴠 𐴔𐴥𐴝𐴐𐴢" + ], + "0 second ago": [ + "𐴀𐴠𐴈𐴥𐴡𐴕" + ], + "0 week ago": [ + "𐴀𐴠 𐴇𐴥𐴝𐴉𐴃𐴝" + ], + "0 year ago": [ + "𐴀𐴠 𐴁𐴡𐴏𐴥𐴡𐴌" + ], + "1 day ago": [ + "𐴒𐴠𐴓𐴊𐴠 𐴈𐴝𐴙𐴓𐴧𐴝" + ], + "1 month ago": [ + "𐴒𐴠𐴓𐴊𐴠 𐴔𐴥𐴝𐴐𐴢" + ], + "1 week ago": [ + "𐴒𐴠𐴓𐴊𐴠 𐴇𐴥𐴝𐴉𐴃𐴝" + ], + "1 year ago": [ + "𐴒𐴠𐴓𐴊𐴠 𐴁𐴡𐴏𐴥𐴡𐴌" + ], + "in 1 day": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 𐴈𐴝𐴙𐴓𐴧𐴝" + ], + "in 1 month": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 𐴔𐴥𐴝𐴐𐴢" + ], + "in 1 week": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 𐴇𐴥𐴝𐴉𐴃𐴝" + ], + "in 1 year": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 𐴁𐴡𐴏𐴥𐴡𐴌" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) 𐴊𐴞𐴕 𐴀𐴝𐴒𐴠" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) 𐴒𐴤𐴡𐴕𐴄𐴤𐴝 𐴀𐴝𐴒𐴠" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) 𐴔𐴞𐴕𐴥𐴡𐴄 𐴀𐴝𐴒𐴠" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) 𐴔𐴝𐴐𐴢 𐴀𐴝𐴒𐴠" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) 𐴏𐴠𐴑𐴤𐴠𐴕 𐴀𐴝𐴒𐴠" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) 𐴇𐴥𐴝𐴉𐴃𐴝 𐴀𐴝𐴒𐴠" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) 𐴁𐴡𐴏𐴥𐴡𐴌 𐴀𐴝𐴒𐴠" + ], + "in \\1 day": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 (\\d+[.,]?\\d*) 𐴊𐴞𐴕" + ], + "in \\1 hour": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 (\\d+[.,]?\\d*) 𐴒𐴤𐴡𐴕𐴄𐴤𐴝" + ], + "in \\1 minute": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 (\\d+[.,]?\\d*) 𐴔𐴞𐴕𐴥𐴡𐴄" + ], + "in \\1 month": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 (\\d+[.,]?\\d*) 𐴔𐴥𐴝𐴐𐴢" + ], + "in \\1 second": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 (\\d+[.,]?\\d*) 𐴏𐴠𐴑𐴤𐴠𐴕" + ], + "in \\1 week": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 (\\d+[.,]?\\d*) 𐴇𐴥𐴝𐴉𐴃𐴝" + ], + "in \\1 year": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 (\\d+[.,]?\\d*) 𐴁𐴡𐴏𐴥𐴡𐴌" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/rif.py b/dateparser/data/date_translation_data/rif.py new file mode 100644 index 000000000..0b10765b5 --- /dev/null +++ b/dateparser/data/date_translation_data/rif.py @@ -0,0 +1,115 @@ +info = { + "name": "rif", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/rm.py b/dateparser/data/date_translation_data/rm.py index 3fb858f90..7e7d1bd05 100644 --- a/dateparser/data/date_translation_data/rm.py +++ b/dateparser/data/date_translation_data/rm.py @@ -2,47 +2,59 @@ "name": "rm", "date_order": "DMY", "january": [ + "da schaner", "schan", "schaner" ], "february": [ + "da favrer", "favr", "favrer" ], "march": [ + "da mars", "mars" ], "april": [ "avr", - "avrigl" + "avrigl", + "d'avrigl" ], "may": [ + "da matg", "matg" ], "june": [ + "da zercladur", "zercl", "zercladur" ], "july": [ + "da fanadur", "fan", "fanadur" ], "august": [ - "avust" + "avust", + "d'avust" ], "september": [ + "da settember", "sett", "settember" ], "october": [ + "d'october", "oct", "october" ], "november": [ + "da november", "nov", "november" ], "december": [ + "da december", "dec", "december" ], @@ -90,15 +102,19 @@ "emna" ], "day": [ - "tag" + "d", + "di" ], "hour": [ - "ura" + "ura", + "uras" ], "minute": [ + "min", "minuta" ], "second": [ + "s", "secunda" ], "relative-type": { @@ -121,7 +137,7 @@ "this week" ], "0 year ago": [ - "this year" + "quest onn" ], "1 day ago": [ "ier" @@ -133,7 +149,7 @@ "last week" ], "1 year ago": [ - "last year" + "l'onn passà" ], "in 1 day": [ "damaun" @@ -145,7 +161,7 @@ "next week" ], "in 1 year": [ - "next year" + "l'onn proxim" ] }, "locale_specific": {}, diff --git a/dateparser/data/date_translation_data/rn.py b/dateparser/data/date_translation_data/rn.py index 5a557babe..c2951c7a2 100644 --- a/dateparser/data/date_translation_data/rn.py +++ b/dateparser/data/date_translation_data/rn.py @@ -96,6 +96,7 @@ "umusi" ], "hour": [ + "hr", "isaha" ], "minute": [ diff --git a/dateparser/data/date_translation_data/ro.py b/dateparser/data/date_translation_data/ro.py index 6dcfb16e8..f31632ce1 100644 --- a/dateparser/data/date_translation_data/ro.py +++ b/dateparser/data/date_translation_data/ro.py @@ -106,6 +106,7 @@ ], "hour": [ "h", + "ore", "oră", "ore" ], @@ -138,6 +139,7 @@ "acum" ], "0 week ago": [ + "săpt aceasta", "săptămâna aceasta" ], "0 year ago": [ @@ -150,6 +152,7 @@ "luna trecută" ], "1 week ago": [ + "săpt trecută", "săptămâna trecută" ], "1 year ago": [ @@ -162,6 +165,7 @@ "luna viitoare" ], "in 1 week": [ + "săpt viitoare", "săptămâna viitoare" ], "in 1 year": [ @@ -171,8 +175,7 @@ "relative-type-regex": { "\\1 day ago": [ "acum (\\d+[.,]?\\d*) de zile", - "acum (\\d+[.,]?\\d*) zi", - "acum (\\d+[.,]?\\d*) zile" + "acum (\\d+[.,]?\\d*) zi" ], "\\1 hour ago": [ "acum (\\d+[.,]?\\d*) de ore", @@ -205,8 +208,7 @@ ], "in \\1 day": [ "peste (\\d+[.,]?\\d*) de zile", - "peste (\\d+[.,]?\\d*) zi", - "peste (\\d+[.,]?\\d*) zile" + "peste (\\d+[.,]?\\d*) zi" ], "in \\1 hour": [ "peste (\\d+[.,]?\\d*) de ore", @@ -235,7 +237,6 @@ ], "in \\1 year": [ "peste (\\d+[.,]?\\d*) an", - "peste (\\d+[.,]?\\d*) ani", "peste (\\d+[.,]?\\d*) de ani" ] }, diff --git a/dateparser/data/date_translation_data/rof.py b/dateparser/data/date_translation_data/rof.py index 958c869ac..1967b29e3 100644 --- a/dateparser/data/date_translation_data/rof.py +++ b/dateparser/data/date_translation_data/rof.py @@ -84,6 +84,7 @@ "mfiri" ], "hour": [ + "hr", "isaa" ], "minute": [ diff --git a/dateparser/data/date_translation_data/ru.py b/dateparser/data/date_translation_data/ru.py index 1561b02b2..ae51bc6f8 100644 --- a/dateparser/data/date_translation_data/ru.py +++ b/dateparser/data/date_translation_data/ru.py @@ -103,10 +103,10 @@ "вск" ], "am": [ - "дп" + "am" ], "pm": [ - "пп" + "pm" ], "year": [ "г", @@ -139,6 +139,7 @@ "hour": [ "ч", "час", + "часы", "часа", "часов" ], @@ -162,45 +163,63 @@ "сегодня" ], "0 hour ago": [ - "в этом часе" + "в этот час" ], "0 minute ago": [ "в эту минуту" ], "0 month ago": [ + "в эт мес", + "в этом мес", "в этом месяце" ], "0 second ago": [ "сейчас" ], "0 week ago": [ + "на эт нед", + "на этой нед", "на этой неделе" ], "0 year ago": [ + "в эт г", + "в этом г", "в этом году" ], "1 day ago": [ "вчера" ], "1 month ago": [ + "в пр мес", + "в прошлом мес", "в прошлом месяце" ], "1 week ago": [ + "на пр нед", + "на прошлой нед", "на прошлой неделе" ], "1 year ago": [ + "в пр г", + "в прошлом г", "в прошлом году" ], "in 1 day": [ "завтра" ], "in 1 month": [ + "в след мес", + "в следующем мес", "в следующем месяце" ], "in 1 week": [ + "на след нед", + "на следующей нед", "на следующей неделе" ], "in 1 year": [ + "в сл г", + "в след г", "в следующем году" ], "2 day ago": [ @@ -215,7 +234,6 @@ }, "relative-type-regex": { "\\1 day ago": [ - "(\\d+[.,]?\\d*) д назад", "(\\d+[.,]?\\d*) день назад", "(\\d+[.,]?\\d*) дн назад", "(\\d+[.,]?\\d*) дня назад" @@ -251,7 +269,6 @@ "(\\d+[.,]?\\d*) года назад" ], "in \\1 day": [ - "через (\\d+[.,]?\\d*) д", "через (\\d+[.,]?\\d*) день", "через (\\d+[.,]?\\d*) дн", "через (\\d+[.,]?\\d*) дня" @@ -301,13 +318,7 @@ "name": "ru-MD" }, "ru-UA": { - "name": "ru-UA", - "am": [ - "am" - ], - "pm": [ - "pm" - ] + "name": "ru-UA" } }, "skip": [ diff --git a/dateparser/data/date_translation_data/rw.py b/dateparser/data/date_translation_data/rw.py index 4a34e9e32..581d7bc27 100644 --- a/dateparser/data/date_translation_data/rw.py +++ b/dateparser/data/date_translation_data/rw.py @@ -19,7 +19,7 @@ ], "may": [ "gic", - "gicuransi" + "gicurasi" ], "june": [ "kam", @@ -96,7 +96,8 @@ "day" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser/data/date_translation_data/rwk.py b/dateparser/data/date_translation_data/rwk.py index ef8384c93..1151f5581 100644 --- a/dateparser/data/date_translation_data/rwk.py +++ b/dateparser/data/date_translation_data/rwk.py @@ -95,6 +95,7 @@ "mfiri" ], "hour": [ + "hr", "saa" ], "minute": [ diff --git a/dateparser/data/date_translation_data/sa.py b/dateparser/data/date_translation_data/sa.py new file mode 100644 index 000000000..e94c5386b --- /dev/null +++ b/dateparser/data/date_translation_data/sa.py @@ -0,0 +1,178 @@ +info = { + "name": "sa", + "date_order": "DMY", + "january": [ + "जनवरी:", + "जनवरीमासः" + ], + "february": [ + "फरवरी:", + "फरवरीमासः" + ], + "march": [ + "मार्च:", + "मार्चमासः" + ], + "april": [ + "अप्रैल:", + "अप्रैलमासः" + ], + "may": [ + "मई", + "मईमासः" + ], + "june": [ + "जून:", + "जूनमासः" + ], + "july": [ + "जुलाई:", + "जुलाईमासः" + ], + "august": [ + "अगस्त:", + "अगस्तमासः" + ], + "september": [ + "सितंबर:", + "सितंबरमासः" + ], + "october": [ + "अक्तूबर:", + "अक्तूबरमासः" + ], + "november": [ + "नवंबर:", + "नवंबरमासः" + ], + "december": [ + "दिसंबर:", + "दिसंबरमासः" + ], + "monday": [ + "सोम", + "सोमवासरः" + ], + "tuesday": [ + "मंगल", + "मंगलवासरः" + ], + "wednesday": [ + "बुध", + "बुधवासरः" + ], + "thursday": [ + "गुरु", + "गुरुवासर:" + ], + "friday": [ + "शुक्र", + "शुक्रवासरः" + ], + "saturday": [ + "शनि", + "शनिवासरः" + ], + "sunday": [ + "रवि", + "रविवासरः" + ], + "am": [ + "am", + "पूर्वाह्न" + ], + "pm": [ + "pm", + "अपराह्न" + ], + "year": [ + "वर्ष", + "वर्ष:" + ], + "month": [ + "मास", + "मास:" + ], + "week": [ + "सप्ताह", + "सप्ताह:" + ], + "day": [ + "दिनम्", + "वासर:" + ], + "hour": [ + "hr", + "होरा" + ], + "minute": [ + "निमेष" + ], + "second": [ + "क्षण", + "पल" + ], + "relative-type": { + "0 day ago": [ + "अद्य" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "गतदिनम्", + "ह्यः" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "श्वः" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/saq.py b/dateparser/data/date_translation_data/saq.py index b6105f34b..a2fdd4fc9 100644 --- a/dateparser/data/date_translation_data/saq.py +++ b/dateparser/data/date_translation_data/saq.py @@ -96,6 +96,7 @@ "mpari" ], "hour": [ + "hr", "saai" ], "minute": [ diff --git a/dateparser/data/date_translation_data/sat-Deva.py b/dateparser/data/date_translation_data/sat-Deva.py new file mode 100644 index 000000000..18306662d --- /dev/null +++ b/dateparser/data/date_translation_data/sat-Deva.py @@ -0,0 +1,115 @@ +info = { + "name": "sat-Deva", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/sat-Olck.py b/dateparser/data/date_translation_data/sat-Olck.py new file mode 100644 index 000000000..a913f5296 --- /dev/null +++ b/dateparser/data/date_translation_data/sat-Olck.py @@ -0,0 +1,171 @@ +info = { + "name": "sat-Olck", + "date_order": "DMY", + "january": [ + "ᱡᱟᱱ", + "ᱡᱟᱱᱣᱟᱨᱤ" + ], + "february": [ + "ᱯᱷᱟ", + "ᱯᱷᱟᱨᱣᱟᱨᱤ" + ], + "march": [ + "ᱢᱟᱨ", + "ᱢᱟᱨᱪ" + ], + "april": [ + "ᱟᱯᱨ", + "ᱟᱯᱨᱮᱞ" + ], + "may": [ + "ᱢᱮ" + ], + "june": [ + "ᱡᱩᱱ" + ], + "july": [ + "ᱡᱩᱞ", + "ᱡᱩᱞᱟᱭ" + ], + "august": [ + "ᱟᱜᱟ", + "ᱟᱜᱟᱥᱛ" + ], + "september": [ + "ᱥᱮᱯ", + "ᱥᱮᱯᱴᱮᱢᱵᱟᱨ" + ], + "october": [ + "ᱚᱠᱴ", + "ᱚᱠᱴᱚᱵᱟᱨ" + ], + "november": [ + "ᱱᱟᱣ", + "ᱱᱟᱣᱟᱢᱵᱟᱨ" + ], + "december": [ + "ᱫᱤᱥ", + "ᱫᱤᱥᱟᱢᱵᱟᱨ" + ], + "monday": [ + "ᱚᱛ", + "ᱚᱛᱮ" + ], + "tuesday": [ + "ᱵᱟ", + "ᱵᱟᱞᱮ" + ], + "wednesday": [ + "ᱥᱟᱹ", + "ᱥᱟᱹᱜᱩᱱ" + ], + "thursday": [ + "ᱥᱟᱹᱨ", + "ᱥᱟᱹᱨᱫᱤ" + ], + "friday": [ + "ᱡᱟᱹ", + "ᱡᱟᱹᱨᱩᱢ" + ], + "saturday": [ + "ᱧᱩ", + "ᱧᱩᱦᱩᱢ" + ], + "sunday": [ + "ᱥᱤᱸ", + "ᱥᱤᱸᱜᱮ" + ], + "am": [ + "am", + "ᱥᱮᱛᱟᱜ" + ], + "pm": [ + "pm", + "ᱧᱤᱫᱟᱹ" + ], + "year": [ + "ᱥᱮᱨᱢᱟ", + "ᱥᱮᱨᱢᱟ/ᱵᱚᱪᱷᱚᱞᱨ" + ], + "month": [ + "ᱪᱟᱸᱫᱚ" + ], + "week": [ + "ᱦᱟᱯᱛᱟ/ᱮᱢᱦᱟ" + ], + "day": [ + "ᱢᱟᱦᱟ" + ], + "hour": [ + "hr", + "ᱴᱟᱲᱟᱝ" + ], + "minute": [ + "ᱴᱤᱯᱤᱡ" + ], + "second": [ + "ᱴᱤᱨᱤᱡ" + ], + "relative-type": { + "0 day ago": [ + "ᱛᱮᱦᱮᱧ" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "ᱦᱚᱞᱟ" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "ᱜᱟᱯᱟ" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/sat.py b/dateparser/data/date_translation_data/sat.py new file mode 100644 index 000000000..5fbb58144 --- /dev/null +++ b/dateparser/data/date_translation_data/sat.py @@ -0,0 +1,171 @@ +info = { + "name": "sat", + "date_order": "DMY", + "january": [ + "ᱡᱟᱱ", + "ᱡᱟᱱᱣᱟᱨᱤ" + ], + "february": [ + "ᱯᱷᱟ", + "ᱯᱷᱟᱨᱣᱟᱨᱤ" + ], + "march": [ + "ᱢᱟᱨ", + "ᱢᱟᱨᱪ" + ], + "april": [ + "ᱟᱯᱨ", + "ᱟᱯᱨᱮᱞ" + ], + "may": [ + "ᱢᱮ" + ], + "june": [ + "ᱡᱩᱱ" + ], + "july": [ + "ᱡᱩᱞ", + "ᱡᱩᱞᱟᱭ" + ], + "august": [ + "ᱟᱜᱟ", + "ᱟᱜᱟᱥᱛ" + ], + "september": [ + "ᱥᱮᱯ", + "ᱥᱮᱯᱴᱮᱢᱵᱟᱨ" + ], + "october": [ + "ᱚᱠᱴ", + "ᱚᱠᱴᱚᱵᱟᱨ" + ], + "november": [ + "ᱱᱟᱣ", + "ᱱᱟᱣᱟᱢᱵᱟᱨ" + ], + "december": [ + "ᱫᱤᱥ", + "ᱫᱤᱥᱟᱢᱵᱟᱨ" + ], + "monday": [ + "ᱚᱛ", + "ᱚᱛᱮ" + ], + "tuesday": [ + "ᱵᱟ", + "ᱵᱟᱞᱮ" + ], + "wednesday": [ + "ᱥᱟᱹ", + "ᱥᱟᱹᱜᱩᱱ" + ], + "thursday": [ + "ᱥᱟᱹᱨ", + "ᱥᱟᱹᱨᱫᱤ" + ], + "friday": [ + "ᱡᱟᱹ", + "ᱡᱟᱹᱨᱩᱢ" + ], + "saturday": [ + "ᱧᱩ", + "ᱧᱩᱦᱩᱢ" + ], + "sunday": [ + "ᱥᱤᱸ", + "ᱥᱤᱸᱜᱮ" + ], + "am": [ + "am", + "ᱥᱮᱛᱟᱜ" + ], + "pm": [ + "pm", + "ᱧᱤᱫᱟᱹ" + ], + "year": [ + "ᱥᱮᱨᱢᱟ", + "ᱥᱮᱨᱢᱟ/ᱵᱚᱪᱷᱚᱞᱨ" + ], + "month": [ + "ᱪᱟᱸᱫᱚ" + ], + "week": [ + "ᱦᱟᱯᱛᱟ/ᱮᱢᱦᱟ" + ], + "day": [ + "ᱢᱟᱦᱟ" + ], + "hour": [ + "hr", + "ᱴᱟᱲᱟᱝ" + ], + "minute": [ + "ᱴᱤᱯᱤᱡ" + ], + "second": [ + "ᱴᱤᱨᱤᱡ" + ], + "relative-type": { + "0 day ago": [ + "ᱛᱮᱦᱮᱧ" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "ᱦᱚᱞᱟ" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "ᱜᱟᱯᱟ" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/sbp.py b/dateparser/data/date_translation_data/sbp.py index 5e1f3d90c..7b0bd53d0 100644 --- a/dateparser/data/date_translation_data/sbp.py +++ b/dateparser/data/date_translation_data/sbp.py @@ -96,6 +96,7 @@ "lusiku" ], "hour": [ + "hr", "ilisala" ], "minute": [ diff --git a/dateparser/data/date_translation_data/sc.py b/dateparser/data/date_translation_data/sc.py new file mode 100644 index 000000000..cff1aff41 --- /dev/null +++ b/dateparser/data/date_translation_data/sc.py @@ -0,0 +1,243 @@ +info = { + "name": "sc", + "date_order": "DMY", + "january": [ + "ghe", + "ghennàrgiu" + ], + "february": [ + "fre", + "freàrgiu" + ], + "march": [ + "mar", + "martzu" + ], + "april": [ + "abr", + "abrile" + ], + "may": [ + "maj", + "maju" + ], + "june": [ + "làm", + "làmpadas" + ], + "july": [ + "trì", + "trìulas" + ], + "august": [ + "aus", + "austu" + ], + "september": [ + "cab", + "cabudanni" + ], + "october": [ + "santugaine", + "stg" + ], + "november": [ + "santandria", + "sta" + ], + "december": [ + "nad", + "nadale" + ], + "monday": [ + "lun", + "lunis" + ], + "tuesday": [ + "mar", + "martis" + ], + "wednesday": [ + "mèr", + "mèrcuris" + ], + "thursday": [ + "giò", + "giòbia" + ], + "friday": [ + "che", + "chenàbura" + ], + "saturday": [ + "sàb", + "sàbadu" + ], + "sunday": [ + "dom", + "domìniga" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "annu" + ], + "month": [ + "mese" + ], + "week": [ + "ch", + "chida" + ], + "day": [ + "die" + ], + "hour": [ + "ora", + "oras" + ], + "minute": [ + "min", + "minutu" + ], + "second": [ + "seg", + "segundu" + ], + "relative-type": { + "0 day ago": [ + "oe" + ], + "0 hour ago": [ + "cust'ora" + ], + "0 minute ago": [ + "custu minutu" + ], + "0 month ago": [ + "custu mese" + ], + "0 second ago": [ + "como" + ], + "0 week ago": [ + "custa chida" + ], + "0 year ago": [ + "ocannu" + ], + "1 day ago": [ + "eris" + ], + "1 month ago": [ + "su mese coladu" + ], + "1 week ago": [ + "sa chida colada" + ], + "1 year ago": [ + "ocannu coladu" + ], + "in 1 day": [ + "cras" + ], + "in 1 month": [ + "su mese chi intrat" + ], + "in 1 week": [ + "sa chida chi intrat" + ], + "in 1 year": [ + "ocannu chi benit" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) die a como", + "(\\d+[.,]?\\d*) dies a como" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) o a como", + "(\\d+[.,]?\\d*) ora a como", + "(\\d+[.,]?\\d*) oras a como" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) m a como", + "(\\d+[.,]?\\d*) min a como", + "(\\d+[.,]?\\d*) minutos a como", + "(\\d+[.,]?\\d*) minutu a como" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) mese a como", + "(\\d+[.,]?\\d*) meses a como" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) s a como", + "(\\d+[.,]?\\d*) seg a como", + "(\\d+[.,]?\\d*) segundos a como", + "(\\d+[.,]?\\d*) segundu a como" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) ch a como", + "(\\d+[.,]?\\d*) chida a como", + "(\\d+[.,]?\\d*) chidas a como" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) annos a como", + "(\\d+[.,]?\\d*) annu a como" + ], + "in \\1 day": [ + "intro de (\\d+[.,]?\\d*) die", + "intro de (\\d+[.,]?\\d*) dies" + ], + "in \\1 hour": [ + "intro de (\\d+[.,]?\\d*) o", + "intro de (\\d+[.,]?\\d*) ora", + "intro de (\\d+[.,]?\\d*) oras" + ], + "in \\1 minute": [ + "intro de (\\d+[.,]?\\d*) m", + "intro de (\\d+[.,]?\\d*) min", + "intro de (\\d+[.,]?\\d*) minutos", + "intro de (\\d+[.,]?\\d*) minutu" + ], + "in \\1 month": [ + "intro de (\\d+[.,]?\\d*) mese", + "intro de (\\d+[.,]?\\d*) meses" + ], + "in \\1 second": [ + "intro de (\\d+[.,]?\\d*) s", + "intro de (\\d+[.,]?\\d*) seg", + "intro de (\\d+[.,]?\\d*) segundos", + "intro de (\\d+[.,]?\\d*) segundu" + ], + "in \\1 week": [ + "intro de (\\d+[.,]?\\d*) ch", + "intro de (\\d+[.,]?\\d*) chida", + "intro de (\\d+[.,]?\\d*) chidas" + ], + "in \\1 year": [ + "intro de (\\d+[.,]?\\d*) annos", + "intro de (\\d+[.,]?\\d*) annu" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/scn.py b/dateparser/data/date_translation_data/scn.py new file mode 100644 index 000000000..4038d3aaa --- /dev/null +++ b/dateparser/data/date_translation_data/scn.py @@ -0,0 +1,115 @@ +info = { + "name": "scn", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/sd-Arab.py b/dateparser/data/date_translation_data/sd-Arab.py new file mode 100644 index 000000000..b06d871fe --- /dev/null +++ b/dateparser/data/date_translation_data/sd-Arab.py @@ -0,0 +1,199 @@ +info = { + "name": "sd-Arab", + "date_order": "YMD", + "january": [ + "جنوري" + ], + "february": [ + "فيبروري" + ], + "march": [ + "مارچ" + ], + "april": [ + "اپريل" + ], + "may": [ + "مئي" + ], + "june": [ + "جون" + ], + "july": [ + "جولاءِ" + ], + "august": [ + "آگسٽ" + ], + "september": [ + "سيپٽمبر" + ], + "october": [ + "آڪٽوبر" + ], + "november": [ + "نومبر" + ], + "december": [ + "ڊسمبر" + ], + "monday": [ + "سومر" + ], + "tuesday": [ + "اڱارو" + ], + "wednesday": [ + "اربع" + ], + "thursday": [ + "خميس" + ], + "friday": [ + "جمعو" + ], + "saturday": [ + "ڇنڇر" + ], + "sunday": [ + "آچر" + ], + "am": [ + "صبح، منجهند" + ], + "pm": [ + "شام، منجهند", + "منجهند، شام" + ], + "year": [ + "سال" + ], + "month": [ + "مهينو" + ], + "week": [ + "هفتو" + ], + "day": [ + "ڏينهن" + ], + "hour": [ + "ڪلاڪ" + ], + "minute": [ + "منٽ" + ], + "second": [ + "سيڪنڊ" + ], + "relative-type": { + "0 day ago": [ + "اڄ" + ], + "0 hour ago": [ + "هن ڪلڪ" + ], + "0 minute ago": [ + "هن منٽ" + ], + "0 month ago": [ + "هن مهيني" + ], + "0 second ago": [ + "هاڻي" + ], + "0 week ago": [ + "هن هفتي" + ], + "0 year ago": [ + "هن سال", + "پويون سال" + ], + "1 day ago": [ + "ڪل" + ], + "1 month ago": [ + "پوئين مهيني" + ], + "1 week ago": [ + "پوئين هفتي" + ], + "1 year ago": [ + "پوئين سال", + "پويون سال" + ], + "in 1 day": [ + "سڀاڻي" + ], + "in 1 month": [ + "اڳين مهيني" + ], + "in 1 week": [ + "اڳين هفتي" + ], + "in 1 year": [ + "اڳيئن سال", + "اڳين سال", + "پويون سال" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) ڏينهن پهرين" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) ڪلاڪ پهرين" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) منٽ پهرين" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) مهينا پهرين" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) سيڪنڊ پهرين" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) هفتا پهرين" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) سال پهرين" + ], + "in \\1 day": [ + "(\\d+[.,]?\\d*) ڏينهن ۾" + ], + "in \\1 hour": [ + "(\\d+[.,]?\\d*) ڪلاڪ ۾" + ], + "in \\1 minute": [ + "(\\d+[.,]?\\d*) منٽن ۾" + ], + "in \\1 month": [ + "(\\d+[.,]?\\d*) مهينن ۾" + ], + "in \\1 second": [ + "(\\d+[.,]?\\d*) سيڪنڊن ۾" + ], + "in \\1 week": [ + "(\\d+[.,]?\\d*) هفتن ۾" + ], + "in \\1 year": [ + "(\\d+[.,]?\\d*) سالن ۾" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/sd-Deva.py b/dateparser/data/date_translation_data/sd-Deva.py new file mode 100644 index 000000000..83e06195c --- /dev/null +++ b/dateparser/data/date_translation_data/sd-Deva.py @@ -0,0 +1,176 @@ +info = { + "name": "sd-Deva", + "date_order": "MDY", + "january": [ + "जन", + "जनवरी" + ], + "february": [ + "फर", + "फरवरी" + ], + "march": [ + "मार्च", + "मार्चु" + ], + "april": [ + "अप्रै", + "अप्रैल" + ], + "may": [ + "मई" + ], + "june": [ + "जून" + ], + "july": [ + "जु", + "जुला", + "जुलाई" + ], + "august": [ + "अग", + "अगस्ट" + ], + "september": [ + "सप्टे", + "सप्टेंबर" + ], + "october": [ + "ऑक्टो", + "ऑक्टोबर", + "ओक्टोबर" + ], + "november": [ + "नवं", + "नवंबर" + ], + "december": [ + "डिसं", + "डिसंबर" + ], + "monday": [ + "सू", + "सूमर" + ], + "tuesday": [ + "मं", + "मंग", + "मंगलु" + ], + "wednesday": [ + "बुध", + "बु॒ध", + "बु॒धर" + ], + "thursday": [ + "विस", + "विस्पत" + ], + "friday": [ + "जु", + "जुम", + "जुमो" + ], + "saturday": [ + "छंछ", + "छंछर" + ], + "sunday": [ + "आ", + "आर्त", + "आर्तवार" + ], + "am": [ + "am", + "सुबुह जा" + ], + "pm": [ + "pm", + "शाम जा" + ], + "year": [ + "साल" + ], + "month": [ + "महिनो" + ], + "week": [ + "हफ्तो" + ], + "day": [ + "दीं॒हुं" + ], + "hour": [ + "hr", + "कलाक" + ], + "minute": [ + "मिंटु" + ], + "second": [ + "सेकिंडु" + ], + "relative-type": { + "0 day ago": [ + "अॼु" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "कल" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "सुभाणे" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/sd.py b/dateparser/data/date_translation_data/sd.py new file mode 100644 index 000000000..cdb2a541f --- /dev/null +++ b/dateparser/data/date_translation_data/sd.py @@ -0,0 +1,199 @@ +info = { + "name": "sd", + "date_order": "YMD", + "january": [ + "جنوري" + ], + "february": [ + "فيبروري" + ], + "march": [ + "مارچ" + ], + "april": [ + "اپريل" + ], + "may": [ + "مئي" + ], + "june": [ + "جون" + ], + "july": [ + "جولاءِ" + ], + "august": [ + "آگسٽ" + ], + "september": [ + "سيپٽمبر" + ], + "october": [ + "آڪٽوبر" + ], + "november": [ + "نومبر" + ], + "december": [ + "ڊسمبر" + ], + "monday": [ + "سومر" + ], + "tuesday": [ + "اڱارو" + ], + "wednesday": [ + "اربع" + ], + "thursday": [ + "خميس" + ], + "friday": [ + "جمعو" + ], + "saturday": [ + "ڇنڇر" + ], + "sunday": [ + "آچر" + ], + "am": [ + "صبح، منجهند" + ], + "pm": [ + "شام، منجهند", + "منجهند، شام" + ], + "year": [ + "سال" + ], + "month": [ + "مهينو" + ], + "week": [ + "هفتو" + ], + "day": [ + "ڏينهن" + ], + "hour": [ + "ڪلاڪ" + ], + "minute": [ + "منٽ" + ], + "second": [ + "سيڪنڊ" + ], + "relative-type": { + "0 day ago": [ + "اڄ" + ], + "0 hour ago": [ + "هن ڪلڪ" + ], + "0 minute ago": [ + "هن منٽ" + ], + "0 month ago": [ + "هن مهيني" + ], + "0 second ago": [ + "هاڻي" + ], + "0 week ago": [ + "هن هفتي" + ], + "0 year ago": [ + "هن سال", + "پويون سال" + ], + "1 day ago": [ + "ڪل" + ], + "1 month ago": [ + "پوئين مهيني" + ], + "1 week ago": [ + "پوئين هفتي" + ], + "1 year ago": [ + "پوئين سال", + "پويون سال" + ], + "in 1 day": [ + "سڀاڻي" + ], + "in 1 month": [ + "اڳين مهيني" + ], + "in 1 week": [ + "اڳين هفتي" + ], + "in 1 year": [ + "اڳيئن سال", + "اڳين سال", + "پويون سال" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) ڏينهن پهرين" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) ڪلاڪ پهرين" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) منٽ پهرين" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) مهينا پهرين" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) سيڪنڊ پهرين" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) هفتا پهرين" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) سال پهرين" + ], + "in \\1 day": [ + "(\\d+[.,]?\\d*) ڏينهن ۾" + ], + "in \\1 hour": [ + "(\\d+[.,]?\\d*) ڪلاڪ ۾" + ], + "in \\1 minute": [ + "(\\d+[.,]?\\d*) منٽن ۾" + ], + "in \\1 month": [ + "(\\d+[.,]?\\d*) مهينن ۾" + ], + "in \\1 second": [ + "(\\d+[.,]?\\d*) سيڪنڊن ۾" + ], + "in \\1 week": [ + "(\\d+[.,]?\\d*) هفتن ۾" + ], + "in \\1 year": [ + "(\\d+[.,]?\\d*) سالن ۾" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/sdh.py b/dateparser/data/date_translation_data/sdh.py new file mode 100644 index 000000000..91c6b860c --- /dev/null +++ b/dateparser/data/date_translation_data/sdh.py @@ -0,0 +1,119 @@ +info = { + "name": "sdh", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "sdh-IQ": { + "name": "sdh-IQ" + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/se.py b/dateparser/data/date_translation_data/se.py index 481d63a47..d4d09d771 100644 --- a/dateparser/data/date_translation_data/se.py +++ b/dateparser/data/date_translation_data/se.py @@ -100,7 +100,8 @@ "beaivi" ], "hour": [ - "diibmu" + "diibmu", + "diibmur" ], "minute": [ "minuhtta" @@ -214,47 +215,151 @@ "locale_specific": { "se-FI": { "name": "se-FI", + "date_order": "DMY", + "april": [ + "cuoŋ" + ], "monday": [ - "vuossárgga" + "má", + "mánnodat" ], "tuesday": [ - "maŋŋebárgga" + "di", + "disdat" ], "wednesday": [ - "gaskavahku" + "ga" ], "thursday": [ - "duorastaga" + "du", + "duorastat" ], "friday": [ - "bearjadaga" + "be" ], "saturday": [ - "lávvardaga" + "lá", + "lávvordat" + ], + "sunday": [ + "so" ], "year": [ "j", "jahki" ], + "month": [ + "m" + ], "week": [ + "v(k)", "vahkku" ], + "day": [ + "b" + ], + "hour": [ + "dmu" + ], + "minute": [ + "min" + ], + "second": [ + "sek" + ], "relative-type": { + "0 hour ago": [ + "dán diimmu" + ], + "0 minute ago": [ + "dán minuhta" + ], + "0 month ago": [ + "dán mánu" + ], + "0 second ago": [ + "dál" + ], + "0 week ago": [ + "dán vahku" + ], "0 year ago": [ "dán jagi" ], + "1 month ago": [ + "mannan mánu" + ], + "1 week ago": [ + "mannan vahku" + ], "1 year ago": [ - "mannan jagi" + "diibmá" + ], + "in 1 month": [ + "boahtte mánu" + ], + "in 1 week": [ + "boahtte vahku" ], "in 1 year": [ "boahtte jagi" ] }, "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) beaivve dás ovdal" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) diibmu áigi", + "(\\d+[.,]?\\d*) diimmu áigi", + "(\\d+[.,]?\\d*) dmu áigi" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) min áigi", + "(\\d+[.,]?\\d*) minuhta áigi", + "(\\d+[.,]?\\d*) minuhtta áigi" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) mánnu dás ovdal", + "(\\d+[.,]?\\d*) mánu dás ovdal" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) sek áigi", + "(\\d+[.,]?\\d*) sekunda áigi", + "(\\d+[.,]?\\d*) sekundda áigi" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) vahkku dás ovdal", + "(\\d+[.,]?\\d*) vahku dás ovdal" + ], "\\1 year ago": [ - "(\\d+[.,]?\\d*) jagi árat" + "(\\d+[.,]?\\d*) j dás ovdal", + "(\\d+[.,]?\\d*) jagi dás ovdal" + ], + "in \\1 day": [ + "(\\d+[.,]?\\d*) beaivve siste" + ], + "in \\1 hour": [ + "(\\d+[.,]?\\d*) diimmu siste", + "(\\d+[.,]?\\d*) dmu siste" + ], + "in \\1 minute": [ + "(\\d+[.,]?\\d*) min siste", + "(\\d+[.,]?\\d*) minuhta siste" + ], + "in \\1 month": [ + "(\\d+[.,]?\\d*) mánu geahčen", + "(\\d+[.,]?\\d*) mánu siste" + ], + "in \\1 second": [ + "(\\d+[.,]?\\d*) sek siste", + "(\\d+[.,]?\\d*) sekundda siste" + ], + "in \\1 week": [ + "(\\d+[.,]?\\d*) vahku geahčen" ], "in \\1 year": [ + "(\\d+[.,]?\\d*) j siste", "(\\d+[.,]?\\d*) jagi siste" ] } diff --git a/dateparser/data/date_translation_data/seh.py b/dateparser/data/date_translation_data/seh.py index 608c8d163..fc573e737 100644 --- a/dateparser/data/date_translation_data/seh.py +++ b/dateparser/data/date_translation_data/seh.py @@ -96,7 +96,8 @@ "ntsiku" ], "hour": [ - "hora" + "hora", + "hr" ], "minute": [ "minuto" diff --git a/dateparser/data/date_translation_data/ses.py b/dateparser/data/date_translation_data/ses.py index 4ced09b8b..e99bb38f9 100644 --- a/dateparser/data/date_translation_data/ses.py +++ b/dateparser/data/date_translation_data/ses.py @@ -94,7 +94,8 @@ "zaari" ], "hour": [ - "guuru" + "guuru", + "hr" ], "minute": [ "miniti" diff --git a/dateparser/data/date_translation_data/sg.py b/dateparser/data/date_translation_data/sg.py index 65b0ff2ad..fdfb4f07d 100644 --- a/dateparser/data/date_translation_data/sg.py +++ b/dateparser/data/date_translation_data/sg.py @@ -96,6 +96,7 @@ "lâ" ], "hour": [ + "hr", "ngbonga" ], "minute": [ diff --git a/dateparser/data/date_translation_data/shi-Latn.py b/dateparser/data/date_translation_data/shi-Latn.py index 0943af4f1..82faaefb7 100644 --- a/dateparser/data/date_translation_data/shi-Latn.py +++ b/dateparser/data/date_translation_data/shi-Latn.py @@ -96,6 +96,7 @@ "ass" ], "hour": [ + "hr", "tasragt" ], "minute": [ diff --git a/dateparser/data/date_translation_data/shi-Tfng.py b/dateparser/data/date_translation_data/shi-Tfng.py index d8601fa30..a033c6cbd 100644 --- a/dateparser/data/date_translation_data/shi-Tfng.py +++ b/dateparser/data/date_translation_data/shi-Tfng.py @@ -96,6 +96,7 @@ "ⴰⵙⵙ" ], "hour": [ + "hr", "ⵜⴰⵙⵔⴰⴳⵜ" ], "minute": [ diff --git a/dateparser/data/date_translation_data/shi.py b/dateparser/data/date_translation_data/shi.py index 4c498356f..ce1f623e9 100644 --- a/dateparser/data/date_translation_data/shi.py +++ b/dateparser/data/date_translation_data/shi.py @@ -96,6 +96,7 @@ "ⴰⵙⵙ" ], "hour": [ + "hr", "ⵜⴰⵙⵔⴰⴳⵜ" ], "minute": [ diff --git a/dateparser/data/date_translation_data/shn.py b/dateparser/data/date_translation_data/shn.py new file mode 100644 index 000000000..6da6e3d92 --- /dev/null +++ b/dateparser/data/date_translation_data/shn.py @@ -0,0 +1,119 @@ +info = { + "name": "shn", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "shn-TH": { + "name": "shn-TH" + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/si.py b/dateparser/data/date_translation_data/si.py index d69a822b8..8e4f4569a 100644 --- a/dateparser/data/date_translation_data/si.py +++ b/dateparser/data/date_translation_data/si.py @@ -92,16 +92,13 @@ "දිනය" ], "hour": [ - "පැ", "පැය" ], "minute": [ - "මි", "මිනි", "මිනිත්තුව" ], "second": [ - "ත", "තත්", "තත්පරය" ], diff --git a/dateparser/data/date_translation_data/sid.py b/dateparser/data/date_translation_data/sid.py new file mode 100644 index 000000000..99a1beb77 --- /dev/null +++ b/dateparser/data/date_translation_data/sid.py @@ -0,0 +1,115 @@ +info = { + "name": "sid", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/sk.py b/dateparser/data/date_translation_data/sk.py index df71e31ba..8abfbb2d4 100644 --- a/dateparser/data/date_translation_data/sk.py +++ b/dateparser/data/date_translation_data/sk.py @@ -113,7 +113,8 @@ ], "hour": [ "h", - "hodina" + "hodina", + "hodiny" ], "minute": [ "min", @@ -134,12 +135,14 @@ "v tejto minúte" ], "0 month ago": [ + "tento mes", "tento mesiac" ], "0 second ago": [ "teraz" ], "0 week ago": [ + "tento týž", "tento týždeň" ], "0 year ago": [ @@ -149,9 +152,11 @@ "včera" ], "1 month ago": [ + "minulý mes", "minulý mesiac" ], "1 week ago": [ + "minulý týž", "minulý týždeň" ], "1 year ago": [ @@ -161,9 +166,11 @@ "zajtra" ], "in 1 month": [ + "budúci mes", "budúci mesiac" ], "in 1 week": [ + "budúci týž", "budúci týždeň" ], "in 1 year": [ diff --git a/dateparser/data/date_translation_data/skr.py b/dateparser/data/date_translation_data/skr.py new file mode 100644 index 000000000..7f66fd8ef --- /dev/null +++ b/dateparser/data/date_translation_data/skr.py @@ -0,0 +1,115 @@ +info = { + "name": "skr", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/sl.py b/dateparser/data/date_translation_data/sl.py index 4985c9b9e..547e230fd 100644 --- a/dateparser/data/date_translation_data/sl.py +++ b/dateparser/data/date_translation_data/sl.py @@ -100,7 +100,8 @@ ], "hour": [ "h", - "ura" + "ura", + "ure" ], "minute": [ "min", @@ -122,12 +123,14 @@ "to minuto" ], "0 month ago": [ + "ta mes", "ta mesec" ], "0 second ago": [ "zdaj" ], "0 week ago": [ + "ta ted", "ta teden" ], "0 year ago": [ @@ -137,9 +140,13 @@ "včeraj" ], "1 month ago": [ + "prej mes", + "prejšnji mes", "prejšnji mesec" ], "1 week ago": [ + "prej ted", + "prejšnji ted", "prejšnji teden" ], "1 year ago": [ @@ -149,9 +156,13 @@ "jutri" ], "in 1 month": [ + "nasl mes", + "naslednji mes", "naslednji mesec" ], "in 1 week": [ + "nasl ted", + "naslednji ted", "naslednji teden" ], "in 1 year": [ diff --git a/dateparser/data/date_translation_data/sma.py b/dateparser/data/date_translation_data/sma.py new file mode 100644 index 000000000..a6c8a6ba2 --- /dev/null +++ b/dateparser/data/date_translation_data/sma.py @@ -0,0 +1,119 @@ +info = { + "name": "sma", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "sma-NO": { + "name": "sma-NO" + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/smj.py b/dateparser/data/date_translation_data/smj.py new file mode 100644 index 000000000..73a063cea --- /dev/null +++ b/dateparser/data/date_translation_data/smj.py @@ -0,0 +1,119 @@ +info = { + "name": "smj", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "smj-NO": { + "name": "smj-NO" + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/smn.py b/dateparser/data/date_translation_data/smn.py index 628485a1f..59395dc34 100644 --- a/dateparser/data/date_translation_data/smn.py +++ b/dateparser/data/date_translation_data/smn.py @@ -103,7 +103,8 @@ "day" ], "hour": [ - "hour" + "hour", + "tiijmeh" ], "minute": [ "minute" diff --git a/dateparser/data/date_translation_data/sms.py b/dateparser/data/date_translation_data/sms.py new file mode 100644 index 000000000..5889aeb56 --- /dev/null +++ b/dateparser/data/date_translation_data/sms.py @@ -0,0 +1,115 @@ +info = { + "name": "sms", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/sn.py b/dateparser/data/date_translation_data/sn.py index b22665608..40f4cb9a2 100644 --- a/dateparser/data/date_translation_data/sn.py +++ b/dateparser/data/date_translation_data/sn.py @@ -96,7 +96,8 @@ "zuva" ], "hour": [ - "awa" + "awa", + "hr" ], "minute": [ "mineti" diff --git a/dateparser/data/date_translation_data/so.py b/dateparser/data/date_translation_data/so.py index 9430810a3..dbe8dab58 100644 --- a/dateparser/data/date_translation_data/so.py +++ b/dateparser/data/date_translation_data/so.py @@ -3,152 +3,244 @@ "date_order": "DMY", "january": [ "bisha koobaad", - "kob" + "jan", + "jannaayo" ], "february": [ "bisha labaad", - "lab" + "feb", + "febraayo" ], "march": [ "bisha saddexaad", - "sad" + "maarso", + "mar" ], "april": [ - "afr", + "abr", + "abriil", "bisha afraad" ], "may": [ "bisha shanaad", - "sha" + "may" ], "june": [ "bisha lixaad", - "lix" + "jun", + "juun" ], "july": [ "bisha todobaad", - "tod" + "lul", + "luuliyo" ], "august": [ "bisha sideedaad", - "sid" + "ogosto", + "ogs" ], "september": [ "bisha sagaalaad", - "sag" + "seb", + "sebteembar" ], "october": [ "bisha tobnaad", - "tob" + "okt", + "oktoobar" ], "november": [ "bisha kow iyo tobnaad", - "kit" + "nof", + "noofeembar" ], "december": [ "bisha laba iyo tobnaad", - "lit" + "dis", + "diseembar" ], "monday": [ "isn", "isniin" ], "tuesday": [ - "tal", - "talaado" + "talaado", + "tldo" ], "wednesday": [ - "arb", - "arbaco" + "arbaco", + "arbc" ], "thursday": [ - "kha", - "khamiis" + "khamiis", + "khms" ], "friday": [ - "jim", - "jimco" + "jimco", + "jmc" ], "saturday": [ - "sab", - "sabti" + "sabti", + "sbti" ], "sunday": [ "axad", "axd" ], "am": [ - "sn" + "am", + "gh" ], "pm": [ - "gn" + "gd" ], "year": [ - "year" + "sannad", + "snd" ], "month": [ - "month" + "bil" ], "week": [ - "week" + "tdbd", + "toddobaad" ], "day": [ - "day" + "maalin", + "mln" ], "hour": [ - "hour" + "saacad", + "saacado", + "scd" ], "minute": [ - "minute" + "daqiiqad", + "dqqd" ], "second": [ - "second" + "ilbiriqsi", + "ilbrqsi" ], "relative-type": { "0 day ago": [ "maanta" ], "0 hour ago": [ - "this hour" + "saacadan" ], "0 minute ago": [ - "this minute" + "daqiiqadan" ], "0 month ago": [ - "this month" + "bishan" ], "0 second ago": [ - "now" + "imika", + "iminka" ], "0 week ago": [ - "this week" + "toddobaadkan", + "usbuucan" ], "0 year ago": [ - "this year" + "sannadkan" ], "1 day ago": [ "shalay" ], "1 month ago": [ - "last month" + "bishii hore" ], "1 week ago": [ - "last week" + "toddobaadkii hore" ], "1 year ago": [ - "last year" + "sannadkii hore", + "sannadkii la soo dhaafay" ], "in 1 day": [ "berri" ], "in 1 month": [ - "next month" + "bisha danbe" ], "in 1 week": [ - "next week" + "toddobaadka danbe" ], "in 1 year": [ - "next year" + "sannadka danbe", + "sannadka xiga" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) maalin kahor", + "(\\d+[.,]?\\d*) maalmood kahor", + "(\\d+[.,]?\\d*) mlmd khr", + "(\\d+[.,]?\\d*) mln khr" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) saacad kahor", + "(\\d+[.,]?\\d*) saacadood kahor", + "(\\d+[.,]?\\d*) scd khr" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) daqiiqad kahor", + "(\\d+[.,]?\\d*) daqiiqadood kahor", + "(\\d+[.,]?\\d*) dqqd khr" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) bil kahor", + "(\\d+[.,]?\\d*) bil khr", + "(\\d+[.,]?\\d*) bilood kahor" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) ilbiriqsi kahor", + "(\\d+[.,]?\\d*) ilbrqsi khr" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) tdbd khr", + "(\\d+[.,]?\\d*) toddobaad kahor" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) sannad kahor", + "(\\d+[.,]?\\d*) sannadood kahor", + "(\\d+[.,]?\\d*) snd khr" + ], + "in \\1 day": [ + "(\\d+[.,]?\\d*) maalin", + "(\\d+[.,]?\\d*) maalmood", + "(\\d+[.,]?\\d*) mlmd", + "(\\d+[.,]?\\d*) mln" + ], + "in \\1 hour": [ + "(\\d+[.,]?\\d*) saacad", + "(\\d+[.,]?\\d*) saacadood", + "(\\d+[.,]?\\d*) scd" + ], + "in \\1 minute": [ + "(\\d+[.,]?\\d*) daqiidadood", + "(\\d+[.,]?\\d*) daqiiqad", + "(\\d+[.,]?\\d*) dqqd" + ], + "in \\1 month": [ + "(\\d+[.,]?\\d*) bil", + "(\\d+[.,]?\\d*) bilood" + ], + "in \\1 second": [ + "(\\d+[.,]?\\d*) ilbiriqsi", + "(\\d+[.,]?\\d*) ilbrqsi" + ], + "in \\1 week": [ + "(\\d+[.,]?\\d*) tdbd", + "(\\d+[.,]?\\d*) toddobaad" + ], + "in \\1 year": [ + "(\\d+[.,]?\\d*) sannad", + "(\\d+[.,]?\\d*) sannadood", + "(\\d+[.,]?\\d*) snd" ] }, "locale_specific": { diff --git a/dateparser/data/date_translation_data/sq.py b/dateparser/data/date_translation_data/sq.py index a43364af2..4ac685ef0 100644 --- a/dateparser/data/date_translation_data/sq.py +++ b/dateparser/data/date_translation_data/sq.py @@ -25,11 +25,11 @@ "qershor" ], "july": [ - "kor", + "korr", "korrik" ], "august": [ - "gsh", + "gush", "gusht" ], "september": [ @@ -78,10 +78,12 @@ ], "am": [ "e paradites", - "paradite" + "paradite", + "pd" ], "pm": [ "e pasdites", + "md", "pasdite" ], "year": [ @@ -127,7 +129,8 @@ "këtë javë" ], "0 year ago": [ - "këtë vit" + "këtë vit", + "sivjet" ], "1 day ago": [ "dje" @@ -139,7 +142,8 @@ "javën e kaluar" ], "1 year ago": [ - "vitin e kaluar" + "vitin e kaluar", + "vjet" ], "in 1 day": [ "nesër" @@ -151,6 +155,7 @@ "javën e ardhshme" ], "in 1 year": [ + "mot", "vitin e ardhshëm" ] }, diff --git a/dateparser/data/date_translation_data/sr-Cyrl.py b/dateparser/data/date_translation_data/sr-Cyrl.py index 4e15696b9..d339332e4 100644 --- a/dateparser/data/date_translation_data/sr-Cyrl.py +++ b/dateparser/data/date_translation_data/sr-Cyrl.py @@ -75,10 +75,10 @@ "недеља" ], "am": [ - "пре подне" + "am" ], "pm": [ - "по подне" + "pm" ], "year": [ "г", @@ -86,12 +86,10 @@ "година" ], "month": [ - "м", "мес", "месец" ], "week": [ - "н", "нед", "недеља" ], @@ -101,6 +99,7 @@ ], "hour": [ "сат", + "сати", "ч" ], "minute": [ @@ -123,39 +122,54 @@ "овог минута" ], "0 month ago": [ + "овог мес", "овог месеца" ], "0 second ago": [ "сада" ], "0 week ago": [ + "ове н", + "ове нед", "ове недеље" ], "0 year ago": [ + "ове г", + "ове год", "ове године" ], "1 day ago": [ "јуче" ], "1 month ago": [ + "прошлог мес", "прошлог месеца" ], "1 week ago": [ + "прошле н", + "прошле нед", "прошле недеље" ], "1 year ago": [ + "прошле г", + "прошле год", "прошле године" ], "in 1 day": [ "сутра" ], "in 1 month": [ + "следећег мес", "следећег месеца" ], "in 1 week": [ + "следеће н", + "следеће нед", "следеће недеље" ], "in 1 year": [ + "следеће г", + "следеће год", "следеће године" ] }, @@ -240,14 +254,11 @@ "locale_specific": { "sr-Cyrl-BA": { "name": "sr-Cyrl-BA", - "september": [ - "септ" - ], - "tuesday": [ - "ут" + "monday": [ + "понедјељак" ], "wednesday": [ - "ср", + "сри", "сриједа" ], "sunday": [ @@ -255,18 +266,110 @@ ], "am": [ "прије подне" - ] + ], + "pm": [ + "по подне" + ], + "month": [ + "мјес", + "мјесец" + ], + "week": [ + "седм", + "седмица" + ], + "relative-type": { + "0 month ago": [ + "овог мјес", + "овог мјесеца" + ], + "0 week ago": [ + "ове с", + "ове седм", + "ове седмице" + ], + "1 month ago": [ + "прошлог мјес", + "прошлог мјесеца" + ], + "1 week ago": [ + "прошле с", + "прошле седм", + "прошле седмице" + ], + "in 1 month": [ + "сљедећег м", + "сљедећег мјес", + "сљедећег мјесеца" + ], + "in 1 week": [ + "сљедеће с", + "сљедеће седм", + "сљедеће седмице" + ], + "in 1 year": [ + "сљедеће г", + "сљедеће год", + "сљедеће године" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "прије (\\d+[.,]?\\d*) д", + "прије (\\d+[.,]?\\d*) дана" + ], + "\\1 hour ago": [ + "прије (\\d+[.,]?\\d*) сата", + "прије (\\d+[.,]?\\d*) сати", + "прије (\\d+[.,]?\\d*) ч" + ], + "\\1 minute ago": [ + "прије (\\d+[.,]?\\d*) мин", + "прије (\\d+[.,]?\\d*) минута" + ], + "\\1 month ago": [ + "прије (\\d+[.,]?\\d*) м", + "прије (\\d+[.,]?\\d*) мјес", + "прије (\\d+[.,]?\\d*) мјесеца", + "прије (\\d+[.,]?\\d*) мјесеци" + ], + "\\1 second ago": [ + "прије (\\d+[.,]?\\d*) с", + "прије (\\d+[.,]?\\d*) сек", + "прије (\\d+[.,]?\\d*) секунде", + "прије (\\d+[.,]?\\d*) секунди" + ], + "\\1 week ago": [ + "прије (\\d+[.,]?\\d*) с", + "прије (\\d+[.,]?\\d*) седм", + "прије (\\d+[.,]?\\d*) седмица", + "прије (\\d+[.,]?\\d*) седмице" + ], + "\\1 year ago": [ + "прије (\\d+[.,]?\\d*) г", + "прије (\\d+[.,]?\\d*) год", + "прије (\\d+[.,]?\\d*) година", + "прије (\\d+[.,]?\\d*) године" + ], + "in \\1 month": [ + "за (\\d+[.,]?\\d*) мјес", + "за (\\d+[.,]?\\d*) мјесец", + "за (\\d+[.,]?\\d*) мјесеци" + ], + "in \\1 week": [ + "за (\\d+[.,]?\\d*) с", + "за (\\d+[.,]?\\d*) седм", + "за (\\d+[.,]?\\d*) седмица", + "за (\\d+[.,]?\\d*) седмицу" + ] + } }, "sr-Cyrl-ME": { "name": "sr-Cyrl-ME", "september": [ "септ" ], - "tuesday": [ - "ут" - ], "wednesday": [ - "ср", "сриједа" ], "sunday": [ @@ -274,18 +377,15 @@ ], "am": [ "прије подне" + ], + "pm": [ + "по подне" ] }, "sr-Cyrl-XK": { "name": "sr-Cyrl-XK", "september": [ "септ" - ], - "tuesday": [ - "ут" - ], - "wednesday": [ - "ср" ] } }, diff --git a/dateparser/data/date_translation_data/sr-Latn.py b/dateparser/data/date_translation_data/sr-Latn.py index a0daf4639..5ff07d214 100644 --- a/dateparser/data/date_translation_data/sr-Latn.py +++ b/dateparser/data/date_translation_data/sr-Latn.py @@ -75,10 +75,10 @@ "nedelja" ], "am": [ - "pre podne" + "am" ], "pm": [ - "po podne" + "pm" ], "year": [ "g", @@ -86,12 +86,10 @@ "godina" ], "month": [ - "m", "mes", "mesec" ], "week": [ - "n", "ned", "nedelja" ], @@ -101,6 +99,7 @@ ], "hour": [ "sat", + "sati", "č" ], "minute": [ @@ -123,39 +122,54 @@ "ovog minuta" ], "0 month ago": [ + "ovog mes", "ovog meseca" ], "0 second ago": [ "sada" ], "0 week ago": [ + "ove n", + "ove ned", "ove nedelje" ], "0 year ago": [ + "ove g", + "ove god", "ove godine" ], "1 day ago": [ "juče" ], "1 month ago": [ + "prošlog mes", "prošlog meseca" ], "1 week ago": [ + "prošle n", + "prošle ned", "prošle nedelje" ], "1 year ago": [ + "prošle g", + "prošle god", "prošle godine" ], "in 1 day": [ "sutra" ], "in 1 month": [ + "sledećeg mes", "sledećeg meseca" ], "in 1 week": [ + "sledeće n", + "sledeće ned", "sledeće nedelje" ], "in 1 year": [ + "sledeće g", + "sledeće god", "sledeće godine" ] }, @@ -240,14 +254,11 @@ "locale_specific": { "sr-Latn-BA": { "name": "sr-Latn-BA", - "september": [ - "sept" - ], - "tuesday": [ - "ut" + "monday": [ + "ponedjeljak" ], "wednesday": [ - "sr", + "sri", "srijeda" ], "sunday": [ @@ -255,18 +266,110 @@ ], "am": [ "prije podne" - ] + ], + "pm": [ + "po podne" + ], + "month": [ + "mjes", + "mjesec" + ], + "week": [ + "sedm", + "sedmica" + ], + "relative-type": { + "0 month ago": [ + "ovog mjes", + "ovog mjeseca" + ], + "0 week ago": [ + "ove s", + "ove sedm", + "ove sedmice" + ], + "1 month ago": [ + "prošlog mjes", + "prošlog mjeseca" + ], + "1 week ago": [ + "prošle s", + "prošle sedm", + "prošle sedmice" + ], + "in 1 month": [ + "sljedećeg m", + "sljedećeg mjes", + "sljedećeg mjeseca" + ], + "in 1 week": [ + "sljedeće s", + "sljedeće sedm", + "sljedeće sedmice" + ], + "in 1 year": [ + "sljedeće g", + "sljedeće god", + "sljedeće godine" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "prije (\\d+[.,]?\\d*) d", + "prije (\\d+[.,]?\\d*) dana" + ], + "\\1 hour ago": [ + "prije (\\d+[.,]?\\d*) sata", + "prije (\\d+[.,]?\\d*) sati", + "prije (\\d+[.,]?\\d*) č" + ], + "\\1 minute ago": [ + "prije (\\d+[.,]?\\d*) min", + "prije (\\d+[.,]?\\d*) minuta" + ], + "\\1 month ago": [ + "prije (\\d+[.,]?\\d*) m", + "prije (\\d+[.,]?\\d*) mjes", + "prije (\\d+[.,]?\\d*) mjeseca", + "prije (\\d+[.,]?\\d*) mjeseci" + ], + "\\1 second ago": [ + "prije (\\d+[.,]?\\d*) s", + "prije (\\d+[.,]?\\d*) sek", + "prije (\\d+[.,]?\\d*) sekunde", + "prije (\\d+[.,]?\\d*) sekundi" + ], + "\\1 week ago": [ + "prije (\\d+[.,]?\\d*) s", + "prije (\\d+[.,]?\\d*) sedm", + "prije (\\d+[.,]?\\d*) sedmica", + "prije (\\d+[.,]?\\d*) sedmice" + ], + "\\1 year ago": [ + "prije (\\d+[.,]?\\d*) g", + "prije (\\d+[.,]?\\d*) god", + "prije (\\d+[.,]?\\d*) godina", + "prije (\\d+[.,]?\\d*) godine" + ], + "in \\1 month": [ + "za (\\d+[.,]?\\d*) mjes", + "za (\\d+[.,]?\\d*) mjesec", + "za (\\d+[.,]?\\d*) mjeseci" + ], + "in \\1 week": [ + "za (\\d+[.,]?\\d*) s", + "za (\\d+[.,]?\\d*) sedm", + "za (\\d+[.,]?\\d*) sedmica", + "za (\\d+[.,]?\\d*) sedmicu" + ] + } }, "sr-Latn-ME": { "name": "sr-Latn-ME", "september": [ "sept" ], - "tuesday": [ - "ut" - ], "wednesday": [ - "sr", "srijeda" ], "sunday": [ @@ -274,18 +377,15 @@ ], "am": [ "prije podne" + ], + "pm": [ + "po podne" ] }, "sr-Latn-XK": { "name": "sr-Latn-XK", "september": [ "sept" - ], - "tuesday": [ - "ut" - ], - "wednesday": [ - "sr" ] } }, diff --git a/dateparser/data/date_translation_data/sr.py b/dateparser/data/date_translation_data/sr.py index 42a967bc9..bc8d1dabf 100644 --- a/dateparser/data/date_translation_data/sr.py +++ b/dateparser/data/date_translation_data/sr.py @@ -75,10 +75,10 @@ "недеља" ], "am": [ - "пре подне" + "am" ], "pm": [ - "по подне" + "pm" ], "year": [ "г", @@ -86,12 +86,10 @@ "година" ], "month": [ - "м", "мес", "месец" ], "week": [ - "н", "нед", "недеља" ], @@ -101,6 +99,7 @@ ], "hour": [ "сат", + "сати", "ч" ], "minute": [ @@ -123,39 +122,54 @@ "овог минута" ], "0 month ago": [ + "овог мес", "овог месеца" ], "0 second ago": [ "сада" ], "0 week ago": [ + "ове н", + "ове нед", "ове недеље" ], "0 year ago": [ + "ове г", + "ове год", "ове године" ], "1 day ago": [ "јуче" ], "1 month ago": [ + "прошлог мес", "прошлог месеца" ], "1 week ago": [ + "прошле н", + "прошле нед", "прошле недеље" ], "1 year ago": [ + "прошле г", + "прошле год", "прошле године" ], "in 1 day": [ "сутра" ], "in 1 month": [ + "следећег мес", "следећег месеца" ], "in 1 week": [ + "следеће н", + "следеће нед", "следеће недеље" ], "in 1 year": [ + "следеће г", + "следеће год", "следеће године" ] }, diff --git a/dateparser/data/date_translation_data/ss.py b/dateparser/data/date_translation_data/ss.py new file mode 100644 index 000000000..dcd189fd6 --- /dev/null +++ b/dateparser/data/date_translation_data/ss.py @@ -0,0 +1,119 @@ +info = { + "name": "ss", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "ss-SZ": { + "name": "ss-SZ" + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ssy.py b/dateparser/data/date_translation_data/ssy.py new file mode 100644 index 000000000..da90d9d45 --- /dev/null +++ b/dateparser/data/date_translation_data/ssy.py @@ -0,0 +1,115 @@ +info = { + "name": "ssy", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/st.py b/dateparser/data/date_translation_data/st.py new file mode 100644 index 000000000..782dd8e64 --- /dev/null +++ b/dateparser/data/date_translation_data/st.py @@ -0,0 +1,174 @@ +info = { + "name": "st", + "date_order": "YMD", + "january": [ + "phe", + "phesekgong" + ], + "february": [ + "hlakola", + "kol" + ], + "march": [ + "hlakubele", + "ube" + ], + "april": [ + "mme", + "mmese" + ], + "may": [ + "mot", + "motsheanong" + ], + "june": [ + "jan", + "phupjane" + ], + "july": [ + "phupu", + "upu" + ], + "august": [ + "pha", + "phata" + ], + "september": [ + "leo", + "leotshe" + ], + "october": [ + "mph", + "mphalane" + ], + "november": [ + "pun", + "pundungwane" + ], + "december": [ + "tsh", + "tshitwe" + ], + "monday": [ + "mma", + "mmantaha" + ], + "tuesday": [ + "bed", + "labobedi" + ], + "wednesday": [ + "laboraru", + "rar" + ], + "thursday": [ + "labone", + "ne" + ], + "friday": [ + "hla", + "labohlane" + ], + "saturday": [ + "moq", + "moqebelo" + ], + "sunday": [ + "son", + "sontaha" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "st-LS": { + "name": "st-LS" + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/su-Latn.py b/dateparser/data/date_translation_data/su-Latn.py new file mode 100644 index 000000000..12c000bc4 --- /dev/null +++ b/dateparser/data/date_translation_data/su-Latn.py @@ -0,0 +1,175 @@ +info = { + "name": "su-Latn", + "date_order": "DMY", + "january": [ + "jan", + "januari" + ], + "february": [ + "péb", + "pébruari" + ], + "march": [ + "mar", + "maret" + ], + "april": [ + "apr", + "april" + ], + "may": [ + "méi" + ], + "june": [ + "jun", + "juni" + ], + "july": [ + "jul", + "juli" + ], + "august": [ + "ags", + "agustus" + ], + "september": [ + "sép", + "séptémber" + ], + "october": [ + "okt", + "oktober" + ], + "november": [ + "nop", + "nopémber" + ], + "december": [ + "dés", + "désémber" + ], + "monday": [ + "sen", + "senén" + ], + "tuesday": [ + "sal", + "salasa" + ], + "wednesday": [ + "reb", + "rebo" + ], + "thursday": [ + "kem", + "kemis" + ], + "friday": [ + "jum", + "jumaah" + ], + "saturday": [ + "sap", + "saptu" + ], + "sunday": [ + "minggu", + "mng" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "taun", + "tn" + ], + "month": [ + "sa", + "sasih" + ], + "week": [ + "mgg", + "minggu" + ], + "day": [ + "dinten" + ], + "hour": [ + "hr", + "j", + "jam" + ], + "minute": [ + "menit", + "mnt" + ], + "second": [ + "detik", + "dtk" + ], + "relative-type": { + "0 day ago": [ + "dinten ieu" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "taun ieu" + ], + "1 day ago": [ + "kamari" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "taun kamari" + ], + "in 1 day": [ + "énjing" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "taun payun" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/su.py b/dateparser/data/date_translation_data/su.py new file mode 100644 index 000000000..e7a40805f --- /dev/null +++ b/dateparser/data/date_translation_data/su.py @@ -0,0 +1,175 @@ +info = { + "name": "su", + "date_order": "DMY", + "january": [ + "jan", + "januari" + ], + "february": [ + "péb", + "pébruari" + ], + "march": [ + "mar", + "maret" + ], + "april": [ + "apr", + "april" + ], + "may": [ + "méi" + ], + "june": [ + "jun", + "juni" + ], + "july": [ + "jul", + "juli" + ], + "august": [ + "ags", + "agustus" + ], + "september": [ + "sép", + "séptémber" + ], + "october": [ + "okt", + "oktober" + ], + "november": [ + "nop", + "nopémber" + ], + "december": [ + "dés", + "désémber" + ], + "monday": [ + "sen", + "senén" + ], + "tuesday": [ + "sal", + "salasa" + ], + "wednesday": [ + "reb", + "rebo" + ], + "thursday": [ + "kem", + "kemis" + ], + "friday": [ + "jum", + "jumaah" + ], + "saturday": [ + "sap", + "saptu" + ], + "sunday": [ + "minggu", + "mng" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "taun", + "tn" + ], + "month": [ + "sa", + "sasih" + ], + "week": [ + "mgg", + "minggu" + ], + "day": [ + "dinten" + ], + "hour": [ + "hr", + "j", + "jam" + ], + "minute": [ + "menit", + "mnt" + ], + "second": [ + "detik", + "dtk" + ], + "relative-type": { + "0 day ago": [ + "dinten ieu" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "taun ieu" + ], + "1 day ago": [ + "kamari" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "taun kamari" + ], + "in 1 day": [ + "énjing" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "taun payun" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/sv.py b/dateparser/data/date_translation_data/sv.py index 5f10e71e9..4185276de 100644 --- a/dateparser/data/date_translation_data/sv.py +++ b/dateparser/data/date_translation_data/sv.py @@ -114,6 +114,7 @@ "hour": [ "h", "tim", + "timmar", "timme", "timmar", "t" @@ -133,6 +134,7 @@ "relative-type": { "0 day ago": [ "i dag", + "idag", "idag" ], "0 hour ago": [ @@ -142,8 +144,8 @@ "denna minut" ], "0 month ago": [ - "denna mån", - "denna månad" + "den här månaden", + "denna mån" ], "0 second ago": [ "nu" @@ -157,6 +159,7 @@ ], "1 day ago": [ "i går", + "igår", "igår" ], "1 month ago": [ @@ -173,6 +176,7 @@ ], "in 1 day": [ "i morgon", + "imorgon", "imorgon" ], "in 1 month": [ @@ -204,19 +208,19 @@ "−(\\d+[.,]?\\d*) h" ], "\\1 minute ago": [ - "för (\\d+[.,]?\\d*) min sedan", + "för (\\d+[.,]?\\d*) min sen", "för (\\d+[.,]?\\d*) minut sedan", "för (\\d+[.,]?\\d*) minuter sedan", "−(\\d+[.,]?\\d*) min" ], "\\1 month ago": [ - "för (\\d+[.,]?\\d*) mån sedan", + "för (\\d+[.,]?\\d*) mån sen", "för (\\d+[.,]?\\d*) månad sedan", "för (\\d+[.,]?\\d*) månader sedan", "−(\\d+[.,]?\\d*) mån" ], "\\1 second ago": [ - "för (\\d+[.,]?\\d*) sek sedan", + "för (\\d+[.,]?\\d*) s sen", "för (\\d+[.,]?\\d*) sekund sedan", "för (\\d+[.,]?\\d*) sekunder sedan", "−(\\d+[.,]?\\d*) s" @@ -229,6 +233,7 @@ ], "\\1 year ago": [ "för (\\d+[.,]?\\d*) år sedan", + "för (\\d+[.,]?\\d*) år sen", "−(\\d+[.,]?\\d*) år" ], "in \\1 day": [ @@ -270,8 +275,7 @@ "name": "sv-AX" }, "sv-FI": { - "name": "sv-FI", - "date_order": "DMY" + "name": "sv-FI" } }, "skip": [ diff --git a/dateparser/data/date_translation_data/sw.py b/dateparser/data/date_translation_data/sw.py index eee516e31..1b0dd60fa 100644 --- a/dateparser/data/date_translation_data/sw.py +++ b/dateparser/data/date_translation_data/sw.py @@ -70,11 +70,9 @@ "jumapili" ], "am": [ - "am", - "asubuhi" + "am" ], "pm": [ - "mchana", "pm" ], "year": [ diff --git a/dateparser/data/date_translation_data/syr.py b/dateparser/data/date_translation_data/syr.py new file mode 100644 index 000000000..4de923e7e --- /dev/null +++ b/dateparser/data/date_translation_data/syr.py @@ -0,0 +1,211 @@ +info = { + "name": "syr", + "date_order": "DMY", + "january": [ + "ܟܢܘܢ ܐܚܪܝܐ", + "ܟܢܘܢ ܒ" + ], + "february": [ + "ܫܒܛ" + ], + "march": [ + "ܐܕܪ" + ], + "april": [ + "ܢܝܣܢ" + ], + "may": [ + "ܐܝܪ" + ], + "june": [ + "ܚܙܝܪܢ" + ], + "july": [ + "ܬܡܘܙ" + ], + "august": [ + "ܐܒ" + ], + "september": [ + "ܐܝܠܘܠ" + ], + "october": [ + "ܬܫܪܝܢ ܐ", + "ܬܫܪܝܢ ܩܕܡܝܐ" + ], + "november": [ + "ܬܫܪܝܢ ܐܚܪܝܐ", + "ܬܫܪܝܢ ܒ" + ], + "december": [ + "ܟܢܘܢ ܐ", + "ܟܢܘܢ ܩܕܡܝܐ" + ], + "monday": [ + "ܬܪܝܢ", + "ܬܪܝܢܒܫܒܐ" + ], + "tuesday": [ + "ܬܠܬ", + "ܬܠܬܒܫܒܐ" + ], + "wednesday": [ + "ܐܪܒܥ", + "ܐܪܒܥܒܫܒܐ" + ], + "thursday": [ + "ܚܡܫ", + "ܚܡܫܒܫܒܐ" + ], + "friday": [ + "ܥܪܘ", + "ܥܪܘܒܬܐ" + ], + "saturday": [ + "ܫܒܬܐ" + ], + "sunday": [ + "ܚܕ", + "ܚܕܒܫܒܐ" + ], + "am": [ + "܏ܩܛ‌" + ], + "pm": [ + "܏ܒܛ‌" + ], + "year": [ + "ܫܢܬܐ" + ], + "month": [ + "ܝܪܚܐ" + ], + "week": [ + "ܫܒܐ", + "ܫܒܘܥܐ" + ], + "day": [ + "ܝܘܡܐ" + ], + "hour": [ + "ܫ̈ܥܐ", + "ܫܥܬܐ" + ], + "minute": [ + "ܩܛܝܢܬܐ" + ], + "second": [ + "ܪܦܦܐ" + ], + "relative-type": { + "0 day ago": [ + "ܐܕܝܘܡ" + ], + "0 hour ago": [ + "ܗܕܐ ܫܥܬܐ" + ], + "0 minute ago": [ + "ܗܢܐ ܩܛܝܢܬܐ" + ], + "0 month ago": [ + "ܗܢܐ ܝܪܚܐ" + ], + "0 second ago": [ + "ܗܫܐ" + ], + "0 week ago": [ + "ܗܕܐ ܫܒܘܥܐ" + ], + "0 year ago": [ + "ܗܕܐ ܫܢܬܐ" + ], + "1 day ago": [ + "ܐܬܡܠܝ" + ], + "1 month ago": [ + "ܝܪܚܐ ܕܕܥܒܪ" + ], + "1 week ago": [ + "ܫܒܘܥܐ ܕܕܥܒܪ" + ], + "1 year ago": [ + "ܐܫܬܩܕܝ" + ], + "in 1 day": [ + "ܝܘܡܐ ܕܐܬܐ" + ], + "in 1 month": [ + "ܝܪܚܐ ܕܐܬܐ" + ], + "in 1 week": [ + "ܫܒܘܥܐ ܕܐܬܐ" + ], + "in 1 year": [ + "ܫܢܬܐ ܐܚܪܬܐ" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "ܡ̣ܢ ܩܕܡ (\\d+[.,]?\\d*) ܝܘܡܢ̈ܐ" + ], + "\\1 hour ago": [ + "ܡ̣ܢ ܩܕܡ (\\d+[.,]?\\d*) ܫܥ̈ܐ" + ], + "\\1 minute ago": [ + "ܡ̣ܢ ܩܕܡ (\\d+[.,]?\\d*) ܩܛܝ̈ܢܐ" + ], + "\\1 month ago": [ + "ܡ̣ܢ ܩܕܡ (\\d+[.,]?\\d*) ܝܖ̈ܚܐ", + "ܡ̣ܢ ܩܕܡ (\\d+[.,]?\\d*) ܝܪ̈ܚܐ" + ], + "\\1 second ago": [ + "ܡ̣ܢ ܩܕܡ (\\d+[.,]?\\d*) ܖ̈ܦܦܐ" + ], + "\\1 week ago": [ + "ܡ̣ܢ ܩܕܡ (\\d+[.,]?\\d*) ܫܒ̈ܘܥܐ" + ], + "\\1 year ago": [ + "ܡ̣ܢ ܩܕܡ (\\d+[.,]?\\d*) ܫܢܝ̈ܐ" + ], + "in \\1 day": [ + "ܒ(\\d+[.,]?\\d*) ܝܘܡܢ̈ܐ" + ], + "in \\1 hour": [ + "ܒ(\\d+[.,]?\\d*) ܫܥ̈ܐ" + ], + "in \\1 minute": [ + "ܒ(\\d+[.,]?\\d*) ܩܛܝ̈ܢܐ" + ], + "in \\1 month": [ + "ܒ(\\d+[.,]?\\d*) ܝܪ̈ܚܐ" + ], + "in \\1 second": [ + "ܒ(\\d+[.,]?\\d*) ܪ̈ܦܦܐ" + ], + "in \\1 week": [ + "ܒ(\\d+[.,]?\\d*) ܫܒ̈ܘܥܐ" + ], + "in \\1 year": [ + "ܒ(\\d+[.,]?\\d*) ܫܢܝ̈ܐ" + ] + }, + "locale_specific": { + "syr-SY": { + "name": "syr-SY" + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/szl.py b/dateparser/data/date_translation_data/szl.py new file mode 100644 index 000000000..1bff6d6ed --- /dev/null +++ b/dateparser/data/date_translation_data/szl.py @@ -0,0 +1,151 @@ +info = { + "name": "szl", + "date_order": "YMD", + "january": [ + "stycznia" + ], + "february": [ + "lutego" + ], + "march": [ + "marca" + ], + "april": [ + "kwietnia" + ], + "may": [ + "moja" + ], + "june": [ + "czyrwca" + ], + "july": [ + "lipca" + ], + "august": [ + "siyrpnia" + ], + "september": [ + "września" + ], + "october": [ + "października" + ], + "november": [ + "listopada" + ], + "december": [ + "grudnia" + ], + "monday": [ + "pyńdziałek" + ], + "tuesday": [ + "wtorek" + ], + "wednesday": [ + "strzoda" + ], + "thursday": [ + "sztwortek" + ], + "friday": [ + "piōntek" + ], + "saturday": [ + "sobota" + ], + "sunday": [ + "niydziela" + ], + "am": [ + "do połedniŏ" + ], + "pm": [ + "po połedniu" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ta.py b/dateparser/data/date_translation_data/ta.py index 43c53f1b6..c44ecc85f 100644 --- a/dateparser/data/date_translation_data/ta.py +++ b/dateparser/data/date_translation_data/ta.py @@ -74,6 +74,7 @@ "ஞாயிறு" ], "am": [ + "am", "முற்பகல்" ], "pm": [ @@ -98,7 +99,8 @@ ], "hour": [ "ம", - "மணி" + "மணி", + "மணிநேரங்கள்" ], "minute": [ "நிமி", @@ -189,7 +191,7 @@ "(\\d+[.,]?\\d*) வா முன்", "(\\d+[.,]?\\d*) வார முன்", "(\\d+[.,]?\\d*) வாரங்களுக்கு முன்", - "(\\d+[.,]?\\d*) வாரத்திற்கு முன்பு" + "(\\d+[.,]?\\d*) வாரத்திற்கு முன்" ], "\\1 year ago": [ "(\\d+[.,]?\\d*) ஆ முன்", diff --git a/dateparser/data/date_translation_data/te.py b/dateparser/data/date_translation_data/te.py index c488d68fa..4877a7bda 100644 --- a/dateparser/data/date_translation_data/te.py +++ b/dateparser/data/date_translation_data/te.py @@ -92,15 +92,15 @@ "వారము" ], "day": [ - "ది", - "దినం" + "దినం", + "రోజు" ], "hour": [ "గం", - "గంట" + "గంట", + "గంటలు" ], "minute": [ - "ని", "నిమి", "నిమిషము" ], @@ -128,6 +128,8 @@ "ఈ వారం" ], "0 year ago": [ + "ఈ సం", + "ఈ సంవ", "ఈ సంవత్సరం" ], "1 day ago": [ @@ -140,6 +142,8 @@ "గత వారం" ], "1 year ago": [ + "గత సం", + "గత సంవ", "గత సంవత్సరం" ], "in 1 day": [ @@ -152,6 +156,8 @@ "తదుపరి వారం" ], "in 1 year": [ + "తదుపరి సం", + "తదుపరి సంవ", "తదుపరి సంవత్సరం" ] }, @@ -209,7 +215,8 @@ "in \\1 second": [ "(\\d+[.,]?\\d*) సెక లో", "(\\d+[.,]?\\d*) సెకనులో", - "(\\d+[.,]?\\d*) సెకన్లలో" + "(\\d+[.,]?\\d*) సెకన్లలో", + "(\\d+[.,]?\\d*) సెకలో" ], "in \\1 week": [ "(\\d+[.,]?\\d*) వారంలో", @@ -217,6 +224,7 @@ ], "in \\1 year": [ "(\\d+[.,]?\\d*) సంలో", + "(\\d+[.,]?\\d*) సంల్లో", "(\\d+[.,]?\\d*) సంవత్సరంలో", "(\\d+[.,]?\\d*) సంవత్సరాల్లో" ] diff --git a/dateparser/data/date_translation_data/teo.py b/dateparser/data/date_translation_data/teo.py index 94c9877e5..30a6bd1a3 100644 --- a/dateparser/data/date_translation_data/teo.py +++ b/dateparser/data/date_translation_data/teo.py @@ -96,7 +96,8 @@ "aparan" ], "hour": [ - "esaa" + "esaa", + "hr" ], "minute": [ "idakika" diff --git a/dateparser/data/date_translation_data/tg.py b/dateparser/data/date_translation_data/tg.py new file mode 100644 index 000000000..3639589bf --- /dev/null +++ b/dateparser/data/date_translation_data/tg.py @@ -0,0 +1,238 @@ +info = { + "name": "tg", + "date_order": "DMY", + "january": [ + "янв", + "январ" + ], + "february": [ + "фев", + "феврал" + ], + "march": [ + "мар", + "март" + ], + "april": [ + "апр", + "апрел" + ], + "may": [ + "май" + ], + "june": [ + "июн" + ], + "july": [ + "июл" + ], + "august": [ + "авг", + "август" + ], + "september": [ + "сен", + "сентябр" + ], + "october": [ + "окт", + "октябр" + ], + "november": [ + "ноя", + "ноябр" + ], + "december": [ + "дек", + "декабр" + ], + "monday": [ + "душанбе", + "дшб" + ], + "tuesday": [ + "сешанбе", + "сшб" + ], + "wednesday": [ + "чоршанбе", + "чшб" + ], + "thursday": [ + "панҷшанбе", + "пшб" + ], + "friday": [ + "ҷмъ", + "ҷумъа" + ], + "saturday": [ + "шанбе", + "шнб" + ], + "sunday": [ + "якшанбе", + "яшб" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "с", + "сол" + ], + "month": [ + "м", + "моҳ" + ], + "week": [ + "ҳ", + "ҳафта" + ], + "day": [ + "рӯз" + ], + "hour": [ + "hr", + "соат", + "ст" + ], + "minute": [ + "дақ", + "дақиқа" + ], + "second": [ + "сон", + "сония" + ], + "relative-type": { + "0 day ago": [ + "имрӯз" + ], + "0 hour ago": [ + "соати ҷорӣ" + ], + "0 minute ago": [ + "дақиқаи ҷорӣ" + ], + "0 month ago": [ + "моҳи ҷ", + "моҳи ҷорӣ" + ], + "0 second ago": [ + "ҳозир" + ], + "0 week ago": [ + "ҳафтаи ҷ", + "ҳафтаи ҷорӣ" + ], + "0 year ago": [ + "соли ҷ", + "соли ҷорӣ" + ], + "1 day ago": [ + "дирӯз" + ], + "1 month ago": [ + "моҳи г", + "моҳи гузашта" + ], + "1 week ago": [ + "ҳафтаи г", + "ҳафтаи гузашта" + ], + "1 year ago": [ + "соли г", + "соли гузашта" + ], + "in 1 day": [ + "фардо" + ], + "in 1 month": [ + "моҳи о", + "моҳи оянда" + ], + "in 1 week": [ + "ҳафтаи о", + "ҳафтаи оянда" + ], + "in 1 year": [ + "соли о", + "соли оянда" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) рӯз пеш" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) соат пеш", + "(\\d+[.,]?\\d*) ст пеш" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) дақ пеш", + "(\\d+[.,]?\\d*) дақиқа пеш" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) м пеш", + "(\\d+[.,]?\\d*) моҳ пеш" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) сон пеш", + "(\\d+[.,]?\\d*) сония пеш" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) ҳ пеш", + "(\\d+[.,]?\\d*) ҳафта пеш" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) с пеш", + "(\\d+[.,]?\\d*) сол пеш" + ], + "in \\1 day": [ + "пас аз (\\d+[.,]?\\d*) рӯз" + ], + "in \\1 hour": [ + "пас аз (\\d+[.,]?\\d*) соат", + "пас аз (\\d+[.,]?\\d*) ст" + ], + "in \\1 minute": [ + "пас аз (\\d+[.,]?\\d*) дақ", + "пас аз (\\d+[.,]?\\d*) дақиқа" + ], + "in \\1 month": [ + "пас аз (\\d+[.,]?\\d*) м", + "пас аз (\\d+[.,]?\\d*) моҳ" + ], + "in \\1 second": [ + "пас аз (\\d+[.,]?\\d*) сон", + "пас аз (\\d+[.,]?\\d*) сония" + ], + "in \\1 week": [ + "пас аз (\\d+[.,]?\\d*) ҳ", + "пас аз (\\d+[.,]?\\d*) ҳафта" + ], + "in \\1 year": [ + "пас аз (\\d+[.,]?\\d*) с", + "пас аз (\\d+[.,]?\\d*) сол" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/th.py b/dateparser/data/date_translation_data/th.py index 031920ced..59f2c42d5 100644 --- a/dateparser/data/date_translation_data/th.py +++ b/dateparser/data/date_translation_data/th.py @@ -117,9 +117,11 @@ "วันอาทิตย์ที่" ], "am": [ + "am", "ก่อนเที่ยง" ], "pm": [ + "pm", "หลังเที่ยง" ], "year": [ @@ -139,7 +141,6 @@ "ชั่วโมง" ], "minute": [ - "น", "นาที" ], "second": [ diff --git a/dateparser/data/date_translation_data/ti.py b/dateparser/data/date_translation_data/ti.py index 284937e53..315e6c360 100644 --- a/dateparser/data/date_translation_data/ti.py +++ b/dateparser/data/date_translation_data/ti.py @@ -52,7 +52,6 @@ "ሰኑይ" ], "tuesday": [ - "ሠሉስ", "ሰሉ", "ሰሉስ" ], @@ -62,8 +61,7 @@ ], "thursday": [ "ሓሙ", - "ሓሙስ", - "ኃሙስ" + "ሓሙስ" ], "friday": [ "ዓር", @@ -78,77 +76,124 @@ "ሰንበት" ], "am": [ - "ንጉሆ ሰዓተ" + "ቅቀ" ], "pm": [ - "ድሕር ሰዓት" + "ድቀ" ], "year": [ - "year" + "ዓመት" ], "month": [ - "month" + "ወርሒ" ], "week": [ - "week" + "ሰሙን" ], "day": [ - "day" + "መዓልቲ" ], "hour": [ - "hour" + "hr", + "ሰዓት" ], "minute": [ - "minute" + "ደቒ", + "ደቒቕ" ], "second": [ - "second" + "ካልኢት" ], "relative-type": { "0 day ago": [ - "today" + "ሎሚ" ], "0 hour ago": [ - "this hour" + "ኣብዚ ሰዓት" ], "0 minute ago": [ - "this minute" + "ኣብዚ ደቒቕ" ], "0 month ago": [ - "this month" + "ህሉው ወርሒ" ], "0 second ago": [ - "now" + "ሕጂ" ], "0 week ago": [ - "this week" + "ህሉው ሰሙን" ], "0 year ago": [ - "this year" + "ሎሚ ዓመት" ], "1 day ago": [ - "yesterday" + "ትማሊ" ], "1 month ago": [ - "last month" + "ዝሓለፈ ወርሒ" ], "1 week ago": [ - "last week" + "ዝሓለፈ ሰሙን" ], "1 year ago": [ - "last year" + "ዓሚ" ], "in 1 day": [ - "tomorrow" + "ጽባሕ" ], "in 1 month": [ - "next month" + "ዝመጽእ ወርሒ" ], "in 1 week": [ - "next week" + "ዝመጽእ ሰሙን" ], "in 1 year": [ - "next year" + "ንዓመታ" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "ቅድሚ (\\d+[.,]?\\d*) መዓልቲ", + "ኣብ (\\d+[.,]?\\d*) መዓልቲ" + ], + "\\1 hour ago": [ + "ቅድሚ (\\d+[.,]?\\d*) ሰዓት" + ], + "\\1 minute ago": [ + "ቅድሚ (\\d+[.,]?\\d*) ደቒቕ" + ], + "\\1 month ago": [ + "ቅድሚ (\\d+[.,]?\\d*) ወርሒ" + ], + "\\1 second ago": [ + "ቅድሚ (\\d+[.,]?\\d*) ካልኢት" + ], + "\\1 week ago": [ + "ቅድሚ (\\d+[.,]?\\d*) ሰሙን" + ], + "\\1 year ago": [ + "ቅድሚ (\\d+[.,]?\\d*) ዓ" + ], + "in \\1 day": [ + "ኣብ (\\d+[.,]?\\d*) መዓልቲ" + ], + "in \\1 hour": [ + "ኣብ (\\d+[.,]?\\d*) ሰዓት" + ], + "in \\1 minute": [ + "ኣብ (\\d+[.,]?\\d*) ደቒቕ" + ], + "in \\1 month": [ + "ኣብ (\\d+[.,]?\\d*) ወርሒ" + ], + "in \\1 second": [ + "ኣብ (\\d+[.,]?\\d*) ካልኢት" + ], + "in \\1 week": [ + "ኣብ (\\d+[.,]?\\d*) ሰሙን" + ], + "in \\1 year": [ + "ኣብ (\\d+[.,]?\\d*) ዓ" ] }, "locale_specific": { diff --git a/dateparser/data/date_translation_data/tig.py b/dateparser/data/date_translation_data/tig.py new file mode 100644 index 000000000..efa803337 --- /dev/null +++ b/dateparser/data/date_translation_data/tig.py @@ -0,0 +1,115 @@ +info = { + "name": "tig", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/tn.py b/dateparser/data/date_translation_data/tn.py new file mode 100644 index 000000000..a0e333970 --- /dev/null +++ b/dateparser/data/date_translation_data/tn.py @@ -0,0 +1,174 @@ +info = { + "name": "tn", + "date_order": "YMD", + "january": [ + "fer", + "ferikgong" + ], + "february": [ + "tlh", + "tlhakole" + ], + "march": [ + "mop", + "mopitlo" + ], + "april": [ + "mor", + "moranang" + ], + "may": [ + "mot", + "motsheganang" + ], + "june": [ + "see", + "seetebosigo" + ], + "july": [ + "phu", + "phukwi" + ], + "august": [ + "pha", + "phatwe" + ], + "september": [ + "lwe", + "lwetse" + ], + "october": [ + "dip", + "diphalane" + ], + "november": [ + "ngw", + "ngwanatsele" + ], + "december": [ + "sed", + "sedimonthole" + ], + "monday": [ + "mos", + "mosopulogo" + ], + "tuesday": [ + "labb", + "labobedi" + ], + "wednesday": [ + "laboraro", + "labr" + ], + "thursday": [ + "labn", + "labone" + ], + "friday": [ + "labotlhano", + "labt" + ], + "saturday": [ + "mat", + "matlhatso" + ], + "sunday": [ + "tsh", + "tshipi" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "tn-BW": { + "name": "tn-BW" + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/to.py b/dateparser/data/date_translation_data/to.py index ea4d3b411..792325d91 100644 --- a/dateparser/data/date_translation_data/to.py +++ b/dateparser/data/date_translation_data/to.py @@ -33,8 +33,9 @@ "'aokosi" ], "september": [ - "sep", - "sepitema" + "sepitema", + "sēp", + "sēpitema" ], "october": [ "'oka", @@ -77,81 +78,98 @@ "sāpate" ], "am": [ - "am", "hengihengi", "hh" ], "pm": [ "ea", - "efiafi", - "pm" + "efiafi" ], "year": [ + "t", "ta'u" ], "month": [ + "mh", "māhina" ], "week": [ + "ui", "uike" ], "day": [ + "'a", "'aho" ], "hour": [ + "h", "houa" ], "minute": [ + "m", "miniti" ], "second": [ + "s", "sekoni" ], "relative-type": { "0 day ago": [ - "'ahó ni" + "'ahó ni", + "'ani" ], "0 hour ago": [ - "this hour" + "ko e houa 'eni" ], "0 minute ago": [ - "this minute" + "ko e miniti 'eni" ], "0 month ago": [ + "mhni", "māhiná ni" ], "0 second ago": [ "taimí ni" ], "0 week ago": [ - "uiké ni" + "uiké ni", + "uini" ], "0 year ago": [ - "ta'ú ni" + "ta'ú ni", + "tni" ], "1 day ago": [ + "'ane", "'aneafi" ], "1 month ago": [ + "mh'osi", "māhina kuo'osi" ], "1 week ago": [ + "ui'osi", "uike kuo'osi" ], "1 year ago": [ + "t'osi", "ta'u kuo'osi" ], "in 1 day": [ + "'apo", "'apongipongi" ], "in 1 month": [ + "mhha'u", "māhina kaha'u" ], "in 1 week": [ + "uiha'u", "uike kaha'u" ], "in 1 year": [ - "ta'u kaha'u" + "ta'u kaha'u", + "tha'u" ] }, "relative-type-regex": { diff --git a/dateparser/data/date_translation_data/tok.py b/dateparser/data/date_translation_data/tok.py new file mode 100644 index 000000000..426af1850 --- /dev/null +++ b/dateparser/data/date_translation_data/tok.py @@ -0,0 +1,153 @@ +info = { + "name": "tok", + "date_order": "YMD", + "january": [ + "mun #1" + ], + "february": [ + "mun #2" + ], + "march": [ + "mun #3" + ], + "april": [ + "mun #4" + ], + "may": [ + "mun #5" + ], + "june": [ + "mun #6" + ], + "july": [ + "mun #7" + ], + "august": [ + "mun #8" + ], + "september": [ + "mun #9" + ], + "october": [ + "mun #10" + ], + "november": [ + "mun #11" + ], + "december": [ + "mun #12" + ], + "monday": [ + "suno esun #1" + ], + "tuesday": [ + "suno esun #2" + ], + "wednesday": [ + "suno esun #3" + ], + "thursday": [ + "suno esun #4" + ], + "friday": [ + "suno esun #5" + ], + "saturday": [ + "suno esun #6" + ], + "sunday": [ + "suno esun #7" + ], + "am": [ + "am", + "pi open suno" + ], + "pm": [ + "pi pini suno", + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/tpi.py b/dateparser/data/date_translation_data/tpi.py new file mode 100644 index 000000000..62565f4a5 --- /dev/null +++ b/dateparser/data/date_translation_data/tpi.py @@ -0,0 +1,151 @@ +info = { + "name": "tpi", + "date_order": "YMD", + "january": [ + "janueri" + ], + "february": [ + "februeri" + ], + "march": [ + "mas" + ], + "april": [ + "epril" + ], + "may": [ + "me" + ], + "june": [ + "jun" + ], + "july": [ + "julai" + ], + "august": [ + "ogas" + ], + "september": [ + "septemba" + ], + "october": [ + "oktoba" + ], + "november": [ + "novemba" + ], + "december": [ + "desemba" + ], + "monday": [ + "mande" + ], + "tuesday": [ + "tunde" + ], + "wednesday": [ + "trinde" + ], + "thursday": [ + "fonde" + ], + "friday": [ + "fraide" + ], + "saturday": [ + "sarere" + ], + "sunday": [ + "sande" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/tr.py b/dateparser/data/date_translation_data/tr.py index 8688a4438..61f76046e 100644 --- a/dateparser/data/date_translation_data/tr.py +++ b/dateparser/data/date_translation_data/tr.py @@ -138,7 +138,8 @@ "şimdi" ], "0 week ago": [ - "bu hafta" + "bu hafta", + "bu hf" ], "0 year ago": [ "bu yıl" @@ -151,7 +152,8 @@ "geçen ay" ], "1 week ago": [ - "geçen hafta" + "geçen hafta", + "geçen hf" ], "1 year ago": [ "geçen yıl" @@ -166,6 +168,7 @@ ], "in 1 week": [ "gelecek hafta", + "gelecek hf", "haftaya", "önümüzdeki hafta" ], diff --git a/dateparser/data/date_translation_data/trv.py b/dateparser/data/date_translation_data/trv.py new file mode 100644 index 000000000..8b5041a2a --- /dev/null +++ b/dateparser/data/date_translation_data/trv.py @@ -0,0 +1,115 @@ +info = { + "name": "trv", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/trw.py b/dateparser/data/date_translation_data/trw.py new file mode 100644 index 000000000..0d1efb373 --- /dev/null +++ b/dateparser/data/date_translation_data/trw.py @@ -0,0 +1,115 @@ +info = { + "name": "trw", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ts.py b/dateparser/data/date_translation_data/ts.py new file mode 100644 index 000000000..61fa18482 --- /dev/null +++ b/dateparser/data/date_translation_data/ts.py @@ -0,0 +1,170 @@ +info = { + "name": "ts", + "date_order": "YMD", + "january": [ + "sun", + "sunguti" + ], + "february": [ + "nyenyenyani", + "yan" + ], + "march": [ + "kul", + "nyenyankulu" + ], + "april": [ + "dzi", + "dzivamisoko" + ], + "may": [ + "mud", + "mudyaxihi" + ], + "june": [ + "kho", + "khotavuxika" + ], + "july": [ + "maw", + "mawuwani" + ], + "august": [ + "mha", + "mhawuri" + ], + "september": [ + "ndz", + "ndzhati" + ], + "october": [ + "nhl", + "nhlangula" + ], + "november": [ + "huk", + "hukuri" + ], + "december": [ + "n'w", + "n'wendzamhala" + ], + "monday": [ + "mus", + "musumbhunuku" + ], + "tuesday": [ + "bir", + "ravumbirhi" + ], + "wednesday": [ + "har", + "ravunharhu" + ], + "thursday": [ + "ne", + "ravumune" + ], + "friday": [ + "ravuntlhanu", + "tlh" + ], + "saturday": [ + "mug", + "mugqivela" + ], + "sunday": [ + "son", + "sonta" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/tt.py b/dateparser/data/date_translation_data/tt.py new file mode 100644 index 000000000..115da97e5 --- /dev/null +++ b/dateparser/data/date_translation_data/tt.py @@ -0,0 +1,220 @@ +info = { + "name": "tt", + "date_order": "DMY", + "january": [ + "гыйн", + "гыйнвар" + ], + "february": [ + "фев", + "февраль" + ], + "march": [ + "мар", + "март" + ], + "april": [ + "апр", + "апрель" + ], + "may": [ + "май" + ], + "june": [ + "июнь" + ], + "july": [ + "июль" + ], + "august": [ + "авг", + "август" + ], + "september": [ + "сент", + "сентябрь" + ], + "october": [ + "окт", + "октябрь" + ], + "november": [ + "нояб", + "ноябрь" + ], + "december": [ + "дек", + "декабрь" + ], + "monday": [ + "дүш", + "дүшәмбе" + ], + "tuesday": [ + "сиш", + "сишәмбе" + ], + "wednesday": [ + "чәр", + "чәршәмбе" + ], + "thursday": [ + "пәнҗ", + "пәнҗешәмбе" + ], + "friday": [ + "җом", + "җомга" + ], + "saturday": [ + "шим", + "шимбә" + ], + "sunday": [ + "якш", + "якшәмбе" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "ел" + ], + "month": [ + "ай" + ], + "week": [ + "атна" + ], + "day": [ + "көн" + ], + "hour": [ + "hr", + "сәг", + "сәгать" + ], + "minute": [ + "мин", + "минут" + ], + "second": [ + "с", + "секунд" + ], + "relative-type": { + "0 day ago": [ + "бүген" + ], + "0 hour ago": [ + "бу сәгатьтә" + ], + "0 minute ago": [ + "бу минутта" + ], + "0 month ago": [ + "бу айда" + ], + "0 second ago": [ + "хәзер" + ], + "0 week ago": [ + "бу атнада" + ], + "0 year ago": [ + "быел" + ], + "1 day ago": [ + "кичә" + ], + "1 month ago": [ + "узган айда" + ], + "1 week ago": [ + "узган атнада" + ], + "1 year ago": [ + "узган ел" + ], + "in 1 day": [ + "иртәгә" + ], + "in 1 month": [ + "киләсе айда" + ], + "in 1 week": [ + "киләсе атнада" + ], + "in 1 year": [ + "киләсе елда" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) көн элек" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) сәг элек", + "(\\d+[.,]?\\d*) сәгать элек" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) мин элек", + "(\\d+[.,]?\\d*) минут элек" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) ай элек" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) с элек", + "(\\d+[.,]?\\d*) секунд элек" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) атна элек" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) ел элек" + ], + "in \\1 day": [ + "(\\d+[.,]?\\d*) көннән" + ], + "in \\1 hour": [ + "(\\d+[.,]?\\d*) сәг", + "(\\d+[.,]?\\d*) сәгатьтән" + ], + "in \\1 minute": [ + "(\\d+[.,]?\\d*) мин", + "(\\d+[.,]?\\d*) минуттан" + ], + "in \\1 month": [ + "(\\d+[.,]?\\d*) айдан" + ], + "in \\1 second": [ + "(\\d+[.,]?\\d*) с", + "(\\d+[.,]?\\d*) секундтан" + ], + "in \\1 week": [ + "(\\d+[.,]?\\d*) атнадан" + ], + "in \\1 year": [ + "(\\d+[.,]?\\d*) елдан" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/twq.py b/dateparser/data/date_translation_data/twq.py index 2146c0b40..55ea8260a 100644 --- a/dateparser/data/date_translation_data/twq.py +++ b/dateparser/data/date_translation_data/twq.py @@ -94,7 +94,8 @@ "zaari" ], "hour": [ - "guuru" + "guuru", + "hr" ], "minute": [ "miniti" diff --git a/dateparser/data/date_translation_data/tyv.py b/dateparser/data/date_translation_data/tyv.py new file mode 100644 index 000000000..e4a203f8d --- /dev/null +++ b/dateparser/data/date_translation_data/tyv.py @@ -0,0 +1,115 @@ +info = { + "name": "tyv", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/tzm.py b/dateparser/data/date_translation_data/tzm.py index efba48a80..a88a45fc2 100644 --- a/dateparser/data/date_translation_data/tzm.py +++ b/dateparser/data/date_translation_data/tzm.py @@ -96,6 +96,7 @@ "ass" ], "hour": [ + "hr", "tasragt" ], "minute": [ diff --git a/dateparser/data/date_translation_data/ug.py b/dateparser/data/date_translation_data/ug.py index b55b8419b..6434b4262 100644 --- a/dateparser/data/date_translation_data/ug.py +++ b/dateparser/data/date_translation_data/ug.py @@ -86,6 +86,7 @@ "كۈن" ], "hour": [ + "hr", "سائەت" ], "minute": [ diff --git a/dateparser/data/date_translation_data/uk.py b/dateparser/data/date_translation_data/uk.py index 4733942cf..1e97fce5a 100644 --- a/dateparser/data/date_translation_data/uk.py +++ b/dateparser/data/date_translation_data/uk.py @@ -18,22 +18,22 @@ "берез" ], "april": [ - "кві", "квіт", "квітень", - "квітня" + "квітня", + "кві" ], "may": [ - "тра", "трав", "травень", - "травня" + "травня", + "тра" ], "june": [ - "чер", "черв", "червень", - "червня" + "червня", + "чер" ], "july": [ "лип", @@ -41,10 +41,10 @@ "липня" ], "august": [ - "сер", "серп", "серпень", - "серпня" + "серпня", + "сер" ], "september": [ "вер", @@ -53,23 +53,23 @@ "верес" ], "october": [ - "жов", "жовт", "жовтень", - "жовтня" + "жовтня", + "жов" ], "november": [ - "лис", "лист", "листопад", "листопада", - "листоп" + "листоп", + "лис" ], "december": [ - "гру", "груд", "грудень", - "грудня" + "грудня", + "гру" ], "monday": [ "пн", @@ -89,6 +89,7 @@ ], "wednesday": [ "середа", + "середу", "ср", "ср", "сер", @@ -104,6 +105,7 @@ "четвер" ], "friday": [ + "п'ятницю", "п'ятниця", "пт", "пят" @@ -111,6 +113,7 @@ "saturday": [ "сб", "субота", + "суботу", "сб", "суб", "субот", @@ -119,6 +122,7 @@ ], "sunday": [ "нд", + "неділю", "неділя", "нд", "нед", @@ -151,6 +155,7 @@ "рокові" ], "month": [ + "м", "міс", "місяць", "м", @@ -167,6 +172,7 @@ "місяцями" ], "week": [ + "т", "тиж", "тиждень", "т", @@ -197,6 +203,7 @@ "hour": [ "год", "година", + "години", "г", "год", "годин", @@ -245,6 +252,7 @@ "цієї хвилини" ], "0 month ago": [ + "цього міс", "цього місяця" ], "0 second ago": [ @@ -254,31 +262,39 @@ "цього тижня" ], "0 year ago": [ - "цього року" + "цього року", + "цьогоріч" ], "1 day ago": [ "учора", "вчора" ], "1 month ago": [ + "мин міс", "минулого місяця" ], "1 week ago": [ + "мин тижня", "минулого тижня" ], "1 year ago": [ + "минулого року", "торік" ], "in 1 day": [ "завтра" ], "in 1 month": [ + "наст міс", "наступного місяця" ], "in 1 week": [ + "наст тижня", "наступного тижня" ], "in 1 year": [ + "наст р", + "наст року", "наступного року" ], "2 day ago": [ @@ -290,10 +306,10 @@ }, "relative-type-regex": { "\\1 day ago": [ - "(\\d+[.,]?\\d*) д тому", "(\\d+[.,]?\\d*) день тому", "(\\d+[.,]?\\d*) дн тому", - "(\\d+[.,]?\\d*) дня тому" + "(\\d+[.,]?\\d*) дня тому", + "(\\d+[.,]?\\d*) д тому" ], "\\1 hour ago": [ "(\\d+[.,]?\\d*) год тому", @@ -329,10 +345,11 @@ "(\\d+[.,]?\\d*) рік тому" ], "in \\1 day": [ - "за (\\d+[.,]?\\d*) д", + "за (\\d+[.,]?\\d*) дн", "через (\\d+[.,]?\\d*) день", "через (\\d+[.,]?\\d*) дн", - "через (\\d+[.,]?\\d*) дня" + "через (\\d+[.,]?\\d*) дня", + "за (\\d+[.,]?\\d*) д" ], "in \\1 hour": [ "за (\\d+[.,]?\\d*) год", diff --git a/dateparser/data/date_translation_data/und.py b/dateparser/data/date_translation_data/und.py new file mode 100644 index 000000000..572e93bbc --- /dev/null +++ b/dateparser/data/date_translation_data/und.py @@ -0,0 +1,115 @@ +info = { + "name": "und", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/ur.py b/dateparser/data/date_translation_data/ur.py index c00110d60..594dad76e 100644 --- a/dateparser/data/date_translation_data/ur.py +++ b/dateparser/data/date_translation_data/ur.py @@ -38,7 +38,7 @@ "دسمبر" ], "monday": [ - "سوموار" + "پیر" ], "tuesday": [ "منگل" @@ -78,7 +78,8 @@ "دن" ], "hour": [ - "گھنٹہ" + "گھنٹہ", + "گھنٹے" ], "minute": [ "منٹ" @@ -97,6 +98,7 @@ "اس منٹ" ], "0 month ago": [ + "اس ماہ", "اس مہینہ" ], "0 second ago": [ @@ -112,10 +114,12 @@ "گزشتہ کل" ], "1 month ago": [ - "پچھلے مہینہ" + "پچھلے مہینہ", + "گزشتہ ماہ" ], "1 week ago": [ - "پچھلے ہفتہ" + "پچھلے ہفتہ", + "گزشتہ ہفتے" ], "1 year ago": [ "گزشتہ سال" @@ -124,10 +128,13 @@ "آئندہ کل" ], "in 1 month": [ + "اگلا مہینہ", + "اگلے ماہ", "اگلے مہینہ" ], "in 1 week": [ - "اگلے ہفتہ" + "اگلے ہفتہ", + "اگلے ہفتے" ], "in 1 year": [ "اگلے سال" @@ -167,7 +174,6 @@ ], "in \\1 hour": [ "(\\d+[.,]?\\d*) گھنٹوں میں", - "(\\d+[.,]?\\d*) گھنٹہ میں", "(\\d+[.,]?\\d*) گھنٹے میں" ], "in \\1 minute": [ @@ -192,21 +198,9 @@ "locale_specific": { "ur-IN": { "name": "ur-IN", - "monday": [ - "پیر" - ], "relative-type": { - "0 month ago": [ - "اس ماہ" - ], - "1 month ago": [ - "گزشتہ ماہ" - ], "1 week ago": [ "گزشتہ ہفتہ" - ], - "in 1 month": [ - "اگلے ماہ" ] }, "relative-type-regex": { diff --git a/dateparser/data/date_translation_data/uz-Arab.py b/dateparser/data/date_translation_data/uz-Arab.py index 00f0f570e..63ce35dcf 100644 --- a/dateparser/data/date_translation_data/uz-Arab.py +++ b/dateparser/data/date_translation_data/uz-Arab.py @@ -94,7 +94,8 @@ "day" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser/data/date_translation_data/uz-Cyrl.py b/dateparser/data/date_translation_data/uz-Cyrl.py index 44c3d0974..d9d9f571f 100644 --- a/dateparser/data/date_translation_data/uz-Cyrl.py +++ b/dateparser/data/date_translation_data/uz-Cyrl.py @@ -93,6 +93,7 @@ "кун" ], "hour": [ + "hr", "соат" ], "minute": [ diff --git a/dateparser/data/date_translation_data/uz-Latn.py b/dateparser/data/date_translation_data/uz-Latn.py index 5435fafa0..7c86380c4 100644 --- a/dateparser/data/date_translation_data/uz-Latn.py +++ b/dateparser/data/date_translation_data/uz-Latn.py @@ -116,12 +116,14 @@ "shu daqiqada" ], "0 month ago": [ + "bu oy", "shu oy" ], "0 second ago": [ "hozir" ], "0 week ago": [ + "bu hafta", "shu hafta" ], "0 year ago": [ @@ -138,7 +140,7 @@ "o‘tgan hafta" ], "1 year ago": [ - "o'tgan yil", + "o‘'tgan yil", "o‘tgan yil" ], "in 1 day": [ diff --git a/dateparser/data/date_translation_data/uz.py b/dateparser/data/date_translation_data/uz.py index 488e9cbdf..99b0a2d5e 100644 --- a/dateparser/data/date_translation_data/uz.py +++ b/dateparser/data/date_translation_data/uz.py @@ -116,12 +116,14 @@ "shu daqiqada" ], "0 month ago": [ + "bu oy", "shu oy" ], "0 second ago": [ "hozir" ], "0 week ago": [ + "bu hafta", "shu hafta" ], "0 year ago": [ @@ -138,7 +140,7 @@ "o‘tgan hafta" ], "1 year ago": [ - "o'tgan yil", + "o‘'tgan yil", "o‘tgan yil" ], "in 1 day": [ diff --git a/dateparser/data/date_translation_data/ve.py b/dateparser/data/date_translation_data/ve.py new file mode 100644 index 000000000..b27754ddb --- /dev/null +++ b/dateparser/data/date_translation_data/ve.py @@ -0,0 +1,115 @@ +info = { + "name": "ve", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/vec.py b/dateparser/data/date_translation_data/vec.py new file mode 100644 index 000000000..d46ea0c12 --- /dev/null +++ b/dateparser/data/date_translation_data/vec.py @@ -0,0 +1,181 @@ +info = { + "name": "vec", + "date_order": "DMY", + "january": [ + "jen", + "jenaro" + ], + "february": [ + "feb", + "febraro" + ], + "march": [ + "mar", + "marso" + ], + "april": [ + "apr", + "aprile" + ], + "may": [ + "maj", + "majo" + ], + "june": [ + "jug", + "jugno" + ], + "july": [ + "luj", + "lujo" + ], + "august": [ + "ago", + "agosto" + ], + "september": [ + "set", + "setenbre" + ], + "october": [ + "oto", + "otobre" + ], + "november": [ + "nov", + "novenbre" + ], + "december": [ + "des", + "desenbre" + ], + "monday": [ + "lun", + "luni" + ], + "tuesday": [ + "mar", + "marti" + ], + "wednesday": [ + "mer", + "mèrcore" + ], + "thursday": [ + "zob", + "zoba" + ], + "friday": [ + "vèn", + "vènare" + ], + "saturday": [ + "sab", + "sabo" + ], + "sunday": [ + "dom", + "doménega" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "a", + "ano" + ], + "month": [ + "m", + "mez", + "meze" + ], + "week": [ + "s", + "set", + "setemana" + ], + "day": [ + "d", + "dì" + ], + "hour": [ + "hr", + "o", + "ora" + ], + "minute": [ + "m", + "men", + "menuto" + ], + "second": [ + "s", + "seg", + "segondo" + ], + "relative-type": { + "0 day ago": [ + "uncó" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "‘sto meze" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "‘sta setemana" + ], + "0 year ago": [ + "‘st'ano" + ], + "1 day ago": [ + "jeri" + ], + "1 month ago": [ + "el meze pasà" + ], + "1 week ago": [ + "la setemana pasada" + ], + "1 year ago": [ + "l'ano pasà" + ], + "in 1 day": [ + "doman" + ], + "in 1 month": [ + "el meze che vien" + ], + "in 1 week": [ + "la setemana che vien" + ], + "in 1 year": [ + "l'ano che vien" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/vmw.py b/dateparser/data/date_translation_data/vmw.py new file mode 100644 index 000000000..78ad2c937 --- /dev/null +++ b/dateparser/data/date_translation_data/vmw.py @@ -0,0 +1,153 @@ +info = { + "name": "vmw", + "date_order": "YMD", + "january": [ + "janeiru" + ], + "february": [ + "fevereiru" + ], + "march": [ + "marsu" + ], + "april": [ + "abril" + ], + "may": [ + "maiu" + ], + "june": [ + "junyu" + ], + "july": [ + "julyu" + ], + "august": [ + "agostu" + ], + "september": [ + "setembru" + ], + "october": [ + "outubru" + ], + "november": [ + "novembru" + ], + "december": [ + "dezembru" + ], + "monday": [ + "nihiku noolempwa" + ], + "tuesday": [ + "namaanli" + ], + "wednesday": [ + "namararu" + ], + "thursday": [ + "namaxexe" + ], + "friday": [ + "namathanu" + ], + "saturday": [ + "esaabadu" + ], + "sunday": [ + "ettiminku" + ], + "am": [ + "am", + "vaasisu" + ], + "pm": [ + "makaaripi", + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/vun.py b/dateparser/data/date_translation_data/vun.py index 431c71473..633dd8716 100644 --- a/dateparser/data/date_translation_data/vun.py +++ b/dateparser/data/date_translation_data/vun.py @@ -95,6 +95,7 @@ "mfiri" ], "hour": [ + "hr", "saa" ], "minute": [ diff --git a/dateparser/data/date_translation_data/wa.py b/dateparser/data/date_translation_data/wa.py new file mode 100644 index 000000000..2f7a823a6 --- /dev/null +++ b/dateparser/data/date_translation_data/wa.py @@ -0,0 +1,115 @@ +info = { + "name": "wa", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/wae.py b/dateparser/data/date_translation_data/wae.py index e24dd1176..acf3233d5 100644 --- a/dateparser/data/date_translation_data/wae.py +++ b/dateparser/data/date_translation_data/wae.py @@ -96,7 +96,8 @@ "tag" ], "hour": [ - "schtund" + "schtund", + "stunde" ], "minute": [ "mínütta" diff --git a/dateparser/data/date_translation_data/wal.py b/dateparser/data/date_translation_data/wal.py new file mode 100644 index 000000000..c765021ba --- /dev/null +++ b/dateparser/data/date_translation_data/wal.py @@ -0,0 +1,115 @@ +info = { + "name": "wal", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/wbp.py b/dateparser/data/date_translation_data/wbp.py new file mode 100644 index 000000000..ec3fd89fa --- /dev/null +++ b/dateparser/data/date_translation_data/wbp.py @@ -0,0 +1,115 @@ +info = { + "name": "wbp", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/wo.py b/dateparser/data/date_translation_data/wo.py new file mode 100644 index 000000000..99d808988 --- /dev/null +++ b/dateparser/data/date_translation_data/wo.py @@ -0,0 +1,230 @@ +info = { + "name": "wo", + "date_order": "DMY", + "january": [ + "sam", + "samwiyee" + ], + "february": [ + "few", + "fewriyee" + ], + "march": [ + "mar", + "mars" + ], + "april": [ + "awr", + "awril" + ], + "may": [ + "mee" + ], + "june": [ + "suw", + "suwe" + ], + "july": [ + "sul", + "sulet" + ], + "august": [ + "ut" + ], + "september": [ + "sàt", + "sàttumbar" + ], + "october": [ + "okt", + "oktoobar" + ], + "november": [ + "now", + "nowàmbar" + ], + "december": [ + "des", + "desàmbar" + ], + "monday": [ + "alt", + "altine" + ], + "tuesday": [ + "tal", + "talaata" + ], + "wednesday": [ + "àla", + "àlarba" + ], + "thursday": [ + "alx", + "alxamis" + ], + "friday": [ + "àjj", + "àjjuma" + ], + "saturday": [ + "ase", + "aseer" + ], + "sunday": [ + "dib", + "dibéer" + ], + "am": [ + "sub" + ], + "pm": [ + "ngo" + ], + "year": [ + "at" + ], + "month": [ + "we", + "weer" + ], + "week": [ + "ayu-b", + "ayu-bis" + ], + "day": [ + "fan" + ], + "hour": [ + "hr", + "waxt", + "wxt" + ], + "minute": [ + "sim", + "simili" + ], + "second": [ + "saa" + ], + "relative-type": { + "0 day ago": [ + "tay" + ], + "0 hour ago": [ + "ci waxtu wii" + ], + "0 minute ago": [ + "ci simili bii" + ], + "0 month ago": [ + "we wii", + "weer wii" + ], + "0 second ago": [ + "leegi" + ], + "0 week ago": [ + "ayu-b bii", + "ayu-bis bii" + ], + "0 year ago": [ + "ren" + ], + "1 day ago": [ + "démb" + ], + "1 month ago": [ + "we wi wees", + "weer wi weesu" + ], + "1 week ago": [ + "ayu-b bi wees", + "ayu-bis bi weesu" + ], + "1 year ago": [ + "daaw" + ], + "in 1 day": [ + "suba" + ], + "in 1 month": [ + "we wiy ñëw", + "weer wiy ñëw" + ], + "in 1 week": [ + "ayu-b ñëw", + "ayu-bis biy ñëw" + ], + "in 1 year": [ + "dewen" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) fan ci ginaaw" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) wax ci ginaaw", + "(\\d+[.,]?\\d*) waxtu ci ginaaw" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) sim ci ginaaw", + "(\\d+[.,]?\\d*) simili ci ginaaw" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) we ci ginaaw", + "(\\d+[.,]?\\d*) weer ci ginaaw" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) saa ci ginaaw" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) ayi-b ci ginaaw", + "(\\d+[.,]?\\d*) ayi-bis ci ginaaw" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) at ci ginaaw" + ], + "in \\1 day": [ + "fileek (\\d+[.,]?\\d*) fan" + ], + "in \\1 hour": [ + "fileek (\\d+[.,]?\\d*) wax", + "fileek (\\d+[.,]?\\d*) waxtu" + ], + "in \\1 minute": [ + "fileek (\\d+[.,]?\\d*) sim", + "fileek (\\d+[.,]?\\d*) simili" + ], + "in \\1 month": [ + "fileek (\\d+[.,]?\\d*) we", + "fileek (\\d+[.,]?\\d*) weer" + ], + "in \\1 second": [ + "fileek (\\d+[.,]?\\d*) saa" + ], + "in \\1 week": [ + "fileek (\\d+[.,]?\\d*) ayi-b", + "fileek (\\d+[.,]?\\d*) ayi-bis" + ], + "in \\1 year": [ + "fileek (\\d+[.,]?\\d*) at" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/xh.py b/dateparser/data/date_translation_data/xh.py new file mode 100644 index 000000000..dd250fd9b --- /dev/null +++ b/dateparser/data/date_translation_data/xh.py @@ -0,0 +1,196 @@ +info = { + "name": "xh", + "date_order": "MDY", + "january": [ + "jan", + "janyuwari" + ], + "february": [ + "feb", + "februwari" + ], + "march": [ + "mat", + "matshi" + ], + "april": [ + "epr", + "epreli" + ], + "may": [ + "mey", + "meyi" + ], + "june": [ + "jun", + "juni" + ], + "july": [ + "jul", + "julayi" + ], + "august": [ + "aga", + "agasti" + ], + "september": [ + "sep", + "sept", + "septemba" + ], + "october": [ + "okt", + "okthoba", + "okthobha" + ], + "november": [ + "nov", + "novemba" + ], + "december": [ + "dis", + "disemba" + ], + "monday": [ + "mvu", + "mvulo" + ], + "tuesday": [ + "bin", + "lwesb", + "lwesibini" + ], + "wednesday": [ + "lwesithathu", + "tha" + ], + "thursday": [ + "lwesine", + "sin" + ], + "friday": [ + "hla", + "lwesihlanu" + ], + "saturday": [ + "mgq", + "mgqibelo" + ], + "sunday": [ + "caw", + "cawe" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "uny", + "unyaka" + ], + "month": [ + "iny", + "inyanga", + "nya" + ], + "week": [ + "ive", + "iveki", + "vek" + ], + "day": [ + "usuku" + ], + "hour": [ + "hr", + "iyure", + "yur" + ], + "minute": [ + "umz", + "umzuzu" + ], + "second": [ + "mzuzwa", + "umzuzwana", + "zuzwa" + ], + "relative-type": { + "0 day ago": [ + "namhlanje" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "kule nya", + "kule nyanga" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "ku;e veki", + "kule vek" + ], + "0 year ago": [ + "kulo nyak", + "kulo nyaka" + ], + "1 day ago": [ + "izolo" + ], + "1 month ago": [ + "inya ephel", + "inyanga ephel", + "inyanga ephelileyo" + ], + "1 week ago": [ + "kwiveki ephelileyo", + "vek ephel", + "veki ephel" + ], + "1 year ago": [ + "unyaka ophel", + "unyaka ophelileyo" + ], + "in 1 day": [ + "ngomso" + ], + "in 1 month": [ + "kwinya eza", + "kwinyanga eza", + "kwinyanga ezayo" + ], + "in 1 week": [ + "kwiveki ezayo", + "vek eza", + "veki eza" + ], + "in 1 year": [ + "kunyak oza", + "kunyaka ozayo", + "unyak oza" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/xnr.py b/dateparser/data/date_translation_data/xnr.py new file mode 100644 index 000000000..6a8a7e7c9 --- /dev/null +++ b/dateparser/data/date_translation_data/xnr.py @@ -0,0 +1,167 @@ +info = { + "name": "xnr", + "date_order": "DMY", + "january": [ + "जनवरी", + "जन॰" + ], + "february": [ + "फ़रवरी", + "फ़र॰" + ], + "march": [ + "मार्च" + ], + "april": [ + "अप्रैल" + ], + "may": [ + "मई" + ], + "june": [ + "जून" + ], + "july": [ + "जुलाई", + "जुल॰" + ], + "august": [ + "अगस्त", + "अग॰" + ], + "september": [ + "सितंबर", + "सित॰" + ], + "october": [ + "अक्तूबर", + "अक्तू॰" + ], + "november": [ + "नवंबर", + "नव॰" + ], + "december": [ + "दिसंबर", + "दिस॰" + ], + "monday": [ + "सोआर" + ], + "tuesday": [ + "मंगल", + "मंगलवार" + ], + "wednesday": [ + "बुध", + "बुधवार" + ], + "thursday": [ + "वीर", + "वीरवार" + ], + "friday": [ + "शुक्कर", + "शुक्करवार" + ], + "saturday": [ + "शनि", + "शनिच्चरवार" + ], + "sunday": [ + "तोआर" + ], + "am": [ + "भ्यागा" + ], + "pm": [ + "दपेहरा/संजा" + ], + "year": [ + "साल" + ], + "month": [ + "मीन्ना" + ], + "week": [ + "हफ्ता" + ], + "day": [ + "ध्याड़ा" + ], + "hour": [ + "hr", + "घंटा", + "घं॰" + ], + "minute": [ + "मिंट", + "मि॰" + ], + "second": [ + "सकिंट", + "स॰" + ], + "relative-type": { + "0 day ago": [ + "अज्ज" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "एह मीन्ना" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "एह हफ्ता" + ], + "0 year ago": [ + "एह साल" + ], + "1 day ago": [ + "पिछला कल" + ], + "1 month ago": [ + "पिछले मीन्ने" + ], + "1 week ago": [ + "पिछले हफ्ते" + ], + "1 year ago": [ + "पिछले साल" + ], + "in 1 day": [ + "अगले कल" + ], + "in 1 month": [ + "अगला मीन्ना" + ], + "in 1 week": [ + "अगले हफ्ते‘" + ], + "in 1 year": [ + "अगला साल" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/xog.py b/dateparser/data/date_translation_data/xog.py index 125158899..e30aa5949 100644 --- a/dateparser/data/date_translation_data/xog.py +++ b/dateparser/data/date_translation_data/xog.py @@ -96,7 +96,8 @@ "olunaku" ], "hour": [ - "essawa" + "essawa", + "hr" ], "minute": [ "edakiika" diff --git a/dateparser/data/date_translation_data/yav.py b/dateparser/data/date_translation_data/yav.py index f59defcd5..24b76d278 100644 --- a/dateparser/data/date_translation_data/yav.py +++ b/dateparser/data/date_translation_data/yav.py @@ -96,6 +96,7 @@ "puɔ́sɛ́" ], "hour": [ + "hr", "kisikɛl," ], "minute": [ diff --git a/dateparser/data/date_translation_data/yi.py b/dateparser/data/date_translation_data/yi.py index 6d10a8935..0b8091bd3 100644 --- a/dateparser/data/date_translation_data/yi.py +++ b/dateparser/data/date_translation_data/yi.py @@ -85,6 +85,7 @@ "טאָג" ], "hour": [ + "hr", "שעה" ], "minute": [ diff --git a/dateparser/data/date_translation_data/yo.py b/dateparser/data/date_translation_data/yo.py index a33322489..a1cf2ec2d 100644 --- a/dateparser/data/date_translation_data/yo.py +++ b/dateparser/data/date_translation_data/yo.py @@ -3,75 +3,106 @@ "date_order": "DMY", "january": [ "oṣù ṣẹ́rẹ́", + "ṣẹ́", + "ṣẹ́r", "ṣẹ́rẹ́" ], "february": [ "oṣù èrèlè", + "èr", + "èrèl", "èrèlè" ], "march": [ "oṣù ẹrẹ̀nà", + "ẹr", + "ẹrẹ̀n", "ẹrẹ̀nà" ], "april": [ "oṣù ìgbé", + "ìg", + "ìgb", "ìgbé" ], "may": [ "oṣù ẹ̀bibi", + "ẹ̀b", + "ẹ̀bi", "ẹ̀bibi" ], "june": [ "oṣù òkúdu", + "òk", + "òkú", "òkúdu" ], "july": [ + "ag", + "agẹ", "agẹmọ", "oṣù agẹmọ" ], "august": [ "oṣù ògún", + "òg", + "ògú", "ògún" ], "september": [ + "ow", + "owe", "owewe", "oṣù owewe" ], "october": [ "oṣù ọ̀wàrà", + "ọ̀w", + "ọ̀wà", "ọ̀wàrà" ], "november": [ + "bé", + "bél", "bélú", "oṣù bélú" ], "december": [ "oṣù ọ̀pẹ̀", + "ọ̀p", + "ọ̀pẹ", "ọ̀pẹ̀" ], "monday": [ + "aj", "ajé", "ọjọ́ ajé" ], "tuesday": [ + "ìsẹ́g", "ìsẹ́gun", "ọjọ́ ìsẹ́gun" ], "wednesday": [ + "ọjọ́r", "ọjọ́rú" ], "thursday": [ + "ọjọ́b", "ọjọ́bọ" ], "friday": [ + "ẹt", "ẹtì", "ọjọ́ ẹtì" ], "saturday": [ + "àbám", "àbámẹ́ta", "ọjọ́ àbámẹ́ta" ], "sunday": [ + "àìk", "àìkú", "ọjọ́ àìkú" ], @@ -85,15 +116,17 @@ "ọdún" ], "month": [ - "osù" + "osù", + "oṣù" ], "week": [ - "ọ̀sè" + "ọ̀sẹ̀" ], "day": [ "ọjọ́" ], "hour": [ + "wkt", "wákàtí" ], "minute": [ @@ -113,40 +146,43 @@ "this minute" ], "0 month ago": [ - "this month" + "oṣù yìí" ], "0 second ago": [ "now" ], "0 week ago": [ - "this week" + "ọ̀sẹ̀ yìí" ], "0 year ago": [ - "this year" + "ọdún yìí", + "ọdúnǹí" ], "1 day ago": [ "àná" ], "1 month ago": [ - "last month" + "óṣù tó kọjá" ], "1 week ago": [ - "last week" + "ọ̀sẹ̀ tó kọjá" ], "1 year ago": [ - "last year" + "èṣín", + "ọdún tó kọjá" ], "in 1 day": [ "ọ̀la" ], "in 1 month": [ - "next month" + "óṣù tó ń bọ̀," ], "in 1 week": [ - "next week" + "ọ́sẹ̀ tó ń bọ̀" ], "in 1 year": [ - "next year" + "àmọ́dún", + "ọdún tó ńbọ̀" ] }, "locale_specific": { @@ -154,6 +190,8 @@ "name": "yo-BJ", "january": [ "oshù shɛ́rɛ́", + "shɛ́", + "shɛ́r", "shɛ́rɛ́" ], "february": [ @@ -161,6 +199,8 @@ ], "march": [ "oshù ɛrɛ̀nà", + "ɛr", + "ɛrɛ̀n", "ɛrɛ̀nà" ], "april": [ @@ -168,12 +208,15 @@ ], "may": [ "oshù ɛ̀bibi", + "ɛ̀b", + "ɛ̀bi", "ɛ̀bibi" ], "june": [ "oshù òkúdu" ], "july": [ + "agɛ", "agɛmɔ", "oshù agɛmɔ" ], @@ -185,6 +228,8 @@ ], "october": [ "oshù ɔ̀wàrà", + "ɔ̀w", + "ɔ̀wà", "ɔ̀wàrà" ], "november": [ @@ -192,23 +237,29 @@ ], "december": [ "oshù ɔ̀pɛ̀", + "ɔ̀p", + "ɔ̀pɛ", "ɔ̀pɛ̀" ], "monday": [ "ɔjɔ́ ajé" ], "tuesday": [ + "ìsɛ́g", "ìsɛ́gun", "ɔjɔ́ ìsɛ́gun" ], "wednesday": [ + "ɔjɔ́r", "ɔjɔ́rú" ], "thursday": [ + "ɔjɔ́b", "ɔjɔ́bɔ" ], "friday": [ "ɔjɔ́ ɛtì", + "ɛt", "ɛtì" ], "saturday": [ @@ -227,8 +278,11 @@ "year": [ "ɔdún" ], + "month": [ + "oshù" + ], "week": [ - "ɔ̀sè" + "ɔ̀sɛ̀" ], "day": [ "ɔjɔ́" @@ -240,8 +294,38 @@ "ìsɛ́jú ààyá" ], "relative-type": { + "0 month ago": [ + "oshù yìí" + ], + "0 week ago": [ + "ɔ̀sɛ̀ yìí" + ], + "0 year ago": [ + "ɔdún yìí", + "ɔdúnǹí" + ], + "1 month ago": [ + "óshù tó kɔjá" + ], + "1 week ago": [ + "ɔ̀sɛ̀ tó kɔjá" + ], + "1 year ago": [ + "èshín", + "ɔdún tó kɔjá" + ], "in 1 day": [ "ɔ̀la" + ], + "in 1 month": [ + "óshù tó ń bɔ̀," + ], + "in 1 week": [ + "ɔ́sɛ̀ tó ń bɔ̀" + ], + "in 1 year": [ + "àmɔ́dún", + "ɔdún tó ńbɔ̀" ] } } diff --git a/dateparser/data/date_translation_data/yrl.py b/dateparser/data/date_translation_data/yrl.py new file mode 100644 index 000000000..c253faba4 --- /dev/null +++ b/dateparser/data/date_translation_data/yrl.py @@ -0,0 +1,255 @@ +info = { + "name": "yrl", + "date_order": "DMY", + "january": [ + "ye", + "yepé" + ], + "february": [ + "mk", + "mukũi" + ], + "march": [ + "ms", + "musapíri" + ], + "april": [ + "id", + "irũdí" + ], + "may": [ + "pu", + "pú" + ], + "june": [ + "py", + "pú-yepé" + ], + "july": [ + "pm", + "pú-mukũi" + ], + "august": [ + "ps", + "pú-musapíri" + ], + "september": [ + "pi", + "pú-irũdí" + ], + "october": [ + "yepé-putimaã", + "yp" + ], + "november": [ + "yepé-yepé", + "yy" + ], + "december": [ + "yepé-mukũi", + "ym" + ], + "monday": [ + "mur", + "murakipí" + ], + "tuesday": [ + "mmk", + "murakí-mukũi" + ], + "wednesday": [ + "mms", + "murakí-musapíri" + ], + "thursday": [ + "sup", + "supapá" + ], + "friday": [ + "yuk", + "yukuakú" + ], + "saturday": [ + "sau", + "saurú" + ], + "sunday": [ + "mit", + "mituú" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "akayú" + ], + "month": [ + "yasí" + ], + "week": [ + "sẽm", + "sẽmãna" + ], + "day": [ + "ara" + ], + "hour": [ + "h", + "hura", + "hura-ita" + ], + "minute": [ + "min", + "minutu" + ], + "second": [ + "seg", + "segũdu" + ], + "relative-type": { + "0 day ago": [ + "wií" + ], + "0 hour ago": [ + "kuá hura" + ], + "0 minute ago": [ + "kuá minutu" + ], + "0 month ago": [ + "kuá yasí" + ], + "0 second ago": [ + "kuíri" + ], + "0 week ago": [ + "kuá sẽmãna" + ], + "0 year ago": [ + "kuá akayú" + ], + "1 day ago": [ + "kuesê" + ], + "1 month ago": [ + "yasí kuera" + ], + "1 week ago": [ + "sẽmãna kuera" + ], + "1 year ago": [ + "akayú kuera" + ], + "in 1 day": [ + "wirãdé" + ], + "in 1 month": [ + "amũ yasí" + ], + "in 1 week": [ + "amũ sẽmãna" + ], + "in 1 year": [ + "amũ akayú" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "aikué (\\d+[.,]?\\d*) ara", + "aikué (\\d+[.,]?\\d*) ara itá" + ], + "\\1 hour ago": [ + "aikué (\\d+[.,]?\\d*) h", + "aikué (\\d+[.,]?\\d*) h itá", + "aikué (\\d+[.,]?\\d*) hura", + "aikué (\\d+[.,]?\\d*) hura itá" + ], + "\\1 minute ago": [ + "aikué (\\d+[.,]?\\d*) min", + "aikué (\\d+[.,]?\\d*) min itá", + "aikué (\\d+[.,]?\\d*) minutu", + "aikué (\\d+[.,]?\\d*) minutu itá" + ], + "\\1 month ago": [ + "aikué (\\d+[.,]?\\d*) yasí", + "aikué (\\d+[.,]?\\d*) yasí itá" + ], + "\\1 second ago": [ + "aikué (\\d+[.,]?\\d*) seg", + "aikué (\\d+[.,]?\\d*) seg itá", + "aikué (\\d+[.,]?\\d*) segũdu", + "aikué (\\d+[.,]?\\d*) segũdu itá" + ], + "\\1 week ago": [ + "aikué (\\d+[.,]?\\d*) sẽm", + "aikué (\\d+[.,]?\\d*) sẽm itá", + "aikué (\\d+[.,]?\\d*) sẽmãna", + "aikué (\\d+[.,]?\\d*) sẽmãna itá" + ], + "\\1 year ago": [ + "aikué (\\d+[.,]?\\d*) akayú", + "aikué (\\d+[.,]?\\d*) akayú itá" + ], + "in \\1 day": [ + "(\\d+[.,]?\\d*) ara itá resê", + "(\\d+[.,]?\\d*) ara resê" + ], + "in \\1 hour": [ + "(\\d+[.,]?\\d*) h resê", + "(\\d+[.,]?\\d*) h resê itá", + "(\\d+[.,]?\\d*) hura resê", + "(\\d+[.,]?\\d*) hura resê itá" + ], + "in \\1 minute": [ + "(\\d+[.,]?\\d*) min resê", + "(\\d+[.,]?\\d*) min resê itá", + "(\\d+[.,]?\\d*) minutu resê", + "(\\d+[.,]?\\d*) minutu resê itá" + ], + "in \\1 month": [ + "(\\d+[.,]?\\d*) yasí itá resê", + "(\\d+[.,]?\\d*) yasí resê" + ], + "in \\1 second": [ + "(\\d+[.,]?\\d*) seg resê", + "(\\d+[.,]?\\d*) seg resê itá", + "(\\d+[.,]?\\d*) segũdu resê", + "(\\d+[.,]?\\d*) segũdu resê itá" + ], + "in \\1 week": [ + "(\\d+[.,]?\\d*) sẽm itá resê", + "(\\d+[.,]?\\d*) sẽm resê", + "(\\d+[.,]?\\d*) sẽmãna itá resê", + "(\\d+[.,]?\\d*) sẽmãna resê" + ], + "in \\1 year": [ + "(\\d+[.,]?\\d*) akayú itá resê", + "(\\d+[.,]?\\d*) akayú resê" + ] + }, + "locale_specific": { + "yrl-CO": { + "name": "yrl-CO" + }, + "yrl-VE": { + "name": "yrl-VE" + } + }, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/yue-Hans.py b/dateparser/data/date_translation_data/yue-Hans.py new file mode 100644 index 000000000..eb6151c96 --- /dev/null +++ b/dateparser/data/date_translation_data/yue-Hans.py @@ -0,0 +1,213 @@ +info = { + "name": "yue-Hans", + "date_order": "YMD", + "january": [ + "1月", + "一月" + ], + "february": [ + "2月", + "二月" + ], + "march": [ + "3月", + "三月" + ], + "april": [ + "4月", + "四月" + ], + "may": [ + "5月", + "五月" + ], + "june": [ + "6月", + "六月" + ], + "july": [ + "7月", + "七月" + ], + "august": [ + "8月", + "八月" + ], + "september": [ + "9月", + "九月" + ], + "october": [ + "10月", + "十月" + ], + "november": [ + "11月", + "十一月" + ], + "december": [ + "12月", + "十二月" + ], + "monday": [ + "周一", + "星期一" + ], + "tuesday": [ + "周二", + "星期二" + ], + "wednesday": [ + "周三", + "星期三" + ], + "thursday": [ + "周四", + "星期四" + ], + "friday": [ + "周五", + "星期五" + ], + "saturday": [ + "周六", + "星期六" + ], + "sunday": [ + "周日", + "星期日" + ], + "am": [ + "上午" + ], + "pm": [ + "下午" + ], + "year": [ + "年" + ], + "month": [ + "月" + ], + "week": [ + "周" + ], + "day": [ + "日" + ], + "hour": [ + "小时" + ], + "minute": [ + "分钟" + ], + "second": [ + "秒" + ], + "relative-type": { + "0 day ago": [ + "今日" + ], + "0 hour ago": [ + "呢个小时" + ], + "0 minute ago": [ + "呢分钟" + ], + "0 month ago": [ + "今个月" + ], + "0 second ago": [ + "宜家" + ], + "0 week ago": [ + "今个星期" + ], + "0 year ago": [ + "今年" + ], + "1 day ago": [ + "寻日" + ], + "1 month ago": [ + "上个月" + ], + "1 week ago": [ + "上星期" + ], + "1 year ago": [ + "旧年" + ], + "in 1 day": [ + "听日" + ], + "in 1 month": [ + "下个月" + ], + "in 1 week": [ + "下星期" + ], + "in 1 year": [ + "下年" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) 日前" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) 小时前" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) 分钟前" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) 个月前" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) 秒前" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) 个星期前" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) 年前" + ], + "in \\1 day": [ + "(\\d+[.,]?\\d*) 日后" + ], + "in \\1 hour": [ + "(\\d+[.,]?\\d*) 小时后" + ], + "in \\1 minute": [ + "(\\d+[.,]?\\d*) 分钟后" + ], + "in \\1 month": [ + "(\\d+[.,]?\\d*) 个月后" + ], + "in \\1 second": [ + "(\\d+[.,]?\\d*) 秒后" + ], + "in \\1 week": [ + "(\\d+[.,]?\\d*) 个星期后" + ], + "in \\1 year": [ + "(\\d+[.,]?\\d*) 年后" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/yue-Hant.py b/dateparser/data/date_translation_data/yue-Hant.py new file mode 100644 index 000000000..81eda4cca --- /dev/null +++ b/dateparser/data/date_translation_data/yue-Hant.py @@ -0,0 +1,194 @@ +info = { + "name": "yue-Hant", + "date_order": "YMD", + "january": [ + "1月" + ], + "february": [ + "2月" + ], + "march": [ + "3月" + ], + "april": [ + "4月" + ], + "may": [ + "5月" + ], + "june": [ + "6月" + ], + "july": [ + "7月" + ], + "august": [ + "8月" + ], + "september": [ + "9月" + ], + "october": [ + "10月" + ], + "november": [ + "11月" + ], + "december": [ + "12月" + ], + "monday": [ + "星期一" + ], + "tuesday": [ + "星期二" + ], + "wednesday": [ + "星期三" + ], + "thursday": [ + "星期四" + ], + "friday": [ + "星期五" + ], + "saturday": [ + "星期六" + ], + "sunday": [ + "星期日" + ], + "am": [ + "上午" + ], + "pm": [ + "下午" + ], + "year": [ + "年" + ], + "month": [ + "月" + ], + "week": [ + "週" + ], + "day": [ + "日" + ], + "hour": [ + "小時" + ], + "minute": [ + "分鐘" + ], + "second": [ + "秒" + ], + "relative-type": { + "0 day ago": [ + "今日" + ], + "0 hour ago": [ + "呢個小時" + ], + "0 minute ago": [ + "呢分鐘" + ], + "0 month ago": [ + "今個月" + ], + "0 second ago": [ + "宜家" + ], + "0 week ago": [ + "今個星期" + ], + "0 year ago": [ + "今年" + ], + "1 day ago": [ + "尋日" + ], + "1 month ago": [ + "上個月" + ], + "1 week ago": [ + "上星期" + ], + "1 year ago": [ + "舊年" + ], + "in 1 day": [ + "聽日" + ], + "in 1 month": [ + "下個月" + ], + "in 1 week": [ + "下星期" + ], + "in 1 year": [ + "下年" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "(\\d+[.,]?\\d*) 日前" + ], + "\\1 hour ago": [ + "(\\d+[.,]?\\d*) 小時前" + ], + "\\1 minute ago": [ + "(\\d+[.,]?\\d*) 分鐘前" + ], + "\\1 month ago": [ + "(\\d+[.,]?\\d*) 個月前" + ], + "\\1 second ago": [ + "(\\d+[.,]?\\d*) 秒前" + ], + "\\1 week ago": [ + "(\\d+[.,]?\\d*) 個星期前" + ], + "\\1 year ago": [ + "(\\d+[.,]?\\d*) 年前" + ], + "in \\1 day": [ + "(\\d+[.,]?\\d*) 日後" + ], + "in \\1 hour": [ + "(\\d+[.,]?\\d*) 小時後" + ], + "in \\1 minute": [ + "(\\d+[.,]?\\d*) 分鐘後" + ], + "in \\1 month": [ + "(\\d+[.,]?\\d*) 個月後" + ], + "in \\1 second": [ + "(\\d+[.,]?\\d*) 秒後" + ], + "in \\1 week": [ + "(\\d+[.,]?\\d*) 個星期後" + ], + "in \\1 year": [ + "(\\d+[.,]?\\d*) 年後" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/yue.py b/dateparser/data/date_translation_data/yue.py index aabf0ec61..48414861c 100644 --- a/dateparser/data/date_translation_data/yue.py +++ b/dateparser/data/date_translation_data/yue.py @@ -38,32 +38,25 @@ "12月" ], "monday": [ - "星期一", - "週一" + "星期一" ], "tuesday": [ - "星期二", - "週二" + "星期二" ], "wednesday": [ - "星期三", - "週三" + "星期三" ], "thursday": [ - "星期四", - "週四" + "星期四" ], "friday": [ - "星期五", - "週五" + "星期五" ], "saturday": [ - "星期六", - "週六" + "星期六" ], "sunday": [ - "星期日", - "週日" + "星期日" ], "am": [ "上午" diff --git a/dateparser/data/date_translation_data/za.py b/dateparser/data/date_translation_data/za.py new file mode 100644 index 000000000..d47789b83 --- /dev/null +++ b/dateparser/data/date_translation_data/za.py @@ -0,0 +1,153 @@ +info = { + "name": "za", + "date_order": "YMD", + "january": [ + "ndwenit" + ], + "february": [ + "ndwenngeih" + ], + "march": [ + "ndwensam" + ], + "april": [ + "ndwenseiq" + ], + "may": [ + "ndwenngux" + ], + "june": [ + "ndwenloeg" + ], + "july": [ + "ndwencaet" + ], + "august": [ + "ndwenbet" + ], + "september": [ + "ndwengouj" + ], + "october": [ + "ndwencib" + ], + "november": [ + "ndwencib'it" + ], + "december": [ + "ndwencibngeih" + ], + "monday": [ + "singhgizit" + ], + "tuesday": [ + "singhgizngeih" + ], + "wednesday": [ + "singhgizsam" + ], + "thursday": [ + "singhgizseiq" + ], + "friday": [ + "singhgizhaj" + ], + "saturday": [ + "singhgizroek" + ], + "sunday": [ + "ngoenzsinghgiz" + ], + "am": [ + "am", + "banhaet" + ], + "pm": [ + "banringzgvaq", + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {}, + "skip": [ + " ", + "'", + ",", + "-", + ".", + "/", + ";", + "@", + "[", + "]", + "|", + "," + ] +} diff --git a/dateparser/data/date_translation_data/zgh.py b/dateparser/data/date_translation_data/zgh.py index 06337d547..a2542f50f 100644 --- a/dateparser/data/date_translation_data/zgh.py +++ b/dateparser/data/date_translation_data/zgh.py @@ -96,6 +96,7 @@ "ⴰⵙⵙ" ], "hour": [ + "hr", "ⵜⴰⵙⵔⴰⴳⵜ" ], "minute": [ diff --git a/dateparser/data/date_translation_data/zh-Hant.py b/dateparser/data/date_translation_data/zh-Hant.py index 9a51ecd32..f593f2aa1 100644 --- a/dateparser/data/date_translation_data/zh-Hant.py +++ b/dateparser/data/date_translation_data/zh-Hant.py @@ -212,9 +212,6 @@ "1 day ago": [ "昨日" ], - "1 month ago": [ - "上月" - ], "1 week ago": [ "上星期" ], @@ -224,9 +221,6 @@ "in 1 day": [ "明日" ], - "in 1 month": [ - "下月" - ], "in 1 week": [ "下星期" ], @@ -253,7 +247,7 @@ ], "\\1 week ago": [ "(\\d+[.,]?\\d*) 星期前", - "(\\d+[.,]?\\d*)週前" + "(\\d+[.,]?\\d*)星期前" ], "\\1 year ago": [ "(\\d+[.,]?\\d*)年前" @@ -276,7 +270,7 @@ ], "in \\1 week": [ "(\\d+[.,]?\\d*) 星期後", - "(\\d+[.,]?\\d*)週後" + "(\\d+[.,]?\\d*)星期後" ], "in \\1 year": [ "(\\d+[.,]?\\d*)年後" @@ -311,9 +305,6 @@ "1 day ago": [ "昨日" ], - "1 month ago": [ - "上月" - ], "1 week ago": [ "上星期" ], @@ -323,9 +314,6 @@ "in 1 day": [ "明日" ], - "in 1 month": [ - "下月" - ], "in 1 week": [ "下星期" ], @@ -352,7 +340,7 @@ ], "\\1 week ago": [ "(\\d+[.,]?\\d*) 星期前", - "(\\d+[.,]?\\d*)週前" + "(\\d+[.,]?\\d*)星期前" ], "\\1 year ago": [ "(\\d+[.,]?\\d*)年前" @@ -375,7 +363,7 @@ ], "in \\1 week": [ "(\\d+[.,]?\\d*) 星期後", - "(\\d+[.,]?\\d*)週後" + "(\\d+[.,]?\\d*)星期後" ], "in \\1 year": [ "(\\d+[.,]?\\d*)年後" diff --git a/dateparser/data/date_translation_data/zu.py b/dateparser/data/date_translation_data/zu.py index 5c6c8d931..e8b1a4eda 100644 --- a/dateparser/data/date_translation_data/zu.py +++ b/dateparser/data/date_translation_data/zu.py @@ -3,8 +3,7 @@ "date_order": "MDY", "january": [ "jan", - "januwari", - "umasingana" + "januwari" ], "february": [ "feb", @@ -97,6 +96,7 @@ "usuku" ], "hour": [ + "amahora", "ihora" ], "minute": [ diff --git a/dateparser/data/languages_info.py b/dateparser/data/languages_info.py index 9d0f3d475..0dd064b32 100644 --- a/dateparser/data/languages_info.py +++ b/dateparser/data/languages_info.py @@ -709,7 +709,7 @@ "gsw": ["gsw-FR", "gsw-LI"], "ug": [], "zgh": [], - "ff": ["ff-CM", "ff-GN", "ff-MR"], + "ff": [], "rn": [], "sq": ["sq-MK", "sq-XK"], "ks": [], diff --git a/dateparser_data/cldr_language_data/date_translation_data/aa.json b/dateparser_data/cldr_language_data/date_translation_data/aa.json new file mode 100644 index 000000000..bf3f05446 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/aa.json @@ -0,0 +1,108 @@ +{ + "name": "aa", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "aa-DJ": { + "name": "aa-DJ" + }, + "aa-ER": { + "name": "aa-ER" + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ab.json b/dateparser_data/cldr_language_data/date_translation_data/ab.json new file mode 100644 index 000000000..cabe7b696 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/ab.json @@ -0,0 +1,101 @@ +{ + "name": "ab", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/af.json b/dateparser_data/cldr_language_data/date_translation_data/af.json index a96e9f0f4..dfe398227 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/af.json +++ b/dateparser_data/cldr_language_data/date_translation_data/af.json @@ -109,7 +109,6 @@ ], "second": [ "s", - "sek", "sekonde" ], "relative-type": { @@ -123,39 +122,48 @@ "hierdie minuut" ], "0 month ago": [ + "hierdie md", "vandeesmaand" ], "0 second ago": [ "nou" ], "0 week ago": [ - "vandeesweek" + "hierdie w", + "hierdie week" ], "0 year ago": [ + "hierdie j", "hierdie jaar" ], "1 day ago": [ "gister" ], "1 month ago": [ - "verlede maand" + "verlede maand", + "verlede md" ], "1 week ago": [ + "verlede w", "verlede week" ], "1 year ago": [ + "verlede j", "verlede jaar" ], "in 1 day": [ "môre" ], "in 1 month": [ - "volgende maand" + "volgende maand", + "volgende md" ], "in 1 week": [ + "volgende w", "volgende week" ], "in 1 year": [ + "volgende j", "volgende jaar" ] }, @@ -165,6 +173,7 @@ "{0} dag gelede" ], "\\1 hour ago": [ + "{0} u gelede", "{0} uur gelede" ], "\\1 minute ago": [ @@ -178,7 +187,7 @@ "{0} md gelede" ], "\\1 second ago": [ - "{0} sek gelede", + "{0} s gelede", "{0} sekonde gelede", "{0} sekondes gelede" ], @@ -188,26 +197,29 @@ "{0} weke gelede" ], "\\1 year ago": [ + "{0} j gelede", "{0} jaar gelede" ], "in \\1 day": [ "oor {0} dae", - "oor {0} dag", - "oor {0} minuut" + "oor {0} dag" ], "in \\1 hour": [ + "oor {0} u", "oor {0} uur" ], "in \\1 minute": [ "oor {0} min", + "oor {0} minute", "oor {0} minuut" ], "in \\1 month": [ - "oor {0} md", - "oor {0} minuut" + "oor {0} maand", + "oor {0} maande", + "oor {0} md" ], "in \\1 second": [ - "oor {0} sek", + "oor {0} s", "oor {0} sekonde", "oor {0} sekondes" ], @@ -217,6 +229,7 @@ "oor {0} weke" ], "in \\1 year": [ + "oor {0} j", "oor {0} jaar" ] }, diff --git a/dateparser_data/cldr_language_data/date_translation_data/agq.json b/dateparser_data/cldr_language_data/date_translation_data/agq.json index 7de864742..3f9f4469c 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/agq.json +++ b/dateparser_data/cldr_language_data/date_translation_data/agq.json @@ -96,6 +96,7 @@ "utsuʔ" ], "hour": [ + "hr", "tàm" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/ak.json b/dateparser_data/cldr_language_data/date_translation_data/ak.json index c21f1124c..e0e678fbe 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ak.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ak.json @@ -96,7 +96,8 @@ "da" ], "hour": [ - "dɔnhwer" + "dɔnhwer", + "hr" ], "minute": [ "sema" diff --git a/dateparser_data/cldr_language_data/date_translation_data/am.json b/dateparser_data/cldr_language_data/date_translation_data/am.json index 9418a71bb..810cbdfa3 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/am.json +++ b/dateparser_data/cldr_language_data/date_translation_data/am.json @@ -2,12 +2,12 @@ "name": "am", "date_order": "DMY", "january": [ - "ጃንዩ", - "ጃንዩወሪ" + "ጃን", + "ጃንዋሪ" ], "february": [ - "ፌብሩ", - "ፌብሩወሪ" + "ፌብ", + "ፌብሩዋሪ" ], "march": [ "ማርች" @@ -86,7 +86,8 @@ "ቀን" ], "hour": [ - "ሰዓት" + "ሰዓት", + "ሰዓቶች" ], "minute": [ "ደቂቃ" diff --git a/dateparser_data/cldr_language_data/date_translation_data/an.json b/dateparser_data/cldr_language_data/date_translation_data/an.json new file mode 100644 index 000000000..12f2ec949 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/an.json @@ -0,0 +1,101 @@ +{ + "name": "an", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ann.json b/dateparser_data/cldr_language_data/date_translation_data/ann.json new file mode 100644 index 000000000..118fad9a6 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/ann.json @@ -0,0 +1,101 @@ +{ + "name": "ann", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/apc.json b/dateparser_data/cldr_language_data/date_translation_data/apc.json new file mode 100644 index 000000000..dc4d1756c --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/apc.json @@ -0,0 +1,101 @@ +{ + "name": "apc", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ar.json b/dateparser_data/cldr_language_data/date_translation_data/ar.json index f144bddce..5dbeb4b27 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ar.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ar.json @@ -79,7 +79,8 @@ "يوم" ], "hour": [ - "الساعات" + "الساعات", + "ساعات" ], "minute": [ "الدقائق" @@ -262,8 +263,7 @@ "أيلول" ], "october": [ - "تشرين الأول", - "تشرین الأول" + "تشرين الأول" ], "november": [ "تشرين الثاني" diff --git a/dateparser_data/cldr_language_data/date_translation_data/arn.json b/dateparser_data/cldr_language_data/date_translation_data/arn.json new file mode 100644 index 000000000..b01c66316 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/arn.json @@ -0,0 +1,101 @@ +{ + "name": "arn", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/as.json b/dateparser_data/cldr_language_data/date_translation_data/as.json index bb432d2b8..048ebdf1c 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/as.json +++ b/dateparser_data/cldr_language_data/date_translation_data/as.json @@ -1,6 +1,6 @@ { "name": "as", - "date_order": "YMD", + "date_order": "DMY", "january": [ "জানু", "জানুৱাৰী" @@ -16,7 +16,7 @@ "এপ্ৰিল" ], "may": [ - "মে" + "মে'" ], "june": [ "জুন" @@ -29,20 +29,20 @@ "আগষ্ট" ], "september": [ - "ছেপ্তেম্বৰ", - "সেপ্ট" + "ছেপ্তে", + "ছেপ্তেম্বৰ" ], "october": [ "অক্টো", "অক্টোবৰ" ], "november": [ - "নভে", + "নৱে", "নৱেম্বৰ" ], "december": [ - "ডিচেম্বৰ", - "ডিসে" + "ডিচে", + "ডিচেম্বৰ" ], "monday": [ "সোম", @@ -57,8 +57,8 @@ "বুধবাৰ" ], "thursday": [ - "বৃহষ্পতি", - "বৃহষ্পতিবাৰ" + "বৃহ", + "বৃহস্পতিবাৰ" ], "friday": [ "শুক্ৰ", @@ -69,14 +69,14 @@ "শনিবাৰ" ], "sunday": [ - "দেওবাৰ", - "ৰবি" + "দেও", + "দেওবাৰ" ], "am": [ - "পূৰ্বাহ্ণ" + "পূৰ্বাহ্ন" ], "pm": [ - "অপৰাহ্ণ" + "অপৰাহ্ন" ], "year": [ "বছৰ" @@ -104,46 +104,92 @@ "আজি" ], "0 hour ago": [ - "this hour" + "এইটো ঘণ্টাত" ], "0 minute ago": [ - "this minute" + "এইটো মিনিটত" ], "0 month ago": [ - "this month" + "এই মা", + "এই মাহ" ], "0 second ago": [ - "now" + "এতিয়া" ], "0 week ago": [ - "this week" + "এই সপ্তাহ" ], "0 year ago": [ - "this year" + "এই বছৰ" ], "1 day ago": [ "কালি" ], "1 month ago": [ - "last month" + "যোৱা মা", + "যোৱা মাহ" ], "1 week ago": [ - "last week" + "যোৱা সপ্তাহ" ], "1 year ago": [ - "last year" + "যোৱা বছৰ" ], "in 1 day": [ "কাইলৈ" ], "in 1 month": [ - "next month" + "অহা মাহ" ], "in 1 week": [ - "next week" + "অহা সপ্তাহ" ], "in 1 year": [ - "next year" + "অহা বছৰ" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} দিন পূৰ্বে" + ], + "\\1 hour ago": [ + "{0} ঘণ্টা পূৰ্বে" + ], + "\\1 minute ago": [ + "{0} মিনিট পূৰ্বে" + ], + "\\1 month ago": [ + "{0} মাহ পূৰ্বে" + ], + "\\1 second ago": [ + "{0} ছেকেণ্ড পূৰ্বে" + ], + "\\1 week ago": [ + "{0} সপ্তাহ পূৰ্বে" + ], + "\\1 year ago": [ + "{0} বছৰৰ পূৰ্বে" + ], + "in \\1 day": [ + "{0} দিনত" + ], + "in \\1 hour": [ + "{0} ঘণ্টাত" + ], + "in \\1 minute": [ + "{0} মিনিটত" + ], + "in \\1 month": [ + "{0} মাহত" + ], + "in \\1 second": [ + "{0} ছেকেণ্ডত" + ], + "in \\1 week": [ + "{0} সপ্তাহত" + ], + "in \\1 year": [ + "{0} বছৰত" ] }, "locale_specific": {} diff --git a/dateparser_data/cldr_language_data/date_translation_data/asa.json b/dateparser_data/cldr_language_data/date_translation_data/asa.json index 0fb5fcd39..28c9cbb1b 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/asa.json +++ b/dateparser_data/cldr_language_data/date_translation_data/asa.json @@ -95,6 +95,7 @@ "thiku" ], "hour": [ + "hr", "thaa" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/ast.json b/dateparser_data/cldr_language_data/date_translation_data/ast.json index bde84f295..88e831430 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ast.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ast.json @@ -114,7 +114,8 @@ ], "hour": [ "h", - "hora" + "hora", + "hores" ], "minute": [ "m", diff --git a/dateparser_data/cldr_language_data/date_translation_data/az-Arab.json b/dateparser_data/cldr_language_data/date_translation_data/az-Arab.json new file mode 100644 index 000000000..ae959ffea --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/az-Arab.json @@ -0,0 +1,108 @@ +{ + "name": "az-Arab", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "az-Arab-IQ": { + "name": "az-Arab-IQ" + }, + "az-Arab-TR": { + "name": "az-Arab-TR" + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/az-Cyrl.json b/dateparser_data/cldr_language_data/date_translation_data/az-Cyrl.json index 120985fcb..a7792ece7 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/az-Cyrl.json +++ b/dateparser_data/cldr_language_data/date_translation_data/az-Cyrl.json @@ -95,7 +95,8 @@ "day" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser_data/cldr_language_data/date_translation_data/az-Latn.json b/dateparser_data/cldr_language_data/date_translation_data/az-Latn.json index d0a3d6bac..59a971ceb 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/az-Latn.json +++ b/dateparser_data/cldr_language_data/date_translation_data/az-Latn.json @@ -22,13 +22,11 @@ ], "june": [ "iyn", - "iyun", - "i̇yun" + "iyun" ], "july": [ "iyl", - "iyul", - "i̇yul" + "iyul" ], "august": [ "avq", diff --git a/dateparser_data/cldr_language_data/date_translation_data/az.json b/dateparser_data/cldr_language_data/date_translation_data/az.json index 7607667bf..0f5684f45 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/az.json +++ b/dateparser_data/cldr_language_data/date_translation_data/az.json @@ -22,13 +22,11 @@ ], "june": [ "iyn", - "iyun", - "i̇yun" + "iyun" ], "july": [ "iyl", - "iyul", - "i̇yul" + "iyul" ], "august": [ "avq", diff --git a/dateparser_data/cldr_language_data/date_translation_data/ba.json b/dateparser_data/cldr_language_data/date_translation_data/ba.json new file mode 100644 index 000000000..8bffdd1b9 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/ba.json @@ -0,0 +1,101 @@ +{ + "name": "ba", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/bal-Arab.json b/dateparser_data/cldr_language_data/date_translation_data/bal-Arab.json new file mode 100644 index 000000000..502eb1420 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/bal-Arab.json @@ -0,0 +1,101 @@ +{ + "name": "bal-Arab", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/bal-Latn.json b/dateparser_data/cldr_language_data/date_translation_data/bal-Latn.json new file mode 100644 index 000000000..41bdb3959 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/bal-Latn.json @@ -0,0 +1,101 @@ +{ + "name": "bal-Latn", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/bal.json b/dateparser_data/cldr_language_data/date_translation_data/bal.json new file mode 100644 index 000000000..dcd8f8389 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/bal.json @@ -0,0 +1,101 @@ +{ + "name": "bal", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/bas.json b/dateparser_data/cldr_language_data/date_translation_data/bas.json index d6792c897..2a58d0d41 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/bas.json +++ b/dateparser_data/cldr_language_data/date_translation_data/bas.json @@ -96,6 +96,7 @@ "kɛl" ], "hour": [ + "hr", "ŋgɛŋ" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/be-tarask.json b/dateparser_data/cldr_language_data/date_translation_data/be-tarask.json new file mode 100644 index 000000000..1a82103d2 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/be-tarask.json @@ -0,0 +1,253 @@ +{ + "name": "be-tarask", + "date_order": "DMY", + "january": [ + "сту", + "студзень", + "студзеня" + ], + "february": [ + "лют", + "лютага", + "люты" + ], + "march": [ + "сак", + "сакавік", + "сакавіка" + ], + "april": [ + "кра", + "красавік", + "красавіка" + ], + "may": [ + "май", + "мая" + ], + "june": [ + "чэр", + "чэрвень", + "чэрвеня" + ], + "july": [ + "ліп", + "ліпень", + "ліпеня" + ], + "august": [ + "жні", + "жнівень", + "жніўня" + ], + "september": [ + "вер", + "верасень", + "верасня" + ], + "october": [ + "кас", + "кастрычнік", + "кастрычніка" + ], + "november": [ + "ліс", + "лістапад", + "лістапада" + ], + "december": [ + "сне", + "снежань", + "снежня" + ], + "monday": [ + "панядзелак", + "пн" + ], + "tuesday": [ + "аў", + "аўторак" + ], + "wednesday": [ + "серада", + "ср" + ], + "thursday": [ + "чацвер", + "чц" + ], + "friday": [ + "пт", + "пятніца" + ], + "saturday": [ + "сб", + "субота" + ], + "sunday": [ + "нд", + "нядзеля" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "г", + "год" + ], + "month": [ + "мес", + "месяц" + ], + "week": [ + "тыд" + ], + "day": [ + "д", + "дзень" + ], + "hour": [ + "гадз", + "гадзіна", + "гадзіны" + ], + "minute": [ + "хв", + "хвіліна" + ], + "second": [ + "с", + "секунда" + ], + "relative-type": { + "0 day ago": [ + "сёння" + ], + "0 hour ago": [ + "у гэту гадзіну", + "у гэтую гадзіну" + ], + "0 minute ago": [ + "у гэту хвіліну", + "у гэтую хвіліну" + ], + "0 month ago": [ + "у гэтым мес", + "у гэтым месяцы" + ], + "0 second ago": [ + "цяпер" + ], + "0 week ago": [ + "на гэтым тыд", + "на гэтым тыдні" + ], + "0 year ago": [ + "у гэтым годзе" + ], + "1 day ago": [ + "учора" + ], + "1 month ago": [ + "у мін мес", + "у мінулым месяцы" + ], + "1 week ago": [ + "на мін тыд", + "на мінулым тыдні" + ], + "1 year ago": [ + "у мін годзе", + "у мінулым годзе" + ], + "in 1 day": [ + "заўтра" + ], + "in 1 month": [ + "у наст мес", + "у наступным месяцы" + ], + "in 1 week": [ + "на наст тыд", + "на наступным тыдні" + ], + "in 1 year": [ + "у наст годзе", + "у наступным годзе" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} дзень таму", + "{0} дня таму" + ], + "\\1 hour ago": [ + "{0} гадз таму", + "{0} гадзіну таму", + "{0} гадзіны таму" + ], + "\\1 minute ago": [ + "{0} хв таму", + "{0} хвіліну таму", + "{0} хвіліны таму" + ], + "\\1 month ago": [ + "{0} мес таму", + "{0} месяц таму", + "{0} месяца таму" + ], + "\\1 second ago": [ + "{0} с таму", + "{0} секунду таму", + "{0} секунды таму" + ], + "\\1 week ago": [ + "{0} тыд таму", + "{0} тыдзень таму", + "{0} тыдня таму" + ], + "\\1 year ago": [ + "{0} г таму", + "{0} год таму", + "{0} года таму" + ], + "in \\1 day": [ + "праз {0} дзень", + "праз {0} дня" + ], + "in \\1 hour": [ + "праз {0} гадз", + "праз {0} гадзіну", + "праз {0} гадзіны" + ], + "in \\1 minute": [ + "праз {0} хв", + "праз {0} хвіліну", + "праз {0} хвіліны" + ], + "in \\1 month": [ + "праз {0} мес", + "праз {0} месяц", + "праз {0} месяца" + ], + "in \\1 second": [ + "праз {0} с", + "праз {0} секунду", + "праз {0} секунды" + ], + "in \\1 week": [ + "праз {0} тыд", + "праз {0} тыдзень", + "праз {0} тыдня" + ], + "in \\1 year": [ + "праз {0} г", + "праз {0} год", + "праз {0} года" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/be.json b/dateparser_data/cldr_language_data/date_translation_data/be.json index 4ebcf51a9..f76bb1f83 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/be.json +++ b/dateparser_data/cldr_language_data/date_translation_data/be.json @@ -111,7 +111,8 @@ ], "hour": [ "гадз", - "гадзіна" + "гадзіна", + "гадзіны" ], "minute": [ "хв", @@ -132,12 +133,14 @@ "у гэту хвіліну" ], "0 month ago": [ + "у гэтым мес", "у гэтым месяцы" ], "0 second ago": [ "цяпер" ], "0 week ago": [ + "на гэтым тыд", "на гэтым тыдні" ], "0 year ago": [ @@ -147,30 +150,35 @@ "учора" ], "1 month ago": [ + "у мін мес", "у мінулым месяцы" ], "1 week ago": [ + "на мін тыд", "на мінулым тыдні" ], "1 year ago": [ + "у мін годзе", "у мінулым годзе" ], "in 1 day": [ "заўтра" ], "in 1 month": [ + "у наст мес", "у наступным месяцы" ], "in 1 week": [ + "на наст тыд", "на наступным тыдні" ], "in 1 year": [ + "у наст годзе", "у наступным годзе" ] }, "relative-type-regex": { "\\1 day ago": [ - "{0} д таму", "{0} дзень таму", "{0} дня таму" ], @@ -205,7 +213,6 @@ "{0} года таму" ], "in \\1 day": [ - "праз {0} д", "праз {0} дзень", "праз {0} дня" ], diff --git a/dateparser_data/cldr_language_data/date_translation_data/bem.json b/dateparser_data/cldr_language_data/date_translation_data/bem.json index a67b7bbfd..50d29b792 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/bem.json +++ b/dateparser_data/cldr_language_data/date_translation_data/bem.json @@ -88,6 +88,7 @@ "ubushiku" ], "hour": [ + "hr", "insa" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/bew.json b/dateparser_data/cldr_language_data/date_translation_data/bew.json new file mode 100644 index 000000000..b6054c695 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/bew.json @@ -0,0 +1,101 @@ +{ + "name": "bew", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/bez.json b/dateparser_data/cldr_language_data/date_translation_data/bez.json index 5e6eca7e5..d331940a6 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/bez.json +++ b/dateparser_data/cldr_language_data/date_translation_data/bez.json @@ -96,6 +96,7 @@ "sihu" ], "hour": [ + "hr", "saa" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/bg.json b/dateparser_data/cldr_language_data/date_translation_data/bg.json index 63b57171d..e279706b5 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/bg.json +++ b/dateparser_data/cldr_language_data/date_translation_data/bg.json @@ -83,10 +83,11 @@ ], "year": [ "г", + "год", "година" ], "month": [ - "м", + "мес", "месец" ], "week": [ @@ -99,14 +100,15 @@ ], "hour": [ "ч", - "час" + "час", + "часове" ], "minute": [ "мин", "минута" ], "second": [ - "с", + "сек", "секунда" ], "relative-type": { @@ -145,7 +147,6 @@ ], "1 week ago": [ "мин седм", - "миналата седмица", "предходната седмица" ], "1 year ago": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/bgc.json b/dateparser_data/cldr_language_data/date_translation_data/bgc.json new file mode 100644 index 000000000..3597cd386 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/bgc.json @@ -0,0 +1,139 @@ +{ + "name": "bgc", + "date_order": "YMD", + "january": [ + "जनवरी" + ], + "february": [ + "फरवरी" + ], + "march": [ + "मार्च" + ], + "april": [ + "अप्रैल" + ], + "may": [ + "मई" + ], + "june": [ + "जून" + ], + "july": [ + "जुलाई" + ], + "august": [ + "अगस्त" + ], + "september": [ + "सितम्बर" + ], + "october": [ + "अक्टूबर" + ], + "november": [ + "नवम्बर" + ], + "december": [ + "दिसंबर" + ], + "monday": [ + "सोमवार" + ], + "tuesday": [ + "मंगलवार" + ], + "wednesday": [ + "बुधवार" + ], + "thursday": [ + "बृहस्पतवार" + ], + "friday": [ + "शुक्रवार" + ], + "saturday": [ + "शनिवार" + ], + "sunday": [ + "ऐतवार" + ], + "am": [ + "am", + "तडके" + ], + "pm": [ + "pm", + "सांझ" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "आज" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "इस मिह्ने" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "इस हफ़्ते" + ], + "0 year ago": [ + "इस साल" + ], + "1 day ago": [ + "काह्ल (बित्या होड)" + ], + "1 month ago": [ + "पिछला मिह्ना" + ], + "1 week ago": [ + "पिछला हफ़्ता" + ], + "1 year ago": [ + "पिछला साल" + ], + "in 1 day": [ + "काह्ल (आण आला)" + ], + "in 1 month": [ + "अगला मिह्ना" + ], + "in 1 week": [ + "अगला हफ़्ता" + ], + "in 1 year": [ + "अगला साल" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/bgn.json b/dateparser_data/cldr_language_data/date_translation_data/bgn.json new file mode 100644 index 000000000..70f70b24a --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/bgn.json @@ -0,0 +1,114 @@ +{ + "name": "bgn", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "سال" + ], + "month": [ + "ماه" + ], + "week": [ + "هفته‌گ" + ], + "day": [ + "روچ" + ], + "hour": [ + "سائت", + "ساعت" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "مروچی" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "زي" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "باندا" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "bgn-AE": { + "name": "bgn-AE" + }, + "bgn-AF": { + "name": "bgn-AF" + }, + "bgn-IR": { + "name": "bgn-IR" + }, + "bgn-OM": { + "name": "bgn-OM" + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/bho.json b/dateparser_data/cldr_language_data/date_translation_data/bho.json new file mode 100644 index 000000000..c849e831b --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/bho.json @@ -0,0 +1,139 @@ +{ + "name": "bho", + "date_order": "YMD", + "january": [ + "जनवरी" + ], + "february": [ + "फरवरी" + ], + "march": [ + "मार्च" + ], + "april": [ + "अप्रैल" + ], + "may": [ + "मई" + ], + "june": [ + "जून" + ], + "july": [ + "जुलाई" + ], + "august": [ + "अगस्त" + ], + "september": [ + "सितम्बर" + ], + "october": [ + "अक्टूबर" + ], + "november": [ + "नवंबर" + ], + "december": [ + "दिसंबर" + ], + "monday": [ + "सोमबार" + ], + "tuesday": [ + "मंगलबार" + ], + "wednesday": [ + "बुधबार" + ], + "thursday": [ + "बृहस्पतिबार" + ], + "friday": [ + "शुक्रबार" + ], + "saturday": [ + "सनीचर" + ], + "sunday": [ + "रबीबार" + ], + "am": [ + "am", + "भोर" + ], + "pm": [ + "pm", + "सांझ" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/blo.json b/dateparser_data/cldr_language_data/date_translation_data/blo.json new file mode 100644 index 000000000..9f18fa931 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/blo.json @@ -0,0 +1,174 @@ +{ + "name": "blo", + "date_order": "MDY", + "january": [ + "kaw", + "ɩjikawǝrka kaŋɔrɔ" + ], + "february": [ + "kpa", + "ɩjikpaka kaŋɔrɔ" + ], + "march": [ + "arɛ́cika kaŋɔrɔ", + "ci" + ], + "april": [ + "njɩbɔ nɖʊka kaŋɔrɔ", + "ɖʊ" + ], + "may": [ + "acafʊnɖuka kaŋɔrɔ", + "ɖu5" + ], + "june": [ + "anɔɔɖuka kaŋɔrɔ", + "ɖu6" + ], + "july": [ + "alàlaka kaŋɔrɔ", + "la" + ], + "august": [ + "kǝu", + "ɩjikǝuka kaŋɔrɔ" + ], + "september": [ + "abofʊmka kaŋɔrɔ", + "fʊm" + ], + "october": [ + "cim", + "ɩjicimka kaŋɔrɔ" + ], + "november": [ + "acapomka kaŋɔrɔ", + "pom" + ], + "december": [ + "anɔɔbʊnka kaŋɔrɔ", + "bʊn" + ], + "monday": [ + "aɖɩt", + "aɖɩtɛnɛɛ" + ], + "tuesday": [ + "atal", + "atalaata" + ], + "wednesday": [ + "alaarba", + "alar" + ], + "thursday": [ + "alaamɩshɩ", + "alam" + ], + "friday": [ + "arɩs", + "arɩsǝma" + ], + "saturday": [ + "asib", + "asiibi" + ], + "sunday": [ + "alah", + "alahaɖɩ" + ], + "am": [ + "1ka", + "ʊshilè kʊboɖu" + ], + "pm": [ + "2ja", + "ʊshilè kʊsasʊ" + ], + "year": [ + "gaja", + "gj" + ], + "month": [ + "aŋ", + "aŋɔrɔ" + ], + "week": [ + "bk", + "bɔkɔɩ" + ], + "day": [ + "ʊsh", + "ʊshilé" + ], + "hour": [ + "gakɔŋkɔŋɔ̀", + "gk", + "hr" + ], + "minute": [ + "gn", + "gʊnaŋa" + ], + "second": [ + "gp", + "gɩpi" + ], + "relative-type": { + "0 day ago": [ + "ʊrɔŋ" + ], + "0 hour ago": [ + "gakɔŋkɔŋɔ̀ ŋgaɖe" + ], + "0 minute ago": [ + "gʊnaŋa ŋgʊɖe" + ], + "0 month ago": [ + "aŋ ɖe", + "aŋɔrɔ nnɖe" + ], + "0 second ago": [ + "nnyǝmǝ" + ], + "0 week ago": [ + "bk ɖe", + "bɔkɔɩ nnɖe" + ], + "0 year ago": [ + "gaja ŋgaɖe", + "gj ɖe" + ], + "1 day ago": [ + "galaɩ" + ], + "1 month ago": [ + "aŋ boŋo", + "aŋɔrɔ aboŋoka" + ], + "1 week ago": [ + "bk boŋo", + "bɔkɔɩ aboŋoka" + ], + "1 year ago": [ + "gaja gaboŋoka", + "gj boŋo" + ], + "in 1 day": [ + "gacǝŋ" + ], + "in 1 month": [ + "aŋ fɔlɩ", + "aŋɔrɔ afɔlɩ" + ], + "in 1 week": [ + "bk fɔlɩ", + "bɔkɔɩ afɔlɩ" + ], + "in 1 year": [ + "gaja gafɔlɩ", + "gj fɔlɩ" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/blt.json b/dateparser_data/cldr_language_data/date_translation_data/blt.json new file mode 100644 index 000000000..e32cd9db4 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/blt.json @@ -0,0 +1,101 @@ +{ + "name": "blt", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/bm-Nkoo.json b/dateparser_data/cldr_language_data/date_translation_data/bm-Nkoo.json new file mode 100644 index 000000000..525b0bc80 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/bm-Nkoo.json @@ -0,0 +1,101 @@ +{ + "name": "bm-Nkoo", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/bm.json b/dateparser_data/cldr_language_data/date_translation_data/bm.json index 5f869a256..297b4e716 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/bm.json +++ b/dateparser_data/cldr_language_data/date_translation_data/bm.json @@ -94,6 +94,7 @@ "don" ], "hour": [ + "hr", "lɛrɛ" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/bn.json b/dateparser_data/cldr_language_data/date_translation_data/bn.json index 323afb47d..0cc83110b 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/bn.json +++ b/dateparser_data/cldr_language_data/date_translation_data/bn.json @@ -13,6 +13,7 @@ "মার্চ" ], "april": [ + "এপ্রি", "এপ্রিল" ], "may": [ @@ -22,21 +23,27 @@ "জুন" ], "july": [ + "জুল", "জুলাই" ], "august": [ + "আগ", "আগস্ট" ], "september": [ + "সেপ", "সেপ্টেম্বর" ], "october": [ + "অক্টো", "অক্টোবর" ], "november": [ + "নভে", "নভেম্বর" ], "december": [ + "ডিসে", "ডিসেম্বর" ], "monday": [ @@ -52,7 +59,6 @@ "বুধবার" ], "thursday": [ - "বৃহষ্পতিবার", "বৃহস্পতি", "বৃহস্পতিবার" ], @@ -87,6 +93,7 @@ "দিন" ], "hour": [ + "ঘণ্টা", "ঘন্টা" ], "minute": [ @@ -150,8 +157,7 @@ "{0} ঘন্টা আগে" ], "\\1 minute ago": [ - "{0} মিনিট আগে", - "{0} মিনিট পূর্বে" + "{0} মিনিট আগে" ], "\\1 month ago": [ "{0} মাস আগে" @@ -190,7 +196,19 @@ }, "locale_specific": { "bn-IN": { - "name": "bn-IN" + "name": "bn-IN", + "september": [ + "সেপ্টেঃ" + ], + "october": [ + "অক্টোঃ" + ], + "november": [ + "নভেঃ" + ], + "december": [ + "ডিসেঃ" + ] } } } \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/bo.json b/dateparser_data/cldr_language_data/date_translation_data/bo.json index 8a93daa47..7c9bff6a1 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/bo.json +++ b/dateparser_data/cldr_language_data/date_translation_data/bo.json @@ -108,6 +108,7 @@ "ཉིན།" ], "hour": [ + "hr", "ཆུ་ཚོད་" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/br.json b/dateparser_data/cldr_language_data/date_translation_data/br.json index 87ce96aff..036e88d63 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/br.json +++ b/dateparser_data/cldr_language_data/date_translation_data/br.json @@ -1,6 +1,6 @@ { "name": "br", - "date_order": "YMD", + "date_order": "DMY", "january": [ "gen", "genver" @@ -42,7 +42,6 @@ "du" ], "december": [ - "ker", "kerzu", "kzu" ], @@ -78,13 +77,16 @@ "gm" ], "year": [ + "b", "bl", "bloaz" ], "month": [ + "m", "miz" ], "week": [ + "sizh", "sizhun" ], "day": [ @@ -93,7 +95,8 @@ ], "hour": [ "e", - "eur" + "eur", + "eurioù" ], "minute": [ "min", @@ -108,12 +111,13 @@ "hiziv" ], "0 hour ago": [ - "this hour" + "d'an eur-mañ" ], "0 minute ago": [ - "this minute" + "ar munut-mañ" ], "0 month ago": [ + "ar m-mañ", "ar miz-mañ" ], "0 second ago": [ @@ -121,6 +125,7 @@ "bremañ" ], "0 week ago": [ + "ar sizh-mañ", "ar sizhun-mañ" ], "0 year ago": [ @@ -130,9 +135,11 @@ "dec'h" ], "1 month ago": [ + "ar m diaraok", "ar miz diaraok" ], "1 week ago": [ + "ar sizh diaraok", "ar sizhun diaraok" ], "1 year ago": [ @@ -142,9 +149,11 @@ "warc'hoazh" ], "in 1 month": [ + "ar m a zeu", "ar miz a zeu" ], "in 1 week": [ + "ar sizh a zeu", "ar sizhun a zeu" ], "in 1 year": [ @@ -173,6 +182,7 @@ "{0} s zo" ], "\\1 week ago": [ + "{0} sizh zo", "{0} sizhun zo" ], "\\1 year ago": [ @@ -200,6 +210,7 @@ "a-benn {0} s" ], "in \\1 week": [ + "a-benn {0} sizh", "a-benn {0} sizhun" ], "in \\1 year": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/brx.json b/dateparser_data/cldr_language_data/date_translation_data/brx.json index bcac7ebb7..c46097549 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/brx.json +++ b/dateparser_data/cldr_language_data/date_translation_data/brx.json @@ -1,17 +1,20 @@ { "name": "brx", - "date_order": "MDY", + "date_order": "DMY", "january": [ + "जान", "जानुवारी" ], "february": [ - "फेब्रुवारी" + "फेब", + "फेब्रूवारी" ], "march": [ - "मार्स" + "मार्च" ], "april": [ - "एफ्रिल" + "एप्रि", + "एप्रिल" ], "may": [ "मे" @@ -20,22 +23,28 @@ "जुन" ], "july": [ - "जुलाइ" + "जुल", + "जुलाई" ], "august": [ - "आगस्थ" + "आग", + "आगष्ट" ], "september": [ - "सेबथेज्ब़र" + "सेप", + "सेप्थेम्बर" ], "october": [ - "अखथबर" + "अक्ट'", + "अक्ट'बर" ], "november": [ - "नबेज्ब़र" + "नवे", + "नवेम्बर" ], "december": [ - "दिसेज्ब़र" + "डिसे", + "डिसेम्बर" ], "monday": [ "सम", @@ -46,20 +55,21 @@ "मंगलबार" ], "wednesday": [ - "बुद", - "बुदबार" + "बुध", + "बुधबार" ], "thursday": [ - "बिसथि", - "बिसथिबार" + "बिस्थि", + "बिस्थिबार" ], "friday": [ "सुखुर", - "सुखुरबार" + "सुखुरबार", + "सुुखुरबार" ], "saturday": [ - "सुनि", - "सुनिबार" + "सनि", + "सनिबार" ], "sunday": [ "रबि", @@ -78,65 +88,110 @@ "दान" ], "week": [ - "सबथा/हबथा" + "सप्थाह" ], "day": [ "सान" ], "hour": [ - "रिंगा" + "hr", + "घन्टा" ], "minute": [ - "मिनिथ" + "मिनित" ], "second": [ - "सेखेन्द" + "सेकेण्ड" ], "relative-type": { "0 day ago": [ "दिनै" ], "0 hour ago": [ - "this hour" + "बे घन्टा" ], "0 minute ago": [ - "this minute" + "बे मिनिट" ], "0 month ago": [ - "this month" + "बे दान" ], "0 second ago": [ - "now" + "दा" ], "0 week ago": [ - "this week" + "बे सप्थाह" ], "0 year ago": [ - "this year" + "बे बोसोर" ], "1 day ago": [ "मैया" ], "1 month ago": [ - "last month" + "थांनाय दान" ], "1 week ago": [ - "last week" + "थांनाय सप्थाह" ], "1 year ago": [ - "last year" + "थांनाय बोसोर" ], "in 1 day": [ "गाबोन" ], "in 1 month": [ - "next month" + "फैगौ दान" ], "in 1 week": [ - "next week" + "फैगौ सप्थाह" ], "in 1 year": [ - "next year" + "फैगौ बोसोर" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} सान सिगां" + ], + "\\1 hour ago": [ + "{0} घन्टा सिगां" + ], + "\\1 minute ago": [ + "{0} मिनिट सिगां" + ], + "\\1 month ago": [ + "{0} दान सिगां" + ], + "\\1 second ago": [ + "{0} सेकेण्ड सिगां" + ], + "\\1 week ago": [ + "{0} सप्थाह सिगां" + ], + "\\1 year ago": [ + "{0} बोसोर सिगां" + ], + "in \\1 day": [ + "{0} सानाव" + ], + "in \\1 hour": [ + "{0} घन्टायाव" + ], + "in \\1 minute": [ + "{0} मिनिटआव" + ], + "in \\1 month": [ + "{0} दानाव" + ], + "in \\1 second": [ + "{0} सेकेण्डआव" + ], + "in \\1 week": [ + "{0} सप्थाहयाव" + ], + "in \\1 year": [ + "{0} बोसोरआव" ] }, "locale_specific": {} diff --git a/dateparser_data/cldr_language_data/date_translation_data/bs-Cyrl.json b/dateparser_data/cldr_language_data/date_translation_data/bs-Cyrl.json index 855eebd8c..c9e190cdd 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/bs-Cyrl.json +++ b/dateparser_data/cldr_language_data/date_translation_data/bs-Cyrl.json @@ -29,8 +29,8 @@ "јули" ], "august": [ - "авг", - "август" + "ауг", + "аугуст" ], "september": [ "сеп", @@ -50,7 +50,7 @@ ], "monday": [ "пон", - "понедељак" + "понедјељак" ], "tuesday": [ "уто", @@ -74,33 +74,41 @@ ], "sunday": [ "нед", - "недеља" + "недјеља" ], "am": [ - "пре подне" + "пре подне", + "прије подне" ], "pm": [ - "поподне" + "поподне", + "послије подне" ], "year": [ + "год", "година" ], "month": [ - "месец" + "мјес", + "мјесец" ], "week": [ - "недеља" + "седм", + "седмица" ], "day": [ "дан" ], "hour": [ - "час" + "сат", + "сати" ], "minute": [ + "мин", "минут" ], "second": [ + "сек", "секунд" ], "relative-type": { @@ -108,76 +116,92 @@ "данас" ], "0 hour ago": [ - "this hour" + "овог сата" ], "0 minute ago": [ - "this minute" + "овог минута" ], "0 month ago": [ - "овог месеца" + "ов мјес", + "овог мјес", + "овог мјесеца" ], "0 second ago": [ - "now" + "сада" ], "0 week ago": [ - "ове недеље" + "ове седм", + "ове седмице" ], "0 year ago": [ + "ове год", "ове године" ], "1 day ago": [ "јуче" ], "1 month ago": [ - "прошлог месеца" + "прош мјес", + "прош мјесеца", + "прошлог мјесеца" ], "1 week ago": [ - "прошле недеље" + "прош седм", + "прошле седмице" ], "1 year ago": [ + "прош године", "прошле године" ], "in 1 day": [ "сутра" ], "in 1 month": [ - "следећег месеца" + "сљ мјес", + "сљед мјесеца", + "сљедећег мјесеца" ], "in 1 week": [ - "следеће недеље" + "сљ седм", + "сљедеће седмице" ], "in 1 year": [ - "следеће године" + "сљед године", + "сљедеће године" ] }, "relative-type-regex": { "\\1 day ago": [ - "пре {0} дан", - "пре {0} дана" + "прије {0} дан", + "прије {0} дана" ], "\\1 hour ago": [ - "пре {0} сат", - "пре {0} сати" + "прије {0} сат", + "прије {0} сати" ], "\\1 minute ago": [ - "пре {0} минут", - "пре {0} минута" + "прије {0} мин", + "прије {0} минут", + "прије {0} минута" ], "\\1 month ago": [ - "пре {0} месец", - "пре {0} месеци" + "прије {0} мјес", + "прије {0} мјесец", + "прије {0} мјесеци" ], "\\1 second ago": [ - "пре {0} секунд", - "пре {0} секунди" + "прије {0} сек", + "прије {0} секунд", + "прије {0} секунди" ], "\\1 week ago": [ - "пре {0} недеља", - "пре {0} недељу" + "прије {0} седм", + "прије {0} седмица", + "прије {0} седмицу" ], "\\1 year ago": [ - "пре {0} година", - "пре {0} годину" + "прије {0} година", + "прије {0} годину" ], "in \\1 day": [ "за {0} дан", @@ -192,16 +216,19 @@ "за {0} минута" ], "in \\1 month": [ - "за {0} месец", - "за {0} месеци" + "за {0} мјес", + "за {0} мјесец", + "за {0} мјесеци" ], "in \\1 second": [ + "за {0} сек", "за {0} секунд", "за {0} секунди" ], "in \\1 week": [ - "за {0} недеља", - "за {0} недељу" + "за {0} седм", + "за {0} седмица", + "за {0} седмицу" ], "in \\1 year": [ "за {0} година", diff --git a/dateparser_data/cldr_language_data/date_translation_data/bs-Latn.json b/dateparser_data/cldr_language_data/date_translation_data/bs-Latn.json index 8054554e8..a56d562f5 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/bs-Latn.json +++ b/dateparser_data/cldr_language_data/date_translation_data/bs-Latn.json @@ -29,8 +29,8 @@ "juli" ], "august": [ - "avg", - "avgust" + "aug", + "august" ], "september": [ "sep", @@ -77,9 +77,11 @@ "nedjelja" ], "am": [ + "am", "prijepodne" ], "pm": [ + "pm", "popodne" ], "year": [ @@ -100,7 +102,8 @@ ], "hour": [ "h", - "sat" + "sat", + "sati" ], "minute": [ "min", diff --git a/dateparser_data/cldr_language_data/date_translation_data/bs.json b/dateparser_data/cldr_language_data/date_translation_data/bs.json index 19707b019..7f2b8693f 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/bs.json +++ b/dateparser_data/cldr_language_data/date_translation_data/bs.json @@ -29,8 +29,8 @@ "juli" ], "august": [ - "avg", - "avgust" + "aug", + "august" ], "september": [ "sep", @@ -77,9 +77,11 @@ "nedjelja" ], "am": [ + "am", "prijepodne" ], "pm": [ + "pm", "popodne" ], "year": [ @@ -100,7 +102,8 @@ ], "hour": [ "h", - "sat" + "sat", + "sati" ], "minute": [ "min", diff --git a/dateparser_data/cldr_language_data/date_translation_data/bss.json b/dateparser_data/cldr_language_data/date_translation_data/bss.json new file mode 100644 index 000000000..28d4128ed --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/bss.json @@ -0,0 +1,101 @@ +{ + "name": "bss", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "mwɛ̌" + ], + "month": [ + "ngɔn" + ], + "week": [ + "sɔ̂ndé" + ], + "day": [ + "mbwɛ" + ], + "hour": [ + "hr", + "háwa" + ], + "minute": [ + "menúte" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "chii" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "chǎn ábe é'tómé" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "chǎn ábe é'húɛ'" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/byn.json b/dateparser_data/cldr_language_data/date_translation_data/byn.json new file mode 100644 index 000000000..a434fdfc7 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/byn.json @@ -0,0 +1,101 @@ +{ + "name": "byn", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ca-ES-valencia.json b/dateparser_data/cldr_language_data/date_translation_data/ca-ES-valencia.json new file mode 100644 index 000000000..f784133f3 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/ca-ES-valencia.json @@ -0,0 +1,248 @@ +{ + "name": "ca-ES-valencia", + "date_order": "DMY", + "january": [ + "de gen", + "de gener", + "gen", + "gener" + ], + "february": [ + "de febr", + "de febrer", + "febr", + "febrer" + ], + "march": [ + "de març", + "març" + ], + "april": [ + "abr", + "abril", + "d'abr", + "d'abril" + ], + "may": [ + "de maig", + "maig" + ], + "june": [ + "de juny", + "juny" + ], + "july": [ + "de jul", + "de juliol", + "jul", + "juliol" + ], + "august": [ + "ag", + "agost", + "d'ag", + "d'agost" + ], + "september": [ + "de set", + "de setembre", + "set", + "setembre" + ], + "october": [ + "d'oct", + "d'octubre", + "oct", + "octubre" + ], + "november": [ + "de nov", + "de novembre", + "nov", + "novembre" + ], + "december": [ + "de des", + "de desembre", + "des", + "desembre" + ], + "monday": [ + "dilluns", + "dl" + ], + "tuesday": [ + "dimarts", + "dt" + ], + "wednesday": [ + "dc", + "dimecres" + ], + "thursday": [ + "dijous", + "dj" + ], + "friday": [ + "divendres", + "dv" + ], + "saturday": [ + "dissabte", + "ds" + ], + "sunday": [ + "dg", + "diumenge" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "any" + ], + "month": [ + "mes" + ], + "week": [ + "setm", + "setmana" + ], + "day": [ + "dia" + ], + "hour": [ + "h", + "hora", + "hores" + ], + "minute": [ + "min", + "minut" + ], + "second": [ + "s", + "segon" + ], + "relative-type": { + "0 day ago": [ + "avui" + ], + "0 hour ago": [ + "aquesta hora" + ], + "0 minute ago": [ + "aquest minut" + ], + "0 month ago": [ + "aquest mes" + ], + "0 second ago": [ + "ara" + ], + "0 week ago": [ + "aquesta setm", + "aquesta setmana" + ], + "0 year ago": [ + "enguany" + ], + "1 day ago": [ + "ahir" + ], + "1 month ago": [ + "el mes passat" + ], + "1 week ago": [ + "la setm passada", + "la setmana passada" + ], + "1 year ago": [ + "l'any passat" + ], + "in 1 day": [ + "demà" + ], + "in 1 month": [ + "el mes que ve" + ], + "in 1 week": [ + "la setm que ve", + "la setmana que ve" + ], + "in 1 year": [ + "l'any que ve" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "fa {0} dia", + "fa {0} dies" + ], + "\\1 hour ago": [ + "fa {0} h", + "fa {0} hora", + "fa {0} hores" + ], + "\\1 minute ago": [ + "fa {0} min", + "fa {0} minut", + "fa {0} minuts" + ], + "\\1 month ago": [ + "fa {0} mes", + "fa {0} mesos" + ], + "\\1 second ago": [ + "fa {0} s", + "fa {0} segon", + "fa {0} segons" + ], + "\\1 week ago": [ + "fa {0} setm", + "fa {0} setmana", + "fa {0} setmanes" + ], + "\\1 year ago": [ + "fa {0} any", + "fa {0} anys" + ], + "in \\1 day": [ + "d'aquí a {0} dia", + "d'aquí a {0} dies" + ], + "in \\1 hour": [ + "d'aquí a {0} h", + "d'aquí a {0} hora", + "d'aquí a {0} hores", + "d‘aquí a {0} h" + ], + "in \\1 minute": [ + "d'aquí a {0} min", + "d'aquí a {0} minut", + "d'aquí a {0} minuts" + ], + "in \\1 month": [ + "d'aquí a {0} mes", + "d'aquí a {0} mesos" + ], + "in \\1 second": [ + "d'aquí a {0} s", + "d'aquí a {0} segon", + "d'aquí a {0} segons" + ], + "in \\1 week": [ + "d'aquí a {0} setm", + "d'aquí a {0} setmana", + "d'aquí a {0} setmanes" + ], + "in \\1 year": [ + "d'aquí a {0} any", + "d'aquí a {0} anys" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ca.json b/dateparser_data/cldr_language_data/date_translation_data/ca.json index eff1aaae8..411384232 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ca.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ca.json @@ -116,7 +116,8 @@ ], "hour": [ "h", - "hora" + "hora", + "hores" ], "minute": [ "min", @@ -153,13 +154,11 @@ "ahir" ], "1 month ago": [ - "el mes passat", - "mes passat" + "el mes passat" ], "1 week ago": [ "la setm passada", - "la setmana passada", - "setm passada" + "la setmana passada" ], "1 year ago": [ "l'any passat" @@ -168,13 +167,11 @@ "demà" ], "in 1 month": [ - "el mes que ve", - "mes vinent" + "el mes que ve" ], "in 1 week": [ "la setm que ve", - "la setmana que ve", - "setm vinent" + "la setmana que ve" ], "in 1 year": [ "l'any que ve" diff --git a/dateparser_data/cldr_language_data/date_translation_data/cad.json b/dateparser_data/cldr_language_data/date_translation_data/cad.json new file mode 100644 index 000000000..e9b484604 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/cad.json @@ -0,0 +1,137 @@ +{ + "name": "cad", + "date_order": "YMD", + "january": [ + "cháykáhday haˀimay" + ], + "february": [ + "tsahkápbiˀ" + ], + "march": [ + "wánit" + ], + "april": [ + "háshnihtiˀtiˀ" + ], + "may": [ + "háshnih haˀimay" + ], + "june": [ + "háshnihtsiˀ" + ], + "july": [ + "násˀahˀatsus" + ], + "august": [ + "dahósikah nish" + ], + "september": [ + "híisikah nish" + ], + "october": [ + "nípbaatiˀtiˀ" + ], + "november": [ + "nípbaa haˀimay" + ], + "december": [ + "cháykáhdaytiˀtiˀ" + ], + "monday": [ + "wísts'i hayashuh" + ], + "tuesday": [ + "bít hayashuh" + ], + "wednesday": [ + "dahó hayashuh" + ], + "thursday": [ + "hiwí hayashuh" + ], + "friday": [ + "dissik'an hayashuh" + ], + "saturday": [ + "inikuˀtiˀtiˀ" + ], + "sunday": [ + "inikuˀ" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/cch.json b/dateparser_data/cldr_language_data/date_translation_data/cch.json new file mode 100644 index 000000000..97e13c41f --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/cch.json @@ -0,0 +1,101 @@ +{ + "name": "cch", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ccp.json b/dateparser_data/cldr_language_data/date_translation_data/ccp.json new file mode 100644 index 000000000..372cd3c80 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/ccp.json @@ -0,0 +1,205 @@ +{ + "name": "ccp", + "date_order": "DMY", + "january": [ + "𑄎𑄚𑄪", + "𑄎𑄚𑄪𑄠𑄢𑄨" + ], + "february": [ + "𑄜𑄬𑄛𑄴", + "𑄜𑄬𑄛𑄴𑄝𑄳𑄢𑄪𑄠𑄢𑄨" + ], + "march": [ + "𑄟𑄢𑄴𑄌𑄧" + ], + "april": [ + "𑄃𑄬𑄛𑄳𑄢𑄨𑄣𑄴" + ], + "may": [ + "𑄟𑄬" + ], + "june": [ + "𑄎𑄪𑄚𑄴" + ], + "july": [ + "𑄎𑄪𑄣𑄭" + ], + "august": [ + "𑄃𑄉𑄧𑄌𑄴𑄑𑄴" + ], + "september": [ + "𑄥𑄬𑄛𑄴𑄑𑄬𑄟𑄴𑄝𑄧𑄢𑄴" + ], + "october": [ + "𑄃𑄧𑄇𑄴𑄑𑄬𑄝𑄧𑄢𑄴", + "𑄃𑄧𑄇𑄴𑄑𑄮𑄝𑄧𑄢𑄴" + ], + "november": [ + "𑄚𑄧𑄞𑄬𑄟𑄴𑄝𑄧𑄢𑄴" + ], + "december": [ + "𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄢𑄴", + "𑄓𑄨𑄥𑄬𑄟𑄴𑄝𑄧𑄢𑄴" + ], + "monday": [ + "𑄥𑄧𑄟𑄴", + "𑄥𑄧𑄟𑄴𑄝𑄢𑄴" + ], + "tuesday": [ + "𑄟𑄧𑄁𑄉𑄧𑄣𑄴", + "𑄟𑄧𑄁𑄉𑄧𑄣𑄴𑄝𑄢𑄴" + ], + "wednesday": [ + "𑄝𑄪𑄖𑄴", + "𑄝𑄪𑄖𑄴𑄝𑄢𑄴" + ], + "thursday": [ + "𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴", + "𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴𑄝𑄢𑄴" + ], + "friday": [ + "𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴", + "𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴𑄝𑄢𑄴" + ], + "saturday": [ + "𑄥𑄧𑄚𑄨", + "𑄥𑄧𑄚𑄨𑄝𑄢𑄴" + ], + "sunday": [ + "𑄢𑄧𑄝𑄨", + "𑄢𑄧𑄝𑄨𑄝𑄢𑄴" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "𑄝𑄧𑄏𑄧𑄢𑄴" + ], + "month": [ + "𑄟𑄏𑄴" + ], + "week": [ + "𑄥𑄛𑄴𑄖" + ], + "day": [ + "𑄘𑄨𑄚𑄴" + ], + "hour": [ + "𑄊𑄧𑄚𑄴𑄘", + "𑄊𑄮𑄚𑄴𑄓" + ], + "minute": [ + "𑄟𑄨𑄚𑄨𑄖𑄴" + ], + "second": [ + "𑄥𑄬𑄉𑄬𑄚𑄴" + ], + "relative-type": { + "0 day ago": [ + "𑄃𑄬𑄌𑄴𑄥𑄳𑄠", + "𑄃𑄬𑄌𑄴𑄥𑄳𑄠𑄬" + ], + "0 hour ago": [ + "𑄃𑄳𑄆𑄬 𑄊𑄮𑄚𑄴𑄓𑄠𑄴" + ], + "0 minute ago": [ + "𑄃𑄳𑄆𑄬 𑄟𑄨𑄚𑄨𑄖𑄴" + ], + "0 month ago": [ + "𑄃𑄳𑄆𑄬 𑄟𑄏𑄴" + ], + "0 second ago": [ + "𑄃𑄨𑄇𑄴𑄅𑄚𑄪" + ], + "0 week ago": [ + "𑄃𑄳𑄆𑄬 𑄥𑄛𑄴𑄖" + ], + "0 year ago": [ + "𑄃𑄬 𑄝𑄧𑄏𑄧𑄢𑄴", + "𑄃𑄳𑄆𑄬 𑄝𑄧𑄏𑄧𑄢𑄴" + ], + "1 day ago": [ + "𑄉𑄬𑄣𑄴𑄣𑄳𑄠𑄇𑄬𑄣𑄳𑄠𑄬", + "𑄉𑄬𑄣𑄴𑄣𑄳𑄠𑄇𑄬𑄣𑄴𑄣𑄳𑄠𑄬" + ], + "1 month ago": [ + "𑄉𑄬𑄣𑄧𑄉𑄬 𑄟𑄏𑄴", + "𑄉𑄬𑄣𑄧𑄘𑄬 𑄟𑄏𑄴" + ], + "1 week ago": [ + "𑄉𑄬𑄣𑄧𑄘𑄬 𑄥𑄛𑄴𑄖" + ], + "1 year ago": [ + "𑄉𑄬𑄣𑄳𑄠𑄬 𑄝𑄧𑄏𑄧𑄢𑄴" + ], + "in 1 day": [ + "𑄃𑄬𑄎𑄬𑄖𑄴𑄖𑄳𑄠𑄇𑄬𑄣𑄳𑄠𑄬", + "𑄃𑄬𑄎𑄬𑄖𑄴𑄖𑄳𑄠𑄇𑄬𑄣𑄴𑄣𑄳𑄠𑄬" + ], + "in 1 month": [ + "𑄛𑄧𑄢𑄬 𑄟𑄏𑄴" + ], + "in 1 week": [ + "𑄛𑄧𑄢𑄬 𑄥𑄛𑄴𑄖" + ], + "in 1 year": [ + "𑄎𑄬𑄢𑄧 𑄝𑄧𑄏𑄧𑄢𑄴", + "𑄛𑄧𑄢𑄬 𑄝𑄧𑄏𑄧𑄢𑄴" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} 𑄘𑄨𑄚𑄴 𑄃𑄉𑄬" + ], + "\\1 hour ago": [ + "{0} 𑄊𑄮𑄚𑄴𑄓 𑄃𑄉𑄬" + ], + "\\1 minute ago": [ + "{0} 𑄟𑄨𑄚𑄨𑄖𑄴 𑄃𑄉𑄬" + ], + "\\1 month ago": [ + "{0} 𑄇𑄏𑄧 𑄃𑄉𑄬", + "{0} 𑄟𑄏𑄧 𑄃𑄉𑄬" + ], + "\\1 second ago": [ + "{0} 𑄥𑄬𑄉𑄬𑄚𑄴 𑄃𑄉𑄬" + ], + "\\1 week ago": [ + "{0} 𑄥𑄛𑄴𑄖 𑄃𑄉𑄬", + "{0} 𑄥𑄛𑄴𑄖𑄢𑄴 𑄃𑄉𑄬" + ], + "\\1 year ago": [ + "{0} 𑄝𑄧𑄏𑄧𑄢𑄴 𑄃𑄉𑄬" + ], + "in \\1 day": [ + "{0} 𑄘𑄨𑄚𑄮 𑄟𑄧𑄖𑄴𑄙𑄳𑄠" + ], + "in \\1 hour": [ + "{0} 𑄊𑄮𑄚𑄴𑄓𑄠𑄴" + ], + "in \\1 minute": [ + "{0} 𑄟𑄨𑄚𑄨𑄘𑄬" + ], + "in \\1 month": [ + "{0} 𑄟𑄏𑄬" + ], + "in \\1 second": [ + "{0} 𑄥𑄬𑄉𑄬𑄚𑄴", + "{0} 𑄥𑄬𑄉𑄬𑄚𑄴𑄘𑄬" + ], + "in \\1 week": [ + "{0} 𑄥𑄛𑄴𑄖𑄠𑄴" + ], + "in \\1 year": [ + "{0} 𑄝𑄧𑄏𑄧𑄢𑄬" + ] + }, + "locale_specific": { + "ccp-IN": { + "name": "ccp-IN" + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ce.json b/dateparser_data/cldr_language_data/date_translation_data/ce.json index cacb80538..70f935ce2 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ce.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ce.json @@ -49,25 +49,32 @@ "декабрь" ], "monday": [ - "оршотан де" + "ор", + "оршот" ], "tuesday": [ - "шинарин де" + "ши", + "шинара" ], "wednesday": [ - "кхаарин де" + "кха", + "кхаара" ], "thursday": [ - "еарин де" + "еа", + "еара" ], "friday": [ - "пӏераскан де" + "пӏе", + "пӏераска" ], "saturday": [ - "шот де" + "шуо", + "шуот" ], "sunday": [ - "кӏиранан де" + "кӏи", + "кӏира" ], "am": [ "am" @@ -92,7 +99,8 @@ ], "hour": [ "сахь", - "сахьт" + "сахьт", + "сахьташ" ], "minute": [ "мин", @@ -107,16 +115,16 @@ "тахана" ], "0 hour ago": [ - "this hour" + "хӏокху сахьтехь" ], "0 minute ago": [ - "this minute" + "хӏокху минотехь" ], "0 month ago": [ "карарчу баттахь" ], "0 second ago": [ - "now" + "хӏинца" ], "0 week ago": [ "карарчу кӏирнахь" diff --git a/dateparser_data/cldr_language_data/date_translation_data/ceb.json b/dateparser_data/cldr_language_data/date_translation_data/ceb.json new file mode 100644 index 000000000..e0a18281f --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/ceb.json @@ -0,0 +1,157 @@ +{ + "name": "ceb", + "date_order": "MDY", + "january": [ + "ene", + "enero" + ], + "february": [ + "peb", + "pebrero" + ], + "march": [ + "mar", + "marso" + ], + "april": [ + "abr", + "abril" + ], + "may": [ + "may", + "mayo" + ], + "june": [ + "hun", + "hunyo" + ], + "july": [ + "hul", + "hulyo" + ], + "august": [ + "ago", + "agosto" + ], + "september": [ + "sep", + "septiyembre" + ], + "october": [ + "okt", + "oktubre" + ], + "november": [ + "nob", + "nobyembre" + ], + "december": [ + "dis", + "disyembre" + ], + "monday": [ + "lun", + "lunes" + ], + "tuesday": [ + "mar", + "martes" + ], + "wednesday": [ + "miy", + "miyerkules" + ], + "thursday": [ + "huw", + "huwebes" + ], + "friday": [ + "biy", + "biyernes" + ], + "saturday": [ + "sab", + "sabado" + ], + "sunday": [ + "dom", + "domingo" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "tuig" + ], + "month": [ + "buwan" + ], + "week": [ + "semana" + ], + "day": [ + "adlaw" + ], + "hour": [ + "mga oras", + "oras" + ], + "minute": [ + "minuto" + ], + "second": [ + "seg", + "segundo" + ], + "relative-type": { + "0 day ago": [ + "karong adlawa" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "karong buwana" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "karong semanaha" + ], + "0 year ago": [ + "karong tuiga" + ], + "1 day ago": [ + "gahapon" + ], + "1 month ago": [ + "miaging buwan" + ], + "1 week ago": [ + "miaging semana" + ], + "1 year ago": [ + "miaging tuig" + ], + "in 1 day": [ + "ugma" + ], + "in 1 month": [ + "sunod nga buwan" + ], + "in 1 week": [ + "sunod nga semana" + ], + "in 1 year": [ + "sunod nga tuig" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/cgg.json b/dateparser_data/cldr_language_data/date_translation_data/cgg.json index 7765763cc..752cf9e55 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/cgg.json +++ b/dateparser_data/cldr_language_data/date_translation_data/cgg.json @@ -96,6 +96,7 @@ "eizooba" ], "hour": [ + "hr", "shaaha" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/cho.json b/dateparser_data/cldr_language_data/date_translation_data/cho.json new file mode 100644 index 000000000..6fd07702c --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/cho.json @@ -0,0 +1,101 @@ +{ + "name": "cho", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/chr.json b/dateparser_data/cldr_language_data/date_translation_data/chr.json index aa484dbb8..018369055 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/chr.json +++ b/dateparser_data/cldr_language_data/date_translation_data/chr.json @@ -81,6 +81,7 @@ "ꮜꮎꮄ" ], "pm": [ + "ꮢꭿᏹꭲ", "ꮢꭿᏹꭲꮧꮲ" ], "year": [ @@ -99,6 +100,7 @@ "ꭲꭶ" ], "hour": [ + "ꭲᏻꮯꮆꮣ", "ꮡꮯ", "ꮡꮯꮆꮣ" ], @@ -107,6 +109,7 @@ "ꭲꮿꮤꮼꮝꮤꮕ" ], "second": [ + "ꭰꮞ", "ꭰꮞꮲ" ], "relative-type": { @@ -120,6 +123,7 @@ "ꭿꭰ ꭲꮿꮤꮼꮝꮤꮕ" ], "0 month ago": [ + "ꭿꭰ ꭷꮈ", "ꭿꭰ ꭷꮈꭲ" ], "0 second ago": [ @@ -135,6 +139,7 @@ "ꮢꭿ" ], "1 month ago": [ + "ꭷꮈ ꮵꭸꮢ", "ꭷꮈꭲ ꮵꭸꮢ" ], "1 week ago": [ @@ -147,6 +152,8 @@ "ꮜꮎꮄꭲ" ], "in 1 month": [ + "ꭿꭰ ꭷꮈ", + "ꮤꮅꮑ ꭷꮈ", "ꮤꮅꮑ ꭷꮈꭲ" ], "in 1 week": [ @@ -163,31 +170,32 @@ ], "\\1 hour ago": [ "{0} ꭲᏻꮯꮆꮣ ꮵꭸꮢ", - "{0} ꮡꮯꮆꮣ ꮵꭸꮢ", - "ꮎꮏ {0} ꮡꮯ ꮵꭸꮢ" + "{0} ꮡꮯ ꮵꭸꮢ", + "{0} ꮡꮯꮆꮣ ꮵꭸꮢ" ], "\\1 minute ago": [ - "ꮎꮏ {0} ꭲꮿꮤ ꮵꭸꮢ", - "ꮎꮏ {0} ꭲꮿꮤꮼꮝꮤꮕ ꮵꭸꮢ" + "{0} ꭲꮿꮤ ꮵꭸꮢ", + "{0} ꭲꮿꮤꮼꮝꮤꮕ ꮵꭸꮢ" ], "\\1 month ago": [ - "ꮎꮏ {0} ꭷꮈ ꮵꭸꮢ", - "ꮎꮏ {0} ꭷꮈꭲ ꮵꭸꮢ", - "ꮎꮏ {0} ꮧꭷꮈꭲ ꮵꭸꮢ" + "{0} ꭷꮈ ꮵꭸꮢ", + "{0} ꭷꮈꭲ ꮵꭸꮢ", + "{0} ꮧꭷꮈꭲ ꮵꭸꮢ" ], "\\1 second ago": [ + "{0} ꭰꮞ ꮵꭸꮢ", "{0} ꭰꮞꮲ ꮵꭸꮢ", "{0} ꮣꮣꮎꮹꮝꭼ ꮵꭸꮢ" ], "\\1 week ago": [ - "ꮎꮏ {0} ꭲᏻꮎꮩꮣꮖꮝꮧ ꮵꭸꮢ", - "ꮎꮏ {0} ꮢꮎ ꮵꭸꮢ", - "ꮎꮏ {0} ꮢꮎꮩꮣꮖꮝꮧ ꮵꭸꮢ" + "{0} ꭲᏻꮎꮩꮣꮖꮝꮧ ꮵꭸꮢ", + "{0} ꮢꮎ ꮵꭸꮢ", + "{0} ꮢꮎꮩꮣꮖꮝꮧ ꮵꭸꮢ" ], "\\1 year ago": [ "{0} ꭲꮷꮥꮨᏼꮜꮧꮢꭲ ꮵꭸꮢ", - "{0} ꭴꮥꮨᏼꮜꮧꮢꭲ ꮵꭸꮢ", - "ꮎꮏ {0} ꭴꮥ ꮵꭸꮢ" + "{0} ꭴꮥ ꮵꭸꮢ", + "{0} ꭴꮥꮨᏼꮜꮧꮢꭲ ꮵꭸꮢ" ], "in \\1 day": [ "ꮎꮏ {0} ꭲꭶ", @@ -208,6 +216,7 @@ "ꮎꮏ {0} ꮧꭷꮈꭲ" ], "in \\1 second": [ + "ꮎꮏ {0} ꭰꮞ", "ꮎꮏ {0} ꭰꮞꮲ", "ꮎꮏ {0} ꮣꮣꮎꮹꮝꭼ ꮵꭸꮢ" ], diff --git a/dateparser_data/cldr_language_data/date_translation_data/cic.json b/dateparser_data/cldr_language_data/date_translation_data/cic.json new file mode 100644 index 000000000..7ef4477a6 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/cic.json @@ -0,0 +1,137 @@ +{ + "name": "cic", + "date_order": "YMD", + "january": [ + "hashi' ammo'na'" + ], + "february": [ + "hashi' atoklo'" + ], + "march": [ + "hashi' atochchí'na'" + ], + "april": [ + "iiplal" + ], + "may": [ + "mih" + ], + "june": [ + "choon" + ], + "july": [ + "choola" + ], + "august": [ + "akaas" + ], + "september": [ + "siptimpa'" + ], + "october": [ + "aaktopa'" + ], + "november": [ + "nofimpa'" + ], + "december": [ + "tiisimpa'" + ], + "monday": [ + "manti'" + ], + "tuesday": [ + "chosti'" + ], + "wednesday": [ + "winsti'" + ], + "thursday": [ + "soisti'" + ], + "friday": [ + "nannalhchifa' nittak" + ], + "saturday": [ + "nittak hollo' nakfish" + ], + "sunday": [ + "nittak hollo'" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ckb.json b/dateparser_data/cldr_language_data/date_translation_data/ckb.json index 77e79baf7..d04ed463d 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ckb.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ckb.json @@ -77,7 +77,8 @@ "day" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser_data/cldr_language_data/date_translation_data/co.json b/dateparser_data/cldr_language_data/date_translation_data/co.json new file mode 100644 index 000000000..47d1a4c7b --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/co.json @@ -0,0 +1,101 @@ +{ + "name": "co", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/cs.json b/dateparser_data/cldr_language_data/date_translation_data/cs.json index 1b3e38285..2e4db6421 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/cs.json +++ b/dateparser_data/cldr_language_data/date_translation_data/cs.json @@ -111,7 +111,8 @@ ], "hour": [ "h", - "hodina" + "hodina", + "hodiny" ], "minute": [ "min", @@ -132,6 +133,7 @@ "tuto minutu" ], "0 month ago": [ + "tento měs", "tento měsíc" ], "0 second ago": [ @@ -148,6 +150,7 @@ "včera" ], "1 month ago": [ + "minulý měs", "minulý měsíc" ], "1 week ago": [ @@ -161,6 +164,7 @@ "zítra" ], "in 1 month": [ + "příští měs", "příští měsíc" ], "in 1 week": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/csw.json b/dateparser_data/cldr_language_data/date_translation_data/csw.json new file mode 100644 index 000000000..46c181bd8 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/csw.json @@ -0,0 +1,137 @@ +{ + "name": "csw", + "date_order": "YMD", + "january": [ + "ᑭᓴᐱᓯᒼ" + ], + "february": [ + "ᒥᑭᓯᐏᐱᓯᒼ" + ], + "march": [ + "ᓂᐢᑭᐱᓯᒼ" + ], + "april": [ + "ᐊᓂᑭᐱᓯᒼ" + ], + "may": [ + "ᓴᑭᐸᑲᐏᐱᓯᒼ" + ], + "june": [ + "ᐸᐢᑲᐍᐦᐅᐱᓯᒼ" + ], + "july": [ + "ᐸᐢᑯᐏᐱᓯᒼ" + ], + "august": [ + "ᐅᐸᐦᐅᐏᐱᓯᒼ" + ], + "september": [ + "ᑕᐦᑿᑭᐱᓯᒼ" + ], + "october": [ + "ᐱᒪᐦᐊᒧᐏᐱᓯᒼ" + ], + "november": [ + "ᐊᑿᑎᓄᐏᐱᓯᒼ" + ], + "december": [ + "ᐸᐘᐢᒐᑲᓂᓹᐱᓯᒼ" + ], + "monday": [ + "ᐯᔭᐠᑭᓯᑲᐤ" + ], + "tuesday": [ + "ᓂᓱᑭᓯᑲᐤ" + ], + "wednesday": [ + "ᐊᐱᐦᑕᐘᐣ" + ], + "thursday": [ + "ᓀᐓᑭᓯᑲᐤ" + ], + "friday": [ + "ᓂᔭᓇᓄᑭᓯᑲᐤ" + ], + "saturday": [ + "ᒪᑎᓄᐏᑭᓯᑲᐤ" + ], + "sunday": [ + "ᐊᔭᒥᐦᐁᐃ ᑭᓯᑲᐤ" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "ᐊᐢᑭ" + ], + "month": [ + "ᐱᓯᒧᐘᐠ" + ], + "week": [ + "ᑭᓯᑲᐘ" + ], + "day": [ + "ᑭᓯᑲᐤ" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "ᐊᓄᐢᐨ" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "ᐅᑕᑯᓯᐠ" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "ᐘᐸᐦᑫ" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/cv.json b/dateparser_data/cldr_language_data/date_translation_data/cv.json new file mode 100644 index 000000000..b48eae221 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/cv.json @@ -0,0 +1,163 @@ +{ + "name": "cv", + "date_order": "DMY", + "january": [ + "кӑр", + "кӑрлач" + ], + "february": [ + "нар", + "нарӑс" + ], + "march": [ + "пуш" + ], + "april": [ + "ака" + ], + "may": [ + "ҫу" + ], + "june": [ + "ҫӗр", + "ҫӗртме" + ], + "july": [ + "утӑ" + ], + "august": [ + "ҫур", + "ҫурла" + ], + "september": [ + "авӑн" + ], + "october": [ + "юпа" + ], + "november": [ + "чӳк" + ], + "december": [ + "раш", + "раштав" + ], + "monday": [ + "тун", + "тунтикун" + ], + "tuesday": [ + "ытл", + "ытларикун" + ], + "wednesday": [ + "юн", + "юнкун" + ], + "thursday": [ + "кӗҫ", + "кӗҫнерникун" + ], + "friday": [ + "эр", + "эрнекун" + ], + "saturday": [ + "шӑм", + "шӑматкун" + ], + "sunday": [ + "выр", + "вырсарникун" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "ҫ", + "ҫул" + ], + "month": [ + "уй", + "уйӑх" + ], + "week": [ + "эр", + "эрне" + ], + "day": [ + "кн", + "кун" + ], + "hour": [ + "hr", + "с", + "сехет" + ], + "minute": [ + "мин", + "минут" + ], + "second": [ + "сек", + "секунд" + ], + "relative-type": { + "0 day ago": [ + "паян" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "ку уй", + "ку уйӑхра" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "ҫак эр", + "ҫак эрнере" + ], + "0 year ago": [ + "кӑҫал" + ], + "1 day ago": [ + "ӗнер" + ], + "1 month ago": [ + "иртнӗ уй", + "иртнӗ уйӑхра" + ], + "1 week ago": [ + "иртнӗ эр", + "иртнӗ эрнере" + ], + "1 year ago": [ + "пӗлтӗр" + ], + "in 1 day": [ + "ыран" + ], + "in 1 month": [ + "ҫитес уй", + "ҫитес уйӑхра" + ], + "in 1 week": [ + "ҫитес эр", + "ҫитес эрнере" + ], + "in 1 year": [ + "ҫитес ҫ", + "ҫитес ҫул" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/cy.json b/dateparser_data/cldr_language_data/date_translation_data/cy.json index 26a012079..815b42d59 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/cy.json +++ b/dateparser_data/cldr_language_data/date_translation_data/cy.json @@ -78,9 +78,11 @@ "sul" ], "am": [ + "am", "yb" ], "pm": [ + "pm", "yh" ], "year": [ @@ -94,10 +96,11 @@ "wythnos" ], "day": [ - "dydd" + "diwrnod" ], "hour": [ - "awr" + "awr", + "oriau" ], "minute": [ "mun", @@ -123,6 +126,7 @@ "nawr" ], "0 week ago": [ + "yr ws hon", "yr wythnos hon" ], "0 year ago": [ @@ -135,6 +139,7 @@ "mis diwethaf" ], "1 week ago": [ + "ws ddiwethaf", "wythnos ddiwethaf" ], "1 year ago": [ @@ -147,9 +152,11 @@ "mis nesaf" ], "in 1 week": [ + "ws nesaf", "wythnos nesaf" ], "in 1 year": [ + "bl nesaf", "blwyddyn nesaf" ] }, @@ -168,12 +175,15 @@ "{0} mis yn ôl" ], "\\1 second ago": [ + "{0} eil yn ôl", "{0} eiliad yn ôl" ], "\\1 week ago": [ + "{0} ws yn ôl", "{0} wythnos yn ôl" ], "\\1 year ago": [ + "{0} bl yn ôl", "{0} o flynyddoedd yn ôl" ], "in \\1 day": [ @@ -190,9 +200,11 @@ "ymhen {0} mis" ], "in \\1 second": [ + "ymhen {0} eil", "ymhen {0} eiliad" ], "in \\1 week": [ + "ymhen {0} ws", "ymhen {0} wythnos" ], "in \\1 year": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/da.json b/dateparser_data/cldr_language_data/date_translation_data/da.json index 73ac01944..fd3a95b10 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/da.json +++ b/dateparser_data/cldr_language_data/date_translation_data/da.json @@ -53,7 +53,7 @@ "mandag" ], "tuesday": [ - "tir", + "tirs", "tirsdag" ], "wednesday": [ @@ -61,7 +61,7 @@ "onsdag" ], "thursday": [ - "tor", + "tors", "torsdag" ], "friday": [ @@ -97,7 +97,8 @@ ], "hour": [ "t", - "time" + "time", + "timer" ], "minute": [ "min", @@ -113,10 +114,10 @@ "i dag" ], "0 hour ago": [ - "i den kommende time" + "denne time" ], "0 minute ago": [ - "i det kommende minut" + "dette minut" ], "0 month ago": [ "denne md", @@ -161,34 +162,41 @@ "relative-type-regex": { "\\1 day ago": [ "for {0} dag siden", - "for {0} dage siden" + "for {0} dage siden", + "{0} dag siden", + "{0} dage siden" ], "\\1 hour ago": [ "for {0} time siden", - "for {0} timer siden" + "for {0} timer siden", + "{0} time siden", + "{0} timer siden" ], "\\1 minute ago": [ - "for {0} min siden", "for {0} minut siden", - "for {0} minutter siden" + "for {0} minutter siden", + "{0} min siden" ], "\\1 month ago": [ - "for {0} md siden", - "for {0} mdr siden", "for {0} måned siden", - "for {0} måneder siden" + "for {0} måneder siden", + "{0} md siden", + "{0} mdr siden" ], "\\1 second ago": [ - "for {0} sek siden", "for {0} sekund siden", - "for {0} sekunder siden" + "for {0} sekunder siden", + "{0} sek siden" ], "\\1 week ago": [ "for {0} uge siden", - "for {0} uger siden" + "for {0} uger siden", + "{0} uge siden", + "{0} uger siden" ], "\\1 year ago": [ - "for {0} år siden" + "for {0} år siden", + "{0} år siden" ], "in \\1 day": [ "om {0} dag", diff --git a/dateparser_data/cldr_language_data/date_translation_data/dav.json b/dateparser_data/cldr_language_data/date_translation_data/dav.json index 2b157008c..519408bdc 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/dav.json +++ b/dateparser_data/cldr_language_data/date_translation_data/dav.json @@ -96,6 +96,7 @@ "ituku" ], "hour": [ + "hr", "saa" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/de.json b/dateparser_data/cldr_language_data/date_translation_data/de.json index 8eb30291b..761171dbd 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/de.json +++ b/dateparser_data/cldr_language_data/date_translation_data/de.json @@ -34,6 +34,7 @@ ], "september": [ "sep", + "sept", "september" ], "october": [ @@ -77,10 +78,10 @@ "sonntag" ], "am": [ - "vorm" + "am" ], "pm": [ - "nachm" + "pm" ], "year": [ "j", @@ -99,7 +100,8 @@ ], "hour": [ "std", - "stunde" + "stunde", + "stunden" ], "minute": [ "min", diff --git a/dateparser_data/cldr_language_data/date_translation_data/dje.json b/dateparser_data/cldr_language_data/date_translation_data/dje.json index bbfbcc970..05fe9d802 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/dje.json +++ b/dateparser_data/cldr_language_data/date_translation_data/dje.json @@ -94,7 +94,8 @@ "zaari" ], "hour": [ - "guuru" + "guuru", + "hr" ], "minute": [ "miniti" diff --git a/dateparser_data/cldr_language_data/date_translation_data/doi.json b/dateparser_data/cldr_language_data/date_translation_data/doi.json new file mode 100644 index 000000000..3f42951fc --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/doi.json @@ -0,0 +1,158 @@ +{ + "name": "doi", + "date_order": "DMY", + "january": [ + "जन", + "जनवरी" + ], + "february": [ + "फर", + "फरवरी" + ], + "march": [ + "मार्च" + ], + "april": [ + "अप्रैल" + ], + "may": [ + "मेई" + ], + "june": [ + "जून" + ], + "july": [ + "जुलाई" + ], + "august": [ + "अग", + "अगस्त" + ], + "september": [ + "सित", + "सितंबर" + ], + "october": [ + "अक्तू", + "अक्तूबर" + ], + "november": [ + "नव", + "नवंबर" + ], + "december": [ + "दिस", + "दिसंबर" + ], + "monday": [ + "सोम", + "सोमबार" + ], + "tuesday": [ + "मंगल", + "मंगलबार" + ], + "wednesday": [ + "बुध", + "बुधबार" + ], + "thursday": [ + "बीर", + "बीरबार" + ], + "friday": [ + "शुक्र", + "शुक्रबार" + ], + "saturday": [ + "शनि", + "शनिबार" + ], + "sunday": [ + "ऐत", + "ऐतबार" + ], + "am": [ + "सवेर" + ], + "pm": [ + "दपैहर बाद", + "स'ञ" + ], + "year": [ + "ब", + "ब'रा" + ], + "month": [ + "म्ही", + "म्हीना" + ], + "week": [ + "ह", + "हफ्ता" + ], + "day": [ + "दिन" + ], + "hour": [ + "hr", + "घैं", + "घैंटा" + ], + "minute": [ + "मिं", + "मिंट्‌ट" + ], + "second": [ + "सकैं", + "सकैंट" + ], + "relative-type": { + "0 day ago": [ + "अज्ज" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "जंदा कल" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "औंदे कल" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/dsb.json b/dateparser_data/cldr_language_data/date_translation_data/dsb.json index af9617796..0e219da76 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/dsb.json +++ b/dateparser_data/cldr_language_data/date_translation_data/dsb.json @@ -89,9 +89,11 @@ "njeźela" ], "am": [ + "dop", "dopołdnja" ], "pm": [ + "wótp", "wótpołdnja" ], "year": [ @@ -113,7 +115,8 @@ "hour": [ "g", "góź", - "góźina" + "góźina", + "góźiny" ], "minute": [ "m", @@ -127,48 +130,70 @@ ], "relative-type": { "0 day ago": [ - "źinsa" + "źins", + "źinsa", + "źis" ], "0 hour ago": [ - "this hour" + "w toś tej góźinje" ], "0 minute ago": [ - "this minute" + "w toś tej minuśe" ], "0 month ago": [ - "ten mjasec" + "te mjasec", + "ten mjasec", + "tot mjasec" ], "0 second ago": [ - "now" + "něnto" ], "0 week ago": [ - "ten tyźeń" + "te tyźeń", + "ten tyźeń", + "tot tyźeń" ], "0 year ago": [ - "lětosa" + "lět", + "lětosa", + "lěts" ], "1 day ago": [ - "cora" + "cora", + "cr", + "cra" ], "1 month ago": [ - "slědny mjasec" + "zajź mjasec", + "zajźony mjasec" ], "1 week ago": [ - "slědny tyźeń" + "zajź tyźeń", + "zajźony tyźeń" ], "1 year ago": [ + "ło", + "łon", "łoni" ], "in 1 day": [ + "wit", + "witś", "witśe" ], "in 1 month": [ + "pśid mjasec", + "pśiduc mjasec", "pśiducy mjasec" ], "in 1 week": [ + "pśid tyźeń", + "pśiduc tyźeń", "pśiducy tyźeń" ], "in 1 year": [ + "zno", + "znow", "znowa" ] }, diff --git a/dateparser_data/cldr_language_data/date_translation_data/dua.json b/dateparser_data/cldr_language_data/date_translation_data/dua.json index 7dab932cf..1945d3117 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/dua.json +++ b/dateparser_data/cldr_language_data/date_translation_data/dua.json @@ -96,6 +96,7 @@ "búnyá" ], "hour": [ + "hr", "ŋgandɛ" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/dv.json b/dateparser_data/cldr_language_data/date_translation_data/dv.json new file mode 100644 index 000000000..00d031bfa --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/dv.json @@ -0,0 +1,101 @@ +{ + "name": "dv", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/dyo.json b/dateparser_data/cldr_language_data/date_translation_data/dyo.json index 39d23972e..974da2b3f 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/dyo.json +++ b/dateparser_data/cldr_language_data/date_translation_data/dyo.json @@ -95,7 +95,8 @@ "funak" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser_data/cldr_language_data/date_translation_data/dz.json b/dateparser_data/cldr_language_data/date_translation_data/dz.json index c5379b378..0ac4382b1 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/dz.json +++ b/dateparser_data/cldr_language_data/date_translation_data/dz.json @@ -108,6 +108,7 @@ "ཚེས་" ], "hour": [ + "hr", "ཆུ་ཚོད" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/ebu.json b/dateparser_data/cldr_language_data/date_translation_data/ebu.json index fe8af614d..162b39c34 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ebu.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ebu.json @@ -96,6 +96,7 @@ "mũthenya" ], "hour": [ + "hr", "ithaa" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/ee.json b/dateparser_data/cldr_language_data/date_translation_data/ee.json index e688958ae..657174584 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ee.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ee.json @@ -96,7 +96,8 @@ "ŋkeke" ], "hour": [ - "gaƒoƒo" + "gaƒoƒo", + "gaƒoƒowo" ], "minute": [ "aɖabaƒoƒo" diff --git a/dateparser_data/cldr_language_data/date_translation_data/el-polyton.json b/dateparser_data/cldr_language_data/date_translation_data/el-polyton.json new file mode 100644 index 000000000..66c1fa0b5 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/el-polyton.json @@ -0,0 +1,272 @@ +{ + "name": "el-polyton", + "date_order": "DMY", + "january": [ + "ιαν", + "ιανουάριος", + "ιανουαρίου" + ], + "february": [ + "φεβ", + "φεβρουάριος", + "φεβρουαρίου" + ], + "march": [ + "μάρ", + "μάρτιος", + "μαρ", + "μαρτίου" + ], + "april": [ + "απρ", + "απρίλιος", + "απριλίου" + ], + "may": [ + "μάι", + "μάιος", + "μαΐ", + "μαΐου" + ], + "june": [ + "ιουν", + "ιουνίου", + "ιούν", + "ιούνιος" + ], + "july": [ + "ιουλ", + "ιουλίου", + "ιούλ", + "ιούλιος" + ], + "august": [ + "αύγ", + "αὐγ", + "αὐγούστου", + "αὔγουστος" + ], + "september": [ + "σεπ", + "σεπτέμβριος", + "σεπτεμβρίου" + ], + "october": [ + "οκτ", + "ὀκτ", + "ὀκτωβρίου", + "ὀκτώβριος" + ], + "november": [ + "νοέ", + "νοέμβριος", + "νοε", + "νοεμβρίου" + ], + "december": [ + "δεκ", + "δεκέμβριος", + "δεκεμβρίου" + ], + "monday": [ + "δευ", + "δευτέρα" + ], + "tuesday": [ + "τρί", + "τρίτη" + ], + "wednesday": [ + "τετ", + "τετάρτη" + ], + "thursday": [ + "πέμ", + "πέμπτη" + ], + "friday": [ + "παρ", + "παρασκευή" + ], + "saturday": [ + "σάβ", + "σάββατο" + ], + "sunday": [ + "κυρ", + "κυριακή" + ], + "am": [ + "πμ" + ], + "pm": [ + "μμ" + ], + "year": [ + "έτ", + "έτος" + ], + "month": [ + "μήν", + "μήνας" + ], + "week": [ + "εβδ", + "εβδομάδα" + ], + "day": [ + "ημ", + "ημέρα" + ], + "hour": [ + "ώ", + "ώρα", + "ώρες" + ], + "minute": [ + "λ", + "λεπ", + "λεπτό" + ], + "second": [ + "δ", + "δευτ", + "δευτερόλεπτο" + ], + "relative-type": { + "0 day ago": [ + "σήμερα" + ], + "0 hour ago": [ + "τρέχουσα ώρα" + ], + "0 minute ago": [ + "τρέχον λεπτό" + ], + "0 month ago": [ + "τρέχ μήνας", + "τρέχων μήνας" + ], + "0 second ago": [ + "τώρα" + ], + "0 week ago": [ + "τρέχ εβδ", + "τρέχ εβδομάδα", + "τρέχουσα εβδομάδα" + ], + "0 year ago": [ + "φέτος" + ], + "1 day ago": [ + "χθες" + ], + "1 month ago": [ + "προηγ μήνας", + "προηγούμενος μήνας" + ], + "1 week ago": [ + "προηγ εβδ", + "προηγ εβδομάδα", + "προηγούμενη εβδομάδα" + ], + "1 year ago": [ + "πέρσι" + ], + "in 1 day": [ + "αύριο" + ], + "in 1 month": [ + "επόμ μήνας", + "επόμενος μήνας" + ], + "in 1 week": [ + "επόμ εβδ", + "επόμ εβδομάδα", + "επόμενη εβδομάδα" + ], + "in 1 year": [ + "επόμενο έτος" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} ημ πριν", + "πριν από {0} ημ", + "πριν από {0} ημέρα", + "πριν από {0} ημέρες" + ], + "\\1 hour ago": [ + "{0} ώ πριν", + "πριν από {0} ώ", + "πριν από {0} ώρα", + "πριν από {0} ώρες" + ], + "\\1 minute ago": [ + "{0} λ πριν", + "πριν από {0} λεπ", + "πριν από {0} λεπτά", + "πριν από {0} λεπτό" + ], + "\\1 month ago": [ + "{0} μ πριν", + "πριν από {0} μήνα", + "πριν από {0} μήνες" + ], + "\\1 second ago": [ + "{0} δ πριν", + "πριν από {0} δευτ", + "πριν από {0} δευτερόλεπτα", + "πριν από {0} δευτερόλεπτο" + ], + "\\1 week ago": [ + "{0} εβδ πριν", + "πριν από {0} εβδ", + "πριν από {0} εβδομάδα", + "πριν από {0} εβδομάδες" + ], + "\\1 year ago": [ + "{0} έτη πριν", + "{0} έτος πριν", + "πριν από {0} έτη", + "πριν από {0} έτος" + ], + "in \\1 day": [ + "σε {0} ημ", + "σε {0} ημέρα", + "σε {0} ημέρες" + ], + "in \\1 hour": [ + "σε {0} ώ", + "σε {0} ώρα", + "σε {0} ώρες" + ], + "in \\1 minute": [ + "σε {0} λ", + "σε {0} λεπ", + "σε {0} λεπτά", + "σε {0} λεπτό" + ], + "in \\1 month": [ + "σε {0} μ", + "σε {0} μήνα", + "σε {0} μήνες" + ], + "in \\1 second": [ + "σε {0} δ", + "σε {0} δευτ", + "σε {0} δευτερόλεπτα", + "σε {0} δευτερόλεπτο" + ], + "in \\1 week": [ + "σε {0} εβδ", + "σε {0} εβδομάδα", + "σε {0} εβδομάδες" + ], + "in \\1 year": [ + "σε {0} έτη", + "σε {0} έτος" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/el.json b/dateparser_data/cldr_language_data/date_translation_data/el.json index a9bb09f60..93f4c4a0f 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/el.json +++ b/dateparser_data/cldr_language_data/date_translation_data/el.json @@ -114,12 +114,13 @@ "εβδομάδα" ], "day": [ + "ημ", "ημέρα" ], "hour": [ "ώ", - "ώρ", - "ώρα" + "ώρα", + "ώρες" ], "minute": [ "λ", @@ -136,19 +137,22 @@ "σήμερα" ], "0 hour ago": [ - "αυτήν την ώρα" + "τρέχουσα ώρα" ], "0 minute ago": [ - "αυτό το λεπτό" + "τρέχον λεπτό" ], "0 month ago": [ + "τρέχ μήνας", "τρέχων μήνας" ], "0 second ago": [ "τώρα" ], "0 week ago": [ - "αυτήν την εβδομάδα" + "τρέχ εβδ", + "τρέχ εβδομάδα", + "τρέχουσα εβδομάδα" ], "0 year ago": [ "φέτος" @@ -157,9 +161,12 @@ "χθες" ], "1 month ago": [ + "προηγ μήνας", "προηγούμενος μήνας" ], "1 week ago": [ + "προηγ εβδ", + "προηγ εβδομάδα", "προηγούμενη εβδομάδα" ], "1 year ago": [ @@ -169,9 +176,12 @@ "αύριο" ], "in 1 month": [ + "επόμ μήνας", "επόμενος μήνας" ], "in 1 week": [ + "επόμ εβδ", + "επόμ εβδομάδα", "επόμενη εβδομάδα" ], "in 1 year": [ @@ -181,12 +191,13 @@ "relative-type-regex": { "\\1 day ago": [ "{0} ημ πριν", + "πριν από {0} ημ", "πριν από {0} ημέρα", "πριν από {0} ημέρες" ], "\\1 hour ago": [ "{0} ώ πριν", - "πριν από {0} ώρ", + "πριν από {0} ώ", "πριν από {0} ώρα", "πριν από {0} ώρες" ], @@ -226,7 +237,6 @@ ], "in \\1 hour": [ "σε {0} ώ", - "σε {0} ώρ", "σε {0} ώρα", "σε {0} ώρες" ], diff --git a/dateparser_data/cldr_language_data/date_translation_data/en-Dsrt.json b/dateparser_data/cldr_language_data/date_translation_data/en-Dsrt.json new file mode 100644 index 000000000..9d92b6da2 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/en-Dsrt.json @@ -0,0 +1,154 @@ +{ + "name": "en-Dsrt", + "date_order": "YMD", + "january": [ + "𐐾𐐰𐑌", + "𐐾𐐰𐑌𐐷𐐭𐐯𐑉𐐨" + ], + "february": [ + "𐑁𐐯𐐺", + "𐑁𐐯𐐺𐑉𐐭𐐯𐑉𐐨" + ], + "march": [ + "𐑋𐐪𐑉", + "𐑋𐐪𐑉𐐽" + ], + "april": [ + "𐐩𐐹𐑉", + "𐐩𐐹𐑉𐐮𐑊" + ], + "may": [ + "𐑋𐐩" + ], + "june": [ + "𐐾𐐭𐑌" + ], + "july": [ + "𐐾𐐭𐑊", + "𐐾𐐭𐑊𐐴" + ], + "august": [ + "𐐪𐑀", + "𐐪𐑀𐐲𐑅𐐻" + ], + "september": [ + "𐑅𐐯𐐹", + "𐑅𐐯𐐹𐐻𐐯𐑋𐐺𐐲𐑉" + ], + "october": [ + "𐐱𐐿𐐻", + "𐐱𐐿𐐻𐐬𐐺𐐲𐑉" + ], + "november": [ + "𐑌𐐬𐑂", + "𐑌𐐬𐑂𐐯𐑋𐐺𐐲𐑉" + ], + "december": [ + "𐐼𐐨𐑅", + "𐐼𐐨𐑅𐐯𐑋𐐺𐐲𐑉" + ], + "monday": [ + "𐑋𐐲𐑌", + "𐑋𐐲𐑌𐐼𐐩" + ], + "tuesday": [ + "𐐻𐐭𐑆", + "𐐻𐐭𐑆𐐼𐐩" + ], + "wednesday": [ + "𐐶𐐯𐑌", + "𐐶𐐯𐑌𐑆𐐼𐐩" + ], + "thursday": [ + "𐑃𐐲𐑉", + "𐑃𐐲𐑉𐑆𐐼𐐩" + ], + "friday": [ + "𐑁𐑉𐐴", + "𐑁𐑉𐐴𐐼𐐩" + ], + "saturday": [ + "𐑅𐐰𐐻", + "𐑅𐐰𐐻𐐲𐑉𐐼𐐩" + ], + "sunday": [ + "𐑅𐐲𐑌", + "𐑅𐐲𐑌𐐼𐐩" + ], + "am": [ + "𐐰𐑋" + ], + "pm": [ + "𐐹𐑋" + ], + "year": [ + "𐐷𐐨𐑉" + ], + "month": [ + "𐑋𐐲𐑌𐑃" + ], + "week": [ + "𐐶𐐨𐐿" + ], + "day": [ + "𐐼𐐩" + ], + "hour": [ + "hr", + "𐐵𐑉" + ], + "minute": [ + "𐑋𐐮𐑌𐐲𐐻" + ], + "second": [ + "𐑅𐐯𐐿𐐲𐑌𐐼" + ], + "relative-type": { + "0 day ago": [ + "𐐻𐐲𐐼𐐩" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "𐐷𐐯𐑅𐐻𐐲𐑉𐐼𐐩" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "𐐻𐐲𐑋𐐱𐑉𐐬" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/en-Shaw.json b/dateparser_data/cldr_language_data/date_translation_data/en-Shaw.json new file mode 100644 index 000000000..2b6b7011d --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/en-Shaw.json @@ -0,0 +1,155 @@ +{ + "name": "en-Shaw", + "date_order": "YMD", + "january": [ + "·𐑡𐑨", + "·𐑡𐑨𐑙𐑘𐑭𐑢𐑺𐑰" + ], + "february": [ + "·𐑓𐑧", + "·𐑓𐑧𐑚𐑘𐑵𐑢𐑺𐑰" + ], + "march": [ + "·𐑥𐑸", + "·𐑥𐑸𐑗" + ], + "april": [ + "·𐑱𐑐", + "·𐑱𐑐𐑮𐑭𐑤" + ], + "may": [ + "·𐑥𐑱" + ], + "june": [ + "·𐑡𐑵", + "·𐑡𐑵𐑯" + ], + "july": [ + "·𐑡𐑫", + "·𐑡𐑫𐑤𐑲" + ], + "august": [ + "·𐑪𐑜", + "·𐑪𐑜𐑭𐑕𐑑" + ], + "september": [ + "·𐑕𐑧", + "·𐑕𐑧𐑐𐑑𐑧𐑥𐑚𐑸" + ], + "october": [ + "·𐑷𐑒", + "·𐑷𐑒𐑑𐑴𐑚𐑸" + ], + "november": [ + "·𐑯𐑴", + "·𐑯𐑴𐑝𐑧𐑥𐑚𐑸" + ], + "december": [ + "·𐑛𐑭", + "·𐑛𐑭𐑕𐑧𐑥𐑚𐑸" + ], + "monday": [ + "·𐑥𐑭", + "·𐑥𐑭𐑙𐑛𐑱" + ], + "tuesday": [ + "·𐑑𐑵", + "·𐑑𐑵𐑟𐑛𐑱" + ], + "wednesday": [ + "·𐑢𐑧", + "·𐑢𐑧𐑙𐑟𐑛𐑱" + ], + "thursday": [ + "·𐑔𐑻", + "·𐑔𐑻𐑟𐑛𐑱" + ], + "friday": [ + "·𐑓𐑮", + "·𐑓𐑮𐑲𐑛𐑱" + ], + "saturday": [ + "·𐑕𐑨", + "·𐑕𐑨𐑛𐑻𐑛𐑱" + ], + "sunday": [ + "·𐑕𐑭", + "·𐑕𐑭𐑙𐑛𐑱" + ], + "am": [ + "𐑨𐑥" + ], + "pm": [ + "𐑐𐑥" + ], + "year": [ + "𐑘𐑽" + ], + "month": [ + "𐑥𐑭𐑙𐑔" + ], + "week": [ + "𐑢𐑰𐑒" + ], + "day": [ + "𐑛𐑱" + ], + "hour": [ + "hr", + "𐑬𐑮" + ], + "minute": [ + "𐑥𐑦𐑙𐑦𐑑" + ], + "second": [ + "𐑕𐑧𐑒𐑭𐑙𐑛" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/en.json b/dateparser_data/cldr_language_data/date_translation_data/en.json index 0d02aeabf..86f92c72d 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/en.json +++ b/dateparser_data/cldr_language_data/date_translation_data/en.json @@ -99,6 +99,7 @@ ], "hour": [ "hour", + "hours", "hr" ], "minute": [ @@ -168,130 +169,213 @@ "relative-type-regex": { "\\1 day ago": [ "{0} day ago", - "{0} days ago" + "{0} days ago", + "{0}d ago" ], "\\1 hour ago": [ "{0} hour ago", "{0} hours ago", - "{0} hr ago" + "{0} hr ago", + "{0}h ago" ], "\\1 minute ago": [ "{0} min ago", "{0} minute ago", - "{0} minutes ago" + "{0} minutes ago", + "{0}m ago" ], "\\1 month ago": [ "{0} mo ago", "{0} month ago", - "{0} months ago" + "{0} months ago", + "{0}mo ago" ], "\\1 second ago": [ "{0} sec ago", "{0} second ago", - "{0} seconds ago" + "{0} seconds ago", + "{0}s ago" ], "\\1 week ago": [ "{0} week ago", "{0} weeks ago", - "{0} wk ago" + "{0} wk ago", + "{0}w ago" ], "\\1 year ago": [ "{0} year ago", "{0} years ago", - "{0} yr ago" + "{0} yr ago", + "{0}y ago" ], "in \\1 day": [ "in {0} day", - "in {0} days" + "in {0} days", + "in {0}d" ], "in \\1 hour": [ "in {0} hour", "in {0} hours", - "in {0} hr" + "in {0} hr", + "in {0}h" ], "in \\1 minute": [ "in {0} min", "in {0} minute", - "in {0} minutes" + "in {0} minutes", + "in {0}m" ], "in \\1 month": [ "in {0} mo", "in {0} month", - "in {0} months" + "in {0} months", + "in {0}mo" ], "in \\1 second": [ "in {0} sec", "in {0} second", - "in {0} seconds" + "in {0} seconds", + "in {0}s" ], "in \\1 week": [ "in {0} week", "in {0} weeks", - "in {0} wk" + "in {0} wk", + "in {0}w" ], "in \\1 year": [ "in {0} year", "in {0} years", - "in {0} yr" + "in {0} yr", + "in {0}y" ] }, "locale_specific": { "en-001": { "name": "en-001", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-150": { "name": "en-150", + "date_order": "DMY", + "september": [ + "sept" + ] + }, + "en-AE": { + "name": "en-AE", "date_order": "DMY" }, "en-AG": { "name": "en-AG", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-AI": { "name": "en-AI", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-AS": { "name": "en-AS" }, "en-AT": { "name": "en-AT", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-AU": { "name": "en-AU", "date_order": "DMY", - "hour": [ - "h" - ] + "september": [ + "sept" + ], + "relative-type-regex": { + "\\1 hour ago": [ + "{0} hrs ago" + ], + "\\1 minute ago": [ + "{0} mins ago" + ], + "\\1 second ago": [ + "{0} secs ago" + ], + "\\1 week ago": [ + "{0} wks ago" + ], + "\\1 year ago": [ + "{0} yrs ago" + ], + "in \\1 hour": [ + "in {0} hrs" + ], + "in \\1 minute": [ + "in {0} mins" + ], + "in \\1 second": [ + "in {0} secs" + ], + "in \\1 week": [ + "in {0} wks" + ], + "in \\1 year": [ + "in {0} yrs" + ] + } }, "en-BB": { "name": "en-BB", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-BE": { "name": "en-BE", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-BI": { "name": "en-BI" }, "en-BM": { "name": "en-BM", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-BS": { "name": "en-BS", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-BW": { "name": "en-BW", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-BZ": { "name": "en-BZ", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-CA": { "name": "en-CA", @@ -337,263 +421,459 @@ }, "en-CC": { "name": "en-CC", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-CH": { "name": "en-CH", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-CK": { "name": "en-CK", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-CM": { "name": "en-CM", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-CX": { "name": "en-CX", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-CY": { "name": "en-CY", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-DE": { "name": "en-DE", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-DG": { "name": "en-DG", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-DK": { "name": "en-DK", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-DM": { "name": "en-DM", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-ER": { "name": "en-ER", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-FI": { "name": "en-FI", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-FJ": { "name": "en-FJ", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-FK": { "name": "en-FK", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-FM": { "name": "en-FM", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-GB": { "name": "en-GB", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-GD": { "name": "en-GD", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-GG": { "name": "en-GG", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-GH": { "name": "en-GH", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-GI": { "name": "en-GI", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-GM": { "name": "en-GM", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-GU": { "name": "en-GU" }, "en-GY": { "name": "en-GY", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-HK": { "name": "en-HK", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] + }, + "en-ID": { + "name": "en-ID", + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-IE": { "name": "en-IE", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-IL": { "name": "en-IL", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-IM": { "name": "en-IM", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-IN": { "name": "en-IN", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-IO": { "name": "en-IO", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-JE": { "name": "en-JE", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-JM": { "name": "en-JM", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-KE": { "name": "en-KE", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-KI": { "name": "en-KI", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-KN": { "name": "en-KN", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-KY": { "name": "en-KY", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-LC": { "name": "en-LC", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-LR": { "name": "en-LR", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-LS": { "name": "en-LS", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-MG": { "name": "en-MG", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-MH": { "name": "en-MH" }, "en-MO": { "name": "en-MO", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-MP": { "name": "en-MP" }, "en-MS": { "name": "en-MS", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-MT": { "name": "en-MT", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-MU": { "name": "en-MU", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] + }, + "en-MV": { + "name": "en-MV", + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-MW": { "name": "en-MW", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-MY": { "name": "en-MY", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-NA": { "name": "en-NA", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-NF": { "name": "en-NF", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-NG": { "name": "en-NG", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-NL": { "name": "en-NL", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-NR": { "name": "en-NR", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-NU": { "name": "en-NU", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-NZ": { "name": "en-NZ", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-PG": { "name": "en-PG", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-PH": { - "name": "en-PH", - "date_order": "DMY" + "name": "en-PH" }, "en-PK": { "name": "en-PK", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-PN": { "name": "en-PN", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-PR": { "name": "en-PR" }, "en-PW": { "name": "en-PW", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-RW": { "name": "en-RW", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-SB": { "name": "en-SB", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-SC": { "name": "en-SC", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-SD": { "name": "en-SD", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-SE": { "name": "en-SE", - "date_order": "YMD" + "date_order": "YMD", + "september": [ + "sept" + ] }, "en-SG": { "name": "en-SG", "date_order": "DMY", + "september": [ + "sept" + ], "month": [ "mth" ], @@ -619,89 +899,149 @@ }, "en-SH": { "name": "en-SH", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-SI": { "name": "en-SI", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-SL": { "name": "en-SL", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-SS": { "name": "en-SS", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-SX": { "name": "en-SX", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-SZ": { "name": "en-SZ", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-TC": { "name": "en-TC", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-TK": { "name": "en-TK", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-TO": { "name": "en-TO", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-TT": { "name": "en-TT", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-TV": { "name": "en-TV", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-TZ": { "name": "en-TZ", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-UG": { "name": "en-UG", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-UM": { "name": "en-UM" }, "en-VC": { "name": "en-VC", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-VG": { "name": "en-VG", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-VI": { "name": "en-VI" }, "en-VU": { "name": "en-VU", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-WS": { "name": "en-WS", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-ZA": { "name": "en-ZA", - "date_order": "YMD" + "date_order": "YMD", + "september": [ + "sept" + ] }, "en-ZM": { "name": "en-ZM", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] }, "en-ZW": { "name": "en-ZW", - "date_order": "DMY" + "date_order": "DMY", + "september": [ + "sept" + ] } } } \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/eo.json b/dateparser_data/cldr_language_data/date_translation_data/eo.json index 635541d39..76511e9fc 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/eo.json +++ b/dateparser_data/cldr_language_data/date_translation_data/eo.json @@ -96,7 +96,8 @@ "day" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser_data/cldr_language_data/date_translation_data/es.json b/dateparser_data/cldr_language_data/date_translation_data/es.json index f72bde156..07e936e1e 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/es.json +++ b/dateparser_data/cldr_language_data/date_translation_data/es.json @@ -101,7 +101,8 @@ ], "hour": [ "h", - "hora" + "hora", + "horas" ], "minute": [ "min", @@ -128,6 +129,7 @@ "ahora" ], "0 week ago": [ + "esta sem", "esta semana" ], "0 year ago": [ @@ -140,7 +142,8 @@ "el mes pasado" ], "1 week ago": [ - "la semana pasada" + "la semana pasada", + "sem ant" ], "1 year ago": [ "el año pasado" @@ -152,7 +155,8 @@ "el próximo mes" ], "in 1 week": [ - "la próxima semana" + "la próxima semana", + "próx sem" ], "in 1 year": [ "el próximo año" @@ -160,6 +164,7 @@ }, "relative-type-regex": { "\\1 day ago": [ + "hace {0} d", "hace {0} día", "hace {0} días" ], @@ -194,6 +199,7 @@ "hace {0} años" ], "in \\1 day": [ + "dentro de {0} d", "dentro de {0} día", "dentro de {0} días" ], @@ -231,18 +237,25 @@ "locale_specific": { "es-419": { "name": "es-419", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-AR": { "name": "es-AR", - "september": [ - "sep" + "hour": [ + "hs" ], "second": [ "seg" ], + "relative-type": { + "1 week ago": [ + "sem pas" + ] + }, "relative-type-regex": { "\\1 second ago": [ "hace {0} seg" @@ -254,75 +267,97 @@ }, "es-BO": { "name": "es-BO", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-BR": { "name": "es-BR", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-BZ": { "name": "es-BZ", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-CL": { "name": "es-CL", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-CO": { "name": "es-CO", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-CR": { "name": "es-CR", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-CU": { "name": "es-CU", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-DO": { "name": "es-DO", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-EA": { "name": "es-EA" }, "es-EC": { "name": "es-EC", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-GQ": { "name": "es-GQ" }, "es-GT": { "name": "es-GT", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-HN": { "name": "es-HN", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-IC": { "name": "es-IC" @@ -333,6 +368,9 @@ "sep" ], "relative-type": { + "1 week ago": [ + "sem pas" + ], "in 1 month": [ "el mes próximo" ], @@ -352,9 +390,6 @@ "en {0} h", "en {0} n" ], - "in \\1 minute": [ - "en {0} min" - ], "in \\1 month": [ "en {0} m", "en {0} mes", @@ -373,23 +408,32 @@ }, "es-NI": { "name": "es-NI", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-PA": { "name": "es-PA", "date_order": "MDY", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-PE": { "name": "es-PE", "september": [ "set", "setiembre" - ] + ], + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-PH": { "name": "es-PH" @@ -397,15 +441,22 @@ "es-PR": { "name": "es-PR", "date_order": "MDY", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-PY": { "name": "es-PY", "second": [ "seg" ], + "relative-type": { + "1 week ago": [ + "sem pas" + ] + }, "relative-type-regex": { "\\1 second ago": [ "hace {0} seg" @@ -417,25 +468,42 @@ }, "es-SV": { "name": "es-SV", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-US": { "name": "es-US", - "september": [ - "sep" - ] + "relative-type": { + "1 week ago": [ + "sem pasada" + ], + "in 1 week": [ + "próxima sem" + ] + } }, "es-UY": { "name": "es-UY", "september": [ "set", "setiembre" - ] + ], + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } }, "es-VE": { - "name": "es-VE" + "name": "es-VE", + "relative-type": { + "1 week ago": [ + "sem pas" + ] + } } } } \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/et.json b/dateparser_data/cldr_language_data/date_translation_data/et.json index 43e33427f..5c9bea17e 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/et.json +++ b/dateparser_data/cldr_language_data/date_translation_data/et.json @@ -97,7 +97,8 @@ ], "hour": [ "t", - "tund" + "tund", + "tunnid" ], "minute": [ "min", @@ -119,39 +120,57 @@ "praegusel minutil" ], "0 month ago": [ - "käesolev kuu" + "käesolev kuu", + "see k", + "see kuu" ], "0 second ago": [ "nüüd" ], "0 week ago": [ - "käesolev nädal" + "käesolev nädal", + "see n", + "see näd" ], "0 year ago": [ - "käesolev aasta" + "käesolev a", + "käesolev aasta", + "see a" ], "1 day ago": [ "eile" ], "1 month ago": [ + "eelm k", + "eelm kuu", "eelmine kuu" ], "1 week ago": [ + "eelm n", + "eelm näd", "eelmine nädal" ], "1 year ago": [ + "eelm a", + "eelmine a", "eelmine aasta" ], "in 1 day": [ "homme" ], "in 1 month": [ + "järgm k", + "järgm kuu", "järgmine kuu" ], "in 1 week": [ + "järgm n", + "järgm näd", "järgmine nädal" ], "in 1 year": [ + "järgm a", + "järgmine a", "järgmine aasta" ] }, diff --git a/dateparser_data/cldr_language_data/date_translation_data/eu.json b/dateparser_data/cldr_language_data/date_translation_data/eu.json index 762c7d105..94cbb4632 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/eu.json +++ b/dateparser_data/cldr_language_data/date_translation_data/eu.json @@ -100,7 +100,8 @@ ], "hour": [ "h", - "ordua" + "ordua", + "orduak" ], "minute": [ "min", @@ -121,13 +122,13 @@ "minutu honetan" ], "0 month ago": [ - "hilabete hau" + "hilabete honetan" ], "0 second ago": [ "orain" ], "0 week ago": [ - "aste hau" + "aste honetan" ], "0 year ago": [ "aurten" @@ -136,25 +137,27 @@ "atzo" ], "1 month ago": [ - "aurreko hilabetea" + "aurreko hilabetean" ], "1 week ago": [ - "aurreko astea" + "aurreko astean" ], "1 year ago": [ - "aurreko urtea" + "aurreko urtea", + "iaz" ], "in 1 day": [ "bihar" ], "in 1 month": [ - "hurrengo hilabetea" + "hurrengo hilabetean" ], "in 1 week": [ - "hurrengo astea" + "hurrengo astean" ], "in 1 year": [ - "hurrengo urtea" + "hurrengo urtea", + "hurrengo urtean" ] }, "relative-type-regex": { diff --git a/dateparser_data/cldr_language_data/date_translation_data/ewo.json b/dateparser_data/cldr_language_data/date_translation_data/ewo.json index 9b8b5411f..48a79201a 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ewo.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ewo.json @@ -96,7 +96,8 @@ "amǒs" ], "hour": [ - "awola" + "awola", + "hr" ], "minute": [ "enútɛn" diff --git a/dateparser_data/cldr_language_data/date_translation_data/fa.json b/dateparser_data/cldr_language_data/date_translation_data/fa.json index 5fdd6216a..046c50fb9 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/fa.json +++ b/dateparser_data/cldr_language_data/date_translation_data/fa.json @@ -117,7 +117,6 @@ "دیروز" ], "1 month ago": [ - "ماه پیش", "ماه گذشته" ], "1 week ago": [ @@ -162,7 +161,8 @@ "{0} سال پیش" ], "in \\1 day": [ - "{0} روز بعد" + "{0} روز بعد", + "{0} روز دیگر" ], "in \\1 hour": [ "{0} ساعت بعد" diff --git a/dateparser_data/cldr_language_data/date_translation_data/ff-Adlm.json b/dateparser_data/cldr_language_data/date_translation_data/ff-Adlm.json new file mode 100644 index 000000000..399409d06 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/ff-Adlm.json @@ -0,0 +1,286 @@ +{ + "name": "ff-Adlm", + "date_order": "DMY", + "january": [ + "𞤧𞤭𞥅𞤤", + "𞤧𞤭𞥅𞤤𞤮" + ], + "february": [ + "𞤷𞤮𞤤", + "𞤷𞤮𞤤𞤼𞤮" + ], + "march": [ + "𞤲𞤦𞤮𞥅𞤴", + "𞤲𞤦𞤮𞥅𞤴𞤮" + ], + "april": [ + "𞤧𞤫𞥅𞤼", + "𞤧𞤫𞥅𞤼𞤮" + ], + "may": [ + "𞤣𞤵𞥅𞤶", + "𞤣𞤵𞥅𞤶𞤮" + ], + "june": [ + "𞤳𞤮𞤪", + "𞤳𞤮𞤪𞤧𞤮" + ], + "july": [ + "𞤥𞤮𞤪", + "𞤥𞤮𞤪𞤧𞤮" + ], + "august": [ + "𞤶𞤵𞤳", + "𞤶𞤵𞤳𞤮" + ], + "september": [ + "𞤧𞤭𞤤", + "𞤧𞤭𞤤𞤼𞤮" + ], + "october": [ + "𞤴𞤢𞤪", + "𞤴𞤢𞤪𞤳𞤮" + ], + "november": [ + "𞤶𞤮𞤤", + "𞤶𞤮𞤤𞤮" + ], + "december": [ + "𞤦𞤮𞤱", + "𞤦𞤮𞤱𞤼𞤮" + ], + "monday": [ + "𞤢𞥄𞤩𞤵", + "𞤢𞥄𞤩𞤵𞤲𞥋𞤣𞤫" + ], + "tuesday": [ + "𞤥𞤢𞤦", + "𞤥𞤢𞤱𞤦𞤢𞥄𞤪𞤫" + ], + "wednesday": [ + "𞤲𞤶𞤫𞤧𞤤𞤢𞥄𞤪𞤫", + "𞤶𞤫𞤧" + ], + "thursday": [ + "𞤲𞤢𞥄𞤧", + "𞤲𞤢𞥄𞤧𞤢𞥄𞤲𞤣𞤫" + ], + "friday": [ + "𞤥𞤢𞤣", + "𞤥𞤢𞤱𞤲𞤣𞤫" + ], + "saturday": [ + "𞤸𞤮𞤪", + "𞤸𞤮𞤪𞤦𞤭𞤪𞥆𞤫" + ], + "sunday": [ + "𞤪𞤫𞤬", + "𞤪𞤫𞤬𞤦𞤭𞤪𞥆𞤫" + ], + "am": [ + "𞤢𞤰" + ], + "pm": [ + "𞤩𞤰" + ], + "year": [ + "𞤸𞤭𞤼", + "𞤸𞤭𞤼𞤢𞥄𞤲𞤣𞤫" + ], + "month": [ + "𞤤𞤫𞤱", + "𞤤𞤫𞤱𞤪𞤵" + ], + "week": [ + "𞤴𞤮𞤲𞤼𞤫𞤪𞤫", + "𞤴𞤼" + ], + "day": [ + "𞤻𞤢𞤤", + "𞤻𞤢𞤤𞤢𞥄𞤲𞤣𞤫" + ], + "hour": [ + "𞤲𞤶𞤢𞤥𞤣𞤭", + "𞤲𞤶𞤢𞤥𞤤𞤭", + "𞤶𞤢" + ], + "minute": [ + "𞤸𞤮𞤶", + "𞤸𞤮𞤶𞤮𞤥𞤢𞥄𞤪𞤫" + ], + "second": [ + "𞤳𞤭𞤲", + "𞤳𞤭𞤲𞤰𞤫𞤪𞤫" + ], + "relative-type": { + "0 day ago": [ + "𞤸𞤢𞤲𞤣𞤫" + ], + "0 hour ago": [ + "𞤲𞤣𞤭𞥅 𞤲𞤶𞤢𞤥𞤲𞤣𞤭", + "𞤲𞥋𞤣𞤭𞥅 𞤯𞤮𞤮 𞤲𞥋𞤶𞤢𞤥𞤲𞥋𞤣𞤭" + ], + "0 minute ago": [ + "𞤲𞤣𞤫𞥅 𞤸𞤮𞤶𞤮𞤥𞤢𞥄𞤪𞤫", + "𞤲𞥋𞤣𞤫𞥅 𞤯𞤮𞤮 𞤸𞤮𞤶𞤮𞤥𞤪𞤫" + ], + "0 month ago": [ + "𞤲𞤣𞤮𞥅 𞤯𞤮𞤮 𞤤𞤫𞤱", + "𞤲𞥋𞤣𞤵𞥅 𞤯𞤮𞤮 𞤤𞤫𞤱𞤪𞤵" + ], + "0 second ago": [ + "𞤶𞤮𞥅𞤲𞤭" + ], + "0 week ago": [ + "𞤲𞤣𞤫𞥅 𞤯𞤮𞤮 𞤴𞤮𞤲𞤼𞤫𞤪𞤫", + "𞤲𞤣𞤫𞥅 𞤯𞤮𞤮 𞤴𞤼" + ], + "0 year ago": [ + "𞤸𞤭𞤳𞥆𞤢" + ], + "1 day ago": [ + "𞤸𞤢𞤲𞤳𞤭" + ], + "1 month ago": [ + "𞤤𞤫𞤱 𞤬𞤫𞤰𞥆𞤵𞤲𞥋𞤣𞤵", + "𞤤𞤫𞤱𞤪𞤵 𞤬𞤫𞤰𞥆𞤵𞤲𞥋𞤣𞤵" + ], + "1 week ago": [ + "𞤴𞤮𞤲𞤼𞤫𞤪𞤫 𞤬𞤫𞤰𞥆𞤵𞤲𞥋𞤣𞤫", + "𞤴𞤼 𞤬𞤫𞤰𞥆𞤵𞤲𞥋𞤣𞤫" + ], + "1 year ago": [ + "𞤪𞤮𞤱𞤢𞤲𞤭" + ], + "in 1 day": [ + "𞤶𞤢𞤲𞤺𞤮" + ], + "in 1 month": [ + "𞤤𞤫𞤱 𞤸𞤭𞤳𞥆𞤭𞥅𞤲𞤣𞤵", + "𞤤𞤫𞤱𞤪𞤵 𞤢𞤪𞤢𞤴𞤲𞥋𞤣𞤵" + ], + "in 1 week": [ + "𞤴𞤮𞤲𞤼𞤫𞤪𞤫 𞤢𞤪𞤢𞤴𞤲𞤣𞤫", + "𞤴𞤼 𞤸𞤭𞤳𞥆𞤭𞥅𞤲𞤣𞤫" + ], + "in 1 year": [ + "𞤸𞤭𞤼 𞤢𞤪𞤮𞥅𞤪𞤫", + "𞤸𞤭𞤼𞤢𞥄𞤲𞤣𞤫 𞤢𞤪𞤮𞥅𞤪𞤫" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} 𞤻𞤢𞤤𞥆𞤢𞤤 𞤱𞤵𞤤𞤭𞥅𞤲𞥋𞤣𞤫", + "{0} 𞤻𞤢𞤤𞥆𞤫 𞤱𞤵𞤤𞤭𞥅𞤯𞤫" + ], + "\\1 hour ago": [ + "{0} 𞤲𞥋𞤶𞤢𞤥𞤤𞤭 𞤱𞤵𞤤𞤭𞥅𞤯𞤭", + "{0} 𞤲𞥋𞤶𞤢𞤥𞤲𞥋𞤣𞤭 𞤱𞤵𞤤𞤭𞥅𞤲𞥋𞤣𞤭", + "{0} 𞤶𞤢 𞤱𞤵𞤤𞤭𞥅𞤯𞤭", + "{0} 𞤶𞤢 𞤱𞤵𞤤𞤭𞥅𞤲𞥋𞤣𞤭" + ], + "\\1 minute ago": [ + "{0} 𞤳𞤮𞤶 𞤱𞤵𞤤𞤭𞥅𞤯𞤫", + "{0} 𞤳𞤮𞤶𞤮𞤥𞤶𞤫 𞤱𞤵𞤤𞤭𞥅𞤯𞤫", + "{0} 𞤸𞤮𞤶 𞤱𞤵𞤤𞤭𞥅𞤯𞤫", + "{0} 𞤸𞤮𞤶 𞤱𞤵𞤤𞤭𞥅𞤲𞥋𞤣𞤫", + "{0} 𞤸𞤮𞤶𞤮𞤥𞤪𞤫 𞤱𞤵𞤤𞤭𞥅𞤲𞥋𞤣𞤫" + ], + "\\1 month ago": [ + "{0} 𞤤𞤫𞤦 𞤱𞤵𞤤𞤭𞥅𞤯𞤭", + "{0} 𞤤𞤫𞤦𞥆𞤭 𞤱𞤵𞤤𞤭𞥅𞤯𞤭", + "{0} 𞤤𞤫𞤱 𞤱𞤵𞤤𞤭𞥅𞤲𞥋𞤣𞤵", + "{0} 𞤤𞤫𞤱𞤪𞤵 𞤱𞤵𞤤𞤭𞥅𞤲𞥋𞤣𞤵" + ], + "\\1 second ago": [ + "{0} 𞤳𞤭𞤲 𞤱𞤵𞤤𞤭𞥅𞤯𞤫", + "{0} 𞤳𞤭𞤲 𞤱𞤵𞤤𞤭𞥅𞤲𞥋𞤺𞤢𞤤", + "{0} 𞤳𞤭𞤲𞤰𞤢𞤤 𞤱𞤵𞤤𞤭𞥅𞤲𞥋𞤺𞤢𞤤", + "{0} 𞤳𞤭𞤲𞤰𞤫 𞤱𞤵𞤤𞤭𞥅𞤯𞤫" + ], + "\\1 week ago": [ + "{0} 𞤴𞤮𞤲𞤼𞤫𞤪𞤫 𞤱𞤵𞤤𞤭𞥅𞤲𞥋𞤣𞤫", + "{0} 𞤴𞤼 𞤱𞤵𞤤𞤭𞥅𞤲𞥋𞤣𞤫", + "{0} 𞤶𞤮𞤲𞤼𞤫 𞤱𞤵𞤤𞤭𞥅𞤯𞤫", + "{0} 𞤶𞤼 𞤱𞤵𞤤𞤭𞥅𞤯𞤫" + ], + "\\1 year ago": [ + "{0} 𞤳𞤭𞤼 𞤪𞤫𞤱𞤢𞤲𞤭", + "{0} 𞤳𞤭𞤼𞤢𞥄𞤯𞤫 𞤪𞤫𞤱𞤢𞤲𞤭", + "{0} 𞤸𞤭𞤼 𞤪𞤫𞤱𞤢𞤲𞤭", + "𞤱𞤢𞤯𞤭𞥅 𞤸𞤭𞤼𞤢𞥄𞤲𞤣𞤫 {0}" + ], + "in \\1 day": [ + "𞤲𞥋𞤣𞤫𞤪 {0} 𞤻𞤢𞤤𞥆𞤢𞤤", + "𞤲𞥋𞤣𞤫𞤪 {0} 𞤻𞤢𞤤𞥆𞤫" + ], + "in \\1 hour": [ + "𞤲𞥋𞤣𞤫𞤪 {0} 𞤲𞥋𞤶𞤢𞤥𞤤𞤭", + "𞤲𞥋𞤣𞤫𞤪 {0} 𞤲𞥋𞤶𞤢𞤥𞤲𞥋𞤣𞤭", + "𞤲𞥋𞤣𞤫𞤪 {0} 𞤶𞤢" + ], + "in \\1 minute": [ + "𞤲𞥋𞤣𞤫𞤪 {0} 𞤳𞤮𞤶𞤮𞤥𞤶𞤫", + "𞤲𞥋𞤣𞤫𞤪 {0} 𞤸𞤮𞤶", + "𞤲𞥋𞤣𞤫𞤪 {0} 𞤸𞤮𞤶𞤮𞤥𞤪𞤫" + ], + "in \\1 month": [ + "𞤲𞥋𞤣𞤫𞤪 {0} 𞤤𞤫𞤦", + "𞤲𞥋𞤣𞤫𞤪 {0} 𞤤𞤫𞤦𞥆𞤭", + "𞤲𞥋𞤣𞤫𞤪 {0} 𞤤𞤫𞤱", + "𞤲𞥋𞤣𞤫𞤪 {0} 𞤤𞤫𞤱𞤪𞤵" + ], + "in \\1 second": [ + "𞤲𞥋𞤣𞤫𞤪 {0} 𞤳𞤭𞤲", + "𞤲𞥋𞤣𞤫𞤪 {0} 𞤳𞤭𞤲𞤰𞤢𞤤", + "𞤲𞥋𞤣𞤫𞤪 {0} 𞤳𞤭𞤲𞤰𞤫" + ], + "in \\1 week": [ + "𞤲𞥋𞤣𞤫𞤪 {0} 𞤴𞤮𞤲𞤼𞤫𞤪𞤫", + "𞤲𞥋𞤣𞤫𞤪 {0} 𞤴𞤼", + "𞤲𞥋𞤣𞤫𞤪 {0} 𞤶𞤮𞤲𞤼𞤫", + "𞤲𞥋𞤣𞤫𞤪 {0} 𞤶𞤼" + ], + "in \\1 year": [ + "𞤲𞤣𞤫𞤪 {0} 𞤳𞤭𞤼𞤢𞥄𞤤𞤫", + "𞤲𞤣𞤫𞤪 {0} 𞤸𞤭𞤼𞤢𞥄𞤲𞤣𞤫", + "𞤲𞤣𞤫𞤪 𞤳𞤭𞤼 {0}", + "𞤲𞤣𞤫𞤪 𞤸𞤭𞤼 {0}" + ] + }, + "locale_specific": { + "ff-Adlm-BF": { + "name": "ff-Adlm-BF" + }, + "ff-Adlm-CM": { + "name": "ff-Adlm-CM" + }, + "ff-Adlm-GH": { + "name": "ff-Adlm-GH" + }, + "ff-Adlm-GM": { + "name": "ff-Adlm-GM" + }, + "ff-Adlm-GW": { + "name": "ff-Adlm-GW" + }, + "ff-Adlm-LR": { + "name": "ff-Adlm-LR" + }, + "ff-Adlm-MR": { + "name": "ff-Adlm-MR" + }, + "ff-Adlm-NE": { + "name": "ff-Adlm-NE" + }, + "ff-Adlm-NG": { + "name": "ff-Adlm-NG" + }, + "ff-Adlm-SL": { + "name": "ff-Adlm-SL" + }, + "ff-Adlm-SN": { + "name": "ff-Adlm-SN" + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ff-Latn.json b/dateparser_data/cldr_language_data/date_translation_data/ff-Latn.json new file mode 100644 index 000000000..5be1b5f92 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/ff-Latn.json @@ -0,0 +1,190 @@ +{ + "name": "ff-Latn", + "date_order": "DMY", + "january": [ + "sii", + "siilo" + ], + "february": [ + "col", + "colte" + ], + "march": [ + "mbo", + "mbooy" + ], + "april": [ + "see", + "seeɗto" + ], + "may": [ + "duu", + "duujal" + ], + "june": [ + "kor", + "korse" + ], + "july": [ + "mor", + "morso" + ], + "august": [ + "juk", + "juko" + ], + "september": [ + "siilto", + "slt" + ], + "october": [ + "yar", + "yarkomaa" + ], + "november": [ + "jol", + "jolal" + ], + "december": [ + "bow", + "bowte" + ], + "monday": [ + "aaɓ", + "aaɓnde" + ], + "tuesday": [ + "maw", + "mawbaare" + ], + "wednesday": [ + "nje", + "njeslaare" + ], + "thursday": [ + "naa", + "naasaande" + ], + "friday": [ + "mawnde", + "mwd" + ], + "saturday": [ + "hbi", + "hoore-biir" + ], + "sunday": [ + "dew", + "dewo" + ], + "am": [ + "subaka" + ], + "pm": [ + "kikiiɗe" + ], + "year": [ + "hitaande" + ], + "month": [ + "lewru" + ], + "week": [ + "yontere" + ], + "day": [ + "ñalnde" + ], + "hour": [ + "hr", + "waktu" + ], + "minute": [ + "hoƴom" + ], + "second": [ + "majaango" + ], + "relative-type": { + "0 day ago": [ + "hannde" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "haŋki" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "jaŋngo" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "ff-Latn-BF": { + "name": "ff-Latn-BF" + }, + "ff-Latn-CM": { + "name": "ff-Latn-CM" + }, + "ff-Latn-GH": { + "name": "ff-Latn-GH" + }, + "ff-Latn-GM": { + "name": "ff-Latn-GM" + }, + "ff-Latn-GN": { + "name": "ff-Latn-GN" + }, + "ff-Latn-GW": { + "name": "ff-Latn-GW" + }, + "ff-Latn-LR": { + "name": "ff-Latn-LR" + }, + "ff-Latn-MR": { + "name": "ff-Latn-MR" + }, + "ff-Latn-NE": { + "name": "ff-Latn-NE" + }, + "ff-Latn-NG": { + "name": "ff-Latn-NG" + }, + "ff-Latn-SL": { + "name": "ff-Latn-SL" + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ff.json b/dateparser_data/cldr_language_data/date_translation_data/ff.json index cf0517d49..0f76d2ab4 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ff.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ff.json @@ -96,6 +96,7 @@ "ñalnde" ], "hour": [ + "hr", "waktu" ], "minute": [ @@ -151,15 +152,5 @@ "next year" ] }, - "locale_specific": { - "ff-CM": { - "name": "ff-CM" - }, - "ff-GN": { - "name": "ff-GN" - }, - "ff-MR": { - "name": "ff-MR" - } - } + "locale_specific": {} } \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/fi.json b/dateparser_data/cldr_language_data/date_translation_data/fi.json index 36772ec69..e8a69a0e7 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/fi.json +++ b/dateparser_data/cldr_language_data/date_translation_data/fi.json @@ -132,6 +132,7 @@ ], "hour": [ "t", + "tunnit", "tunti" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/fil.json b/dateparser_data/cldr_language_data/date_translation_data/fil.json index d83cbba83..61b2c0a05 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/fil.json +++ b/dateparser_data/cldr_language_data/date_translation_data/fil.json @@ -96,6 +96,7 @@ "araw" ], "hour": [ + "mga oras", "oras" ], "minute": [ @@ -160,8 +161,7 @@ "{0} araw ang nakalipas" ], "\\1 hour ago": [ - "{0} oras ang nakalipas", - "{0} oras nakalipas" + "{0} oras ang nakalipas" ], "\\1 minute ago": [ "{0} min ang nakalipas", @@ -172,7 +172,6 @@ ], "\\1 second ago": [ "{0} seg ang nakalipas", - "{0} seg nakalipas", "{0} segundo ang nakalipas" ], "\\1 week ago": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/fo.json b/dateparser_data/cldr_language_data/date_translation_data/fo.json index b49f86b3e..3a4c9855b 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/fo.json +++ b/dateparser_data/cldr_language_data/date_translation_data/fo.json @@ -101,6 +101,7 @@ ], "hour": [ "t", + "tímar", "tími" ], "minute": [ @@ -124,12 +125,15 @@ "hendan minuttin" ], "0 month ago": [ + "henda mnð", "henda mánaðin" ], "0 second ago": [ "nú" ], "0 week ago": [ + "hesu v", + "hesu vi", "hesu viku" ], "0 year ago": [ @@ -139,9 +143,12 @@ "í gjár" ], "1 month ago": [ + "seinasta mnð", "seinasta mánað" ], "1 week ago": [ + "seinastu v", + "seinastu vi", "seinastu viku" ], "1 year ago": [ @@ -151,9 +158,12 @@ "í morgin" ], "in 1 month": [ + "næsta mnð", "næsta mánað" ], "in 1 week": [ + "næstu v", + "næstu vi", "næstu viku" ], "in 1 year": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/fr.json b/dateparser_data/cldr_language_data/date_translation_data/fr.json index 8de40f824..0e2476142 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/fr.json +++ b/dateparser_data/cldr_language_data/date_translation_data/fr.json @@ -98,7 +98,8 @@ ], "hour": [ "h", - "heure" + "heure", + "heures" ], "minute": [ "min", @@ -164,14 +165,12 @@ "\\1 hour ago": [ "il y a {0} h", "il y a {0} heure", - "il y a {0} heures", - "il y a {0}h" + "il y a {0} heures" ], "\\1 minute ago": [ "il y a {0} min", "il y a {0} minute", - "il y a {0} minutes", - "il y a {0}min" + "il y a {0} minutes" ], "\\1 month ago": [ "il y a {0} m", @@ -200,8 +199,7 @@ "in \\1 hour": [ "dans {0} h", "dans {0} heure", - "dans {0} heures", - "dans {0}h" + "dans {0} heures" ], "in \\1 minute": [ "dans {0} min", diff --git a/dateparser_data/cldr_language_data/date_translation_data/frr.json b/dateparser_data/cldr_language_data/date_translation_data/frr.json new file mode 100644 index 000000000..095d68f18 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/frr.json @@ -0,0 +1,101 @@ +{ + "name": "frr", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/fur.json b/dateparser_data/cldr_language_data/date_translation_data/fur.json index a65e0736a..c847e71bd 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/fur.json +++ b/dateparser_data/cldr_language_data/date_translation_data/fur.json @@ -94,7 +94,8 @@ "dì" ], "hour": [ - "ore" + "ore", + "oris" ], "minute": [ "minût" diff --git a/dateparser_data/cldr_language_data/date_translation_data/ga.json b/dateparser_data/cldr_language_data/date_translation_data/ga.json index bea9d952c..249c31c6f 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ga.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ga.json @@ -76,10 +76,10 @@ "dé domhnaigh" ], "am": [ - "am" + "rn" ], "pm": [ - "pm" + "in" ], "year": [ "bl", @@ -130,8 +130,8 @@ "an tseachtain seo" ], "0 year ago": [ - "an bhl seo", - "an bhliain seo" + "i mbl", + "i mbliana" ], "1 day ago": [ "inné" @@ -204,7 +204,8 @@ ], "in \\1 month": [ "i gceann {0} mhí", - "i gceann {0} mí" + "i gceann {0} mí", + "i gceann {0} míosa" ], "in \\1 second": [ "i gceann {0} soic", @@ -212,13 +213,18 @@ ], "in \\1 week": [ "i gceann {0} scht", - "i gceann {0} seachtain" + "i gceann {0} seachtain", + "i gceann {0} seachtaine" ], "in \\1 year": [ - "i gceann {0} bhliain", "i gceann {0} bl", - "i gceann {0} bliain" + "i gceann {0} bliain", + "i gceann {0} bliana" ] }, - "locale_specific": {} + "locale_specific": { + "ga-GB": { + "name": "ga-GB" + } + } } \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/gaa.json b/dateparser_data/cldr_language_data/date_translation_data/gaa.json new file mode 100644 index 000000000..efbcaeb01 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/gaa.json @@ -0,0 +1,101 @@ +{ + "name": "gaa", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/gd.json b/dateparser_data/cldr_language_data/date_translation_data/gd.json index e26903cfd..8f52d418d 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/gd.json +++ b/dateparser_data/cldr_language_data/date_translation_data/gd.json @@ -132,10 +132,14 @@ "an-diugh" ], "0 hour ago": [ - "this hour" + "am broinn uair", + "am broinn uair a thìde", + "san uair" ], "0 minute ago": [ - "this minute" + "am broinn mion", + "am broinn mionaid", + "sa mhion" ], "0 month ago": [ "am mì seo", diff --git a/dateparser_data/cldr_language_data/date_translation_data/gez.json b/dateparser_data/cldr_language_data/date_translation_data/gez.json new file mode 100644 index 000000000..4cfbedcb1 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/gez.json @@ -0,0 +1,105 @@ +{ + "name": "gez", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "gez-ER": { + "name": "gez-ER" + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/gl.json b/dateparser_data/cldr_language_data/date_translation_data/gl.json index d38482e0f..8a3b46b5e 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/gl.json +++ b/dateparser_data/cldr_language_data/date_translation_data/gl.json @@ -81,11 +81,9 @@ "pm" ], "year": [ - "a", "ano" ], "month": [ - "m", "mes" ], "week": [ @@ -93,12 +91,12 @@ "semana" ], "day": [ - "d", "día" ], "hour": [ "h", - "hora" + "hora", + "horas" ], "minute": [ "min", @@ -113,13 +111,12 @@ "hoxe" ], "0 hour ago": [ - "nesta hora" + "esta hora" ], "0 minute ago": [ - "neste minuto" + "este minuto" ], "0 month ago": [ - "este m", "este mes" ], "0 second ago": [ @@ -136,36 +133,37 @@ "onte" ], "1 month ago": [ - "m pasado", + "o mes pas", "o mes pasado" ], "1 week ago": [ - "a semana pasada", - "sem pasada" + "a sem pas", + "a sem pasada", + "a semana pasada" ], "1 year ago": [ - "ano pasado", + "o ano pas", "o ano pasado" ], "in 1 day": [ "mañá" ], "in 1 month": [ - "m seguinte", + "o próx mes", "o próximo mes" ], "in 1 week": [ - "a próxima semana", - "sem seguinte" + "a próx sem", + "a próxima sem", + "a próxima semana" ], "in 1 year": [ - "o próximo ano", - "seguinte ano" + "o próx ano", + "o próximo ano" ] }, "relative-type-regex": { "\\1 day ago": [ - "hai {0} d", "hai {0} día", "hai {0} días" ], @@ -180,7 +178,6 @@ "hai {0} minutos" ], "\\1 month ago": [ - "hai {0} m", "hai {0} mes", "hai {0} meses" ], @@ -195,12 +192,10 @@ "hai {0} semanas" ], "\\1 year ago": [ - "hai {0} a", "hai {0} ano", "hai {0} anos" ], "in \\1 day": [ - "en {0} d", "en {0} día", "en {0} días" ], @@ -215,7 +210,6 @@ "en {0} minutos" ], "in \\1 month": [ - "en {0} m", "en {0} mes", "en {0} meses" ], @@ -230,7 +224,6 @@ "en {0} semanas" ], "in \\1 year": [ - "en {0} a", "en {0} ano", "en {0} anos" ] diff --git a/dateparser_data/cldr_language_data/date_translation_data/gn.json b/dateparser_data/cldr_language_data/date_translation_data/gn.json new file mode 100644 index 000000000..e4cc5582c --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/gn.json @@ -0,0 +1,137 @@ +{ + "name": "gn", + "date_order": "YMD", + "january": [ + "jasyteĩ" + ], + "february": [ + "jasykõi" + ], + "march": [ + "jasyapy" + ], + "april": [ + "jasyrundy" + ], + "may": [ + "jasypo" + ], + "june": [ + "jasypoteĩ" + ], + "july": [ + "jasypokõi" + ], + "august": [ + "jasypoapy" + ], + "september": [ + "jasyporundy" + ], + "october": [ + "jasypa" + ], + "november": [ + "jasypateĩ" + ], + "december": [ + "jasypakõi" + ], + "monday": [ + "arakõi" + ], + "tuesday": [ + "araapy" + ], + "wednesday": [ + "ararundy" + ], + "thursday": [ + "arapo" + ], + "friday": [ + "arapoteĩ" + ], + "saturday": [ + "arapokõi" + ], + "sunday": [ + "arateĩ" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/gsw.json b/dateparser_data/cldr_language_data/date_translation_data/gsw.json index 7d57904c5..d2ed95874 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/gsw.json +++ b/dateparser_data/cldr_language_data/date_translation_data/gsw.json @@ -99,6 +99,7 @@ "tag" ], "hour": [ + "hr", "schtund" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/gu.json b/dateparser_data/cldr_language_data/date_translation_data/gu.json index c08747a36..04c9d6284 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/gu.json +++ b/dateparser_data/cldr_language_data/date_translation_data/gu.json @@ -172,7 +172,6 @@ "{0} અઠવાડિયા પહેલાં" ], "\\1 year ago": [ - "{0} વર્ષ પહેલા", "{0} વર્ષ પહેલાં" ], "in \\1 day": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/guz.json b/dateparser_data/cldr_language_data/date_translation_data/guz.json index 576390b5d..2ec82c64b 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/guz.json +++ b/dateparser_data/cldr_language_data/date_translation_data/guz.json @@ -97,7 +97,8 @@ "rituko" ], "hour": [ - "ensa" + "ensa", + "hr" ], "minute": [ "edakika" diff --git a/dateparser_data/cldr_language_data/date_translation_data/gv.json b/dateparser_data/cldr_language_data/date_translation_data/gv.json index d2764794f..644619445 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/gv.json +++ b/dateparser_data/cldr_language_data/date_translation_data/gv.json @@ -93,7 +93,8 @@ "day" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser_data/cldr_language_data/date_translation_data/ha-Arab.json b/dateparser_data/cldr_language_data/date_translation_data/ha-Arab.json new file mode 100644 index 000000000..cb857195d --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/ha-Arab.json @@ -0,0 +1,105 @@ +{ + "name": "ha-Arab", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "ha-Arab-SD": { + "name": "ha-Arab-SD" + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ha.json b/dateparser_data/cldr_language_data/date_translation_data/ha.json index 19a5140fe..2f30883f6 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ha.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ha.json @@ -78,10 +78,12 @@ "lahadi" ], "am": [ - "am" + "safiya", + "sf" ], "pm": [ - "pm" + "yamma", + "ym" ], "year": [ "shekara" @@ -96,7 +98,8 @@ "kwana" ], "hour": [ - "awa" + "awa", + "sa'o'i" ], "minute": [ "minti" @@ -109,46 +112,98 @@ "yau" ], "0 hour ago": [ - "this hour" + "wannan awa" ], "0 minute ago": [ - "this minute" + "wannan mintin" ], "0 month ago": [ - "this month" + "wannan watan" ], "0 second ago": [ - "now" + "yanzu" ], "0 week ago": [ - "this week" + "wannan satin" ], "0 year ago": [ - "this year" + "bana" ], "1 day ago": [ "jiya" ], "1 month ago": [ - "last month" + "watan da ya gabata" ], "1 week ago": [ - "last week" + "satin da ya gabata" ], "1 year ago": [ - "last year" + "bara" ], "in 1 day": [ "gobe" ], "in 1 month": [ - "next month" + "wata na gaba" ], "in 1 week": [ - "next week" + "sati na gaba" ], "in 1 year": [ - "next year" + "badi" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "kwanaki da suka gabata {0}", + "rana da ya gabata {0}" + ], + "\\1 hour ago": [ + "{0} awa da ya gabata" + ], + "\\1 minute ago": [ + "{0} minti da ya gabata" + ], + "\\1 month ago": [ + "watan da ya gabata {0}", + "watanni da suka gabata {0}}" + ], + "\\1 second ago": [ + "{0} dakika da ya gabata" + ], + "\\1 week ago": [ + "mako da suka gabata {0}", + "mako da ya gabata {0}", + "makonni da suka gabata {0}" + ], + "\\1 year ago": [ + "shekara da suka gabata {0}" + ], + "in \\1 day": [ + "a cikin kwanaki {0}", + "a cikin rana {0}" + ], + "in \\1 hour": [ + "cikin {0} awa" + ], + "in \\1 minute": [ + "cikin {0} minti" + ], + "in \\1 month": [ + "a cikin watan {0}", + "a cikin watanni {0}" + ], + "in \\1 second": [ + "cikin {0} dakika" + ], + "in \\1 week": [ + "a cikin mako {0}", + "a cikin makonni {0}" + ], + "in \\1 year": [ + "a shekarar {0}", + "a shekaru {0}" ] }, "locale_specific": { diff --git a/dateparser_data/cldr_language_data/date_translation_data/haw.json b/dateparser_data/cldr_language_data/date_translation_data/haw.json index b53dfe76d..6726e9506 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/haw.json +++ b/dateparser_data/cldr_language_data/date_translation_data/haw.json @@ -95,7 +95,8 @@ "day" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser_data/cldr_language_data/date_translation_data/he.json b/dateparser_data/cldr_language_data/date_translation_data/he.json index 12b9a92d4..0686375f7 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/he.json +++ b/dateparser_data/cldr_language_data/date_translation_data/he.json @@ -74,9 +74,11 @@ "יום ראשון" ], "am": [ + "am", "לפנה״צ" ], "pm": [ + "pm", "אחה״צ" ], "year": [ @@ -96,6 +98,7 @@ ], "hour": [ "שעה", + "שעות", "שע׳" ], "minute": [ @@ -114,7 +117,8 @@ "בשעה זו" ], "0 minute ago": [ - "בדקה זו" + "בדקה זו", + "דקה זו" ], "0 month ago": [ "החודש" @@ -156,7 +160,6 @@ "relative-type-regex": { "\\1 day ago": [ "לפני {0} ימים", - "לפני {0} ימ׳", "לפני יום {0}" ], "\\1 hour ago": [ @@ -184,7 +187,6 @@ ], "in \\1 day": [ "בעוד {0} ימים", - "בעוד {0} ימ׳", "בעוד יום {0}" ], "in \\1 hour": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/hi-Latn.json b/dateparser_data/cldr_language_data/date_translation_data/hi-Latn.json new file mode 100644 index 000000000..47337612b --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/hi-Latn.json @@ -0,0 +1,239 @@ +{ + "name": "hi-Latn", + "date_order": "DMY", + "january": [ + "jan", + "january" + ], + "february": [ + "feb", + "february" + ], + "march": [ + "mar", + "march" + ], + "april": [ + "apr", + "april" + ], + "may": [ + "may" + ], + "june": [ + "jun", + "june" + ], + "july": [ + "jul", + "july" + ], + "august": [ + "aug", + "august" + ], + "september": [ + "sep", + "sept", + "september" + ], + "october": [ + "oct", + "october" + ], + "november": [ + "nov", + "november" + ], + "december": [ + "dec", + "december" + ], + "monday": [ + "som", + "somwaar" + ], + "tuesday": [ + "mangal", + "mangalwaar" + ], + "wednesday": [ + "budh", + "budhwaar" + ], + "thursday": [ + "guru", + "guruwaar" + ], + "friday": [ + "shukra", + "shukrawaar" + ], + "saturday": [ + "shani", + "shaniwaar" + ], + "sunday": [ + "ravi", + "raviwaar" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "saal", + "yr" + ], + "month": [ + "mahina", + "mo" + ], + "week": [ + "hafta", + "wk" + ], + "day": [ + "din" + ], + "hour": [ + "ghanta", + "hours", + "hr" + ], + "minute": [ + "min", + "minute" + ], + "second": [ + "sec", + "second" + ], + "relative-type": { + "0 day ago": [ + "aaj" + ], + "0 hour ago": [ + "yah ghanta" + ], + "0 minute ago": [ + "yah minute" + ], + "0 month ago": [ + "is mo", + "yah maheena" + ], + "0 second ago": [ + "abhi", + "now" + ], + "0 week ago": [ + "is hafte", + "is wk" + ], + "0 year ago": [ + "is saal", + "is yr" + ], + "1 day ago": [ + "kal" + ], + "1 month ago": [ + "last mo", + "pichhla maheena" + ], + "1 week ago": [ + "last wk", + "pichhla hafta" + ], + "1 year ago": [ + "last yr", + "pichhla saal" + ], + "in 1 day": [ + "aane wala kal" + ], + "in 1 month": [ + "agla maheena", + "next mo" + ], + "in 1 week": [ + "agla hafta", + "next wk" + ], + "in 1 year": [ + "agla saal", + "next yr" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} din pahle" + ], + "\\1 hour ago": [ + "{0} ghante pahle", + "{0} hr mein", + "{0} hr pahle", + "{0}hr pahle" + ], + "\\1 minute ago": [ + "{0} min pahle", + "{0} minute pahle" + ], + "\\1 month ago": [ + "{0} maheene pahle", + "{0} mo pahle", + "{0}mo pahle" + ], + "\\1 second ago": [ + "{0} sec pahle", + "{0} second pahle", + "{0}s pahle" + ], + "\\1 week ago": [ + "{0} hafte pahle", + "{0} wk pahle", + "{0}w pahle" + ], + "\\1 year ago": [ + "{0} saal pahle", + "{0} yr pahle", + "{0}y pahle" + ], + "in \\1 day": [ + "{0} din mein" + ], + "in \\1 hour": [ + "{0} ghante mein", + "{0} hr mein", + "{0}hr mein" + ], + "in \\1 minute": [ + "{0} min mein", + "{0} minute mein" + ], + "in \\1 month": [ + "{0} maheene mein", + "{0} mo mein", + "{0}mo mein" + ], + "in \\1 second": [ + "{0} sec mein", + "{0} second mein", + "{0}s mein" + ], + "in \\1 week": [ + "{0} hafte mein", + "{0} wk mein", + "{0}w mein" + ], + "in \\1 year": [ + "{0} saal mein", + "{0} yr mein", + "{0}y mein" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/hi.json b/dateparser_data/cldr_language_data/date_translation_data/hi.json index 09ef1c048..bbdaf0891 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/hi.json +++ b/dateparser_data/cldr_language_data/date_translation_data/hi.json @@ -74,10 +74,10 @@ "रविवार" ], "am": [ - "पूर्वाह्न" + "am" ], "pm": [ - "अपराह्न" + "pm" ], "year": [ "वर्ष" @@ -92,16 +92,17 @@ "दिन" ], "hour": [ - "घं", - "घंटा" + "घंटा", + "घंटे", + "घं॰" ], "minute": [ - "मि", - "मिनट" + "मिनट", + "मि॰" ], "second": [ - "से", - "सेकंड" + "सेकंड", + "से॰" ], "relative-type": { "0 day ago": [ @@ -123,10 +124,12 @@ "इस सप्ताह" ], "0 year ago": [ - "इस वर्ष" + "इस वर्ष", + "इस साल" ], "1 day ago": [ - "कल" + "कल", + "बीता कल" ], "1 month ago": [ "पिछला माह" @@ -135,9 +138,11 @@ "पिछला सप्ताह" ], "1 year ago": [ - "पिछला वर्ष" + "पिछला वर्ष", + "पिछले साल" ], "in 1 day": [ + "आने वाला कल", "कल" ], "in 1 month": [ @@ -147,7 +152,8 @@ "अगला सप्ताह" ], "in 1 year": [ - "अगला वर्ष" + "अगला वर्ष", + "अगले साल" ] }, "relative-type-regex": { @@ -155,19 +161,19 @@ "{0} दिन पहले" ], "\\1 hour ago": [ - "{0} घं पहले", - "{0} घंटे पहले" + "{0} घंटे पहले", + "{0} घं॰ पहले" ], "\\1 minute ago": [ - "{0} मि पहले", - "{0} मिनट पहले" + "{0} मिनट पहले", + "{0} मि॰ पहले" ], "\\1 month ago": [ "{0} माह पहले" ], "\\1 second ago": [ - "{0} से पहले", - "{0} सेकंड पहले" + "{0} सेकंड पहले", + "{0} से॰ पहले" ], "\\1 week ago": [ "{0} सप्ताह पहले" @@ -179,19 +185,19 @@ "{0} दिन में" ], "in \\1 hour": [ - "{0} घं में", - "{0} घंटे में" + "{0} घंटे में", + "{0} घं॰ में" ], "in \\1 minute": [ - "{0} मि में", - "{0} मिनट में" + "{0} मिनट में", + "{0} मि॰ में" ], "in \\1 month": [ "{0} माह में" ], "in \\1 second": [ - "{0} से में", - "{0} सेकंड में" + "{0} सेकंड में", + "{0} से॰ में" ], "in \\1 week": [ "{0} सप्ताह में" diff --git a/dateparser_data/cldr_language_data/date_translation_data/hnj-Hmnp.json b/dateparser_data/cldr_language_data/date_translation_data/hnj-Hmnp.json new file mode 100644 index 000000000..cdf7991c2 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/hnj-Hmnp.json @@ -0,0 +1,144 @@ +{ + "name": "hnj-Hmnp", + "date_order": "YMD", + "january": [ + "𞄆𞄬" + ], + "february": [ + "𞄛𞄨𞄱𞄄𞄤𞄲𞄨" + ], + "march": [ + "𞄒𞄫𞄰𞄒𞄪𞄱" + ], + "april": [ + "𞄤𞄨𞄱" + ], + "may": [ + "𞄀𞄪𞄴" + ], + "june": [ + "𞄛𞄤𞄱𞄞𞄤𞄦" + ], + "july": [ + "𞄔𞄩𞄴𞄆𞄨𞄰" + ], + "august": [ + "𞄕𞄩𞄲𞄔𞄄𞄰𞄤" + ], + "september": [ + "𞄛𞄤𞄱𞄒𞄤𞄰" + ], + "october": [ + "𞄪𞄱𞄀𞄤𞄴" + ], + "november": [ + "𞄚𞄦𞄲𞄤𞄚𞄄𞄰𞄫" + ], + "december": [ + "𞄒𞄩𞄱𞄔𞄬𞄴" + ], + "monday": [ + "mon", + "𞄈𞄦" + ], + "tuesday": [ + "tue", + "𞄆𞄨𞄰" + ], + "wednesday": [ + "wed", + "𞄗𞄄𞄤𞄰𞄦" + ], + "thursday": [ + "thu", + "𞄙𞄤𞄱𞄨" + ], + "friday": [ + "fri", + "𞄑𞄤𞄱𞄨" + ], + "saturday": [ + "sat", + "𞄊𞄧𞄳" + ], + "sunday": [ + "sun", + "𞄎𞄤𞄲" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "𞄛𞄩" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/hnj.json b/dateparser_data/cldr_language_data/date_translation_data/hnj.json new file mode 100644 index 000000000..4eea77dae --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/hnj.json @@ -0,0 +1,144 @@ +{ + "name": "hnj", + "date_order": "YMD", + "january": [ + "𞄆𞄬" + ], + "february": [ + "𞄛𞄨𞄱𞄄𞄤𞄲𞄨" + ], + "march": [ + "𞄒𞄫𞄰𞄒𞄪𞄱" + ], + "april": [ + "𞄤𞄨𞄱" + ], + "may": [ + "𞄀𞄪𞄴" + ], + "june": [ + "𞄛𞄤𞄱𞄞𞄤𞄦" + ], + "july": [ + "𞄔𞄩𞄴𞄆𞄨𞄰" + ], + "august": [ + "𞄕𞄩𞄲𞄔𞄄𞄰𞄤" + ], + "september": [ + "𞄛𞄤𞄱𞄒𞄤𞄰" + ], + "october": [ + "𞄪𞄱𞄀𞄤𞄴" + ], + "november": [ + "𞄚𞄦𞄲𞄤𞄚𞄄𞄰𞄫" + ], + "december": [ + "𞄒𞄩𞄱𞄔𞄬𞄴" + ], + "monday": [ + "mon", + "𞄈𞄦" + ], + "tuesday": [ + "tue", + "𞄆𞄨𞄰" + ], + "wednesday": [ + "wed", + "𞄗𞄄𞄤𞄰𞄦" + ], + "thursday": [ + "thu", + "𞄙𞄤𞄱𞄨" + ], + "friday": [ + "fri", + "𞄑𞄤𞄱𞄨" + ], + "saturday": [ + "sat", + "𞄊𞄧𞄳" + ], + "sunday": [ + "sun", + "𞄎𞄤𞄲" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "𞄛𞄩" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/hr.json b/dateparser_data/cldr_language_data/date_translation_data/hr.json index 150bab092..03981c4c3 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/hr.json +++ b/dateparser_data/cldr_language_data/date_translation_data/hr.json @@ -114,7 +114,8 @@ ], "hour": [ "h", - "sat" + "sat", + "sati" ], "minute": [ "min", diff --git a/dateparser_data/cldr_language_data/date_translation_data/hsb.json b/dateparser_data/cldr_language_data/date_translation_data/hsb.json index cc3f6ea3f..7fec618d4 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/hsb.json +++ b/dateparser_data/cldr_language_data/date_translation_data/hsb.json @@ -90,9 +90,11 @@ "njedźela" ], "am": [ + "dop", "dopołdnja" ], "pm": [ + "pop", "popołdnju" ], "year": [ @@ -114,7 +116,8 @@ "hour": [ "h", "hodź", - "hodźina" + "hodźina", + "hodźiny" ], "minute": [ "m", @@ -128,48 +131,72 @@ ], "relative-type": { "0 day ago": [ + "dźe", + "dźens", "dźensa" ], "0 hour ago": [ - "this hour" + "w tutej hodźinje" ], "0 minute ago": [ - "this minute" + "w tutej mjeńšinje" ], "0 month ago": [ + "tu měsac", + "tut měsac", "tutón měsac" ], "0 second ago": [ - "now" + "nětko" ], "0 week ago": [ + "tu tydźeń", + "tut tydźeń", "tutón tydźeń" ], "0 year ago": [ + "lět", + "lěts", "lětsa" ], "1 day ago": [ + "wč", + "wčer", "wčera" ], "1 month ago": [ + "zaš měsac", + "zašł měsac", "zašły měsac" ], "1 week ago": [ + "zaš tydźeń", + "zašł tydźeń", "zašły tydźeń" ], "1 year ago": [ + "lo", + "lon", "loni" ], "in 1 day": [ + "jut", + "jutř", "jutře" ], "in 1 month": [ + "přich měsac", + "přichodn měsac", "přichodny měsac" ], "in 1 week": [ + "přich tydźeń", + "přichodn tydźeń", "přichodny tydźeń" ], "in 1 year": [ + "klě", + "klět", "klětu" ] }, diff --git a/dateparser_data/cldr_language_data/date_translation_data/hu.json b/dateparser_data/cldr_language_data/date_translation_data/hu.json index 094d547aa..99460888f 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/hu.json +++ b/dateparser_data/cldr_language_data/date_translation_data/hu.json @@ -96,12 +96,15 @@ "nap" ], "hour": [ + "ó", "óra" ], "minute": [ + "p", "perc" ], "second": [ + "mp", "másodperc" ], "relative-type": { @@ -157,21 +160,27 @@ "{0} nappal ezelőtt" ], "\\1 hour ago": [ + "{0} órája", "{0} órával ezelőtt" ], "\\1 minute ago": [ - "{0} perccel ezelőtt" + "{0} perccel ezelőtt", + "{0} perce" ], "\\1 month ago": [ + "{0} hónapja", "{0} hónappal ezelőtt" ], "\\1 second ago": [ + "{0} mperce", "{0} másodperccel ezelőtt" ], "\\1 week ago": [ + "{0} hete", "{0} héttel ezelőtt" ], "\\1 year ago": [ + "{0} éve", "{0} évvel ezelőtt" ], "in \\1 day": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/hy.json b/dateparser_data/cldr_language_data/date_translation_data/hy.json index 0f47ad0c8..19c735ab0 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/hy.json +++ b/dateparser_data/cldr_language_data/date_translation_data/hy.json @@ -90,12 +90,10 @@ "կիրակի" ], "am": [ - "am", - "կա" + "am" ], "pm": [ - "pm", - "կհ" + "pm" ], "year": [ "տ", @@ -114,7 +112,8 @@ ], "hour": [ "ժ", - "ժամ" + "ժամ", + "ժամեր" ], "minute": [ "ր", @@ -138,7 +137,7 @@ "այս ամիս" ], "0 second ago": [ - "այժմ" + "հիմա" ], "0 week ago": [ "այս շաբաթ" @@ -150,7 +149,6 @@ "երեկ" ], "1 month ago": [ - "անցյալ ամիս", "նախորդ ամիս" ], "1 week ago": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/ia.json b/dateparser_data/cldr_language_data/date_translation_data/ia.json new file mode 100644 index 000000000..c308d6ed5 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/ia.json @@ -0,0 +1,248 @@ +{ + "name": "ia", + "date_order": "DMY", + "january": [ + "jan", + "januario" + ], + "february": [ + "feb", + "februario" + ], + "march": [ + "mar", + "martio" + ], + "april": [ + "apr", + "april" + ], + "may": [ + "mai", + "maio" + ], + "june": [ + "jun", + "junio" + ], + "july": [ + "jul", + "julio" + ], + "august": [ + "aug", + "augusto" + ], + "september": [ + "sep", + "septembre" + ], + "october": [ + "oct", + "octobre" + ], + "november": [ + "nov", + "novembre" + ], + "december": [ + "dec", + "decembre" + ], + "monday": [ + "lun", + "lunedi" + ], + "tuesday": [ + "mar", + "martedi" + ], + "wednesday": [ + "mer", + "mercuridi" + ], + "thursday": [ + "jov", + "jovedi" + ], + "friday": [ + "ven", + "venerdi" + ], + "saturday": [ + "sab", + "sabbato" + ], + "sunday": [ + "dom", + "dominica" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "a", + "an", + "anno" + ], + "month": [ + "m", + "mense", + "mns" + ], + "week": [ + "s", + "sept", + "septimana" + ], + "day": [ + "d", + "die" + ], + "hour": [ + "h", + "hora", + "horas", + "hr" + ], + "minute": [ + "m", + "min", + "minuta" + ], + "second": [ + "s", + "sec", + "secunda" + ], + "relative-type": { + "0 day ago": [ + "hodie" + ], + "0 hour ago": [ + "iste hora" + ], + "0 minute ago": [ + "iste minuta" + ], + "0 month ago": [ + "iste mense", + "iste mns" + ], + "0 second ago": [ + "ora" + ], + "0 week ago": [ + "iste sept", + "iste septimana" + ], + "0 year ago": [ + "iste an", + "iste anno" + ], + "1 day ago": [ + "heri" + ], + "1 month ago": [ + "le mense passate", + "mns pass" + ], + "1 week ago": [ + "le septimana passate", + "sept pass" + ], + "1 year ago": [ + "an pass", + "le anno passate" + ], + "in 1 day": [ + "deman" + ], + "in 1 month": [ + "le mense proxime", + "mns prox" + ], + "in 1 week": [ + "le septimana proxime", + "sept prox" + ], + "in 1 year": [ + "an prox", + "le anno proxime" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} die retro", + "{0} dies retro" + ], + "\\1 hour ago": [ + "{0} hora retro", + "{0} horas retro", + "{0} hr retro" + ], + "\\1 minute ago": [ + "{0} min retro", + "{0} minuta retro", + "{0} minutas retro" + ], + "\\1 month ago": [ + "{0} mense retro", + "{0} menses retro", + "{0} mns retro" + ], + "\\1 second ago": [ + "{0} sec retro", + "{0} secunda retro", + "{0} secundas retro" + ], + "\\1 week ago": [ + "{0} sept retro", + "{0} septimana retro", + "{0} septimanas retro" + ], + "\\1 year ago": [ + "{0} an retro", + "{0} anno retro", + "{0} annos retro" + ], + "in \\1 day": [ + "in {0} die", + "in {0} dies" + ], + "in \\1 hour": [ + "in {0} hora", + "in {0} horas", + "in {0} hr" + ], + "in \\1 minute": [ + "in {0} min", + "in {0} minuta", + "in {0} minutas" + ], + "in \\1 month": [ + "in {0} mense", + "in {0} menses", + "in {0} mns" + ], + "in \\1 second": [ + "in {0} sec", + "in {0} secunda", + "in {0} secundas" + ], + "in \\1 week": [ + "in {0} sept", + "in {0} septimana", + "in {0} septimanas" + ], + "in \\1 year": [ + "in {0} an", + "in {0} anno", + "in {0} annos" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/id.json b/dateparser_data/cldr_language_data/date_translation_data/id.json index 120620634..afef324fa 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/id.json +++ b/dateparser_data/cldr_language_data/date_translation_data/id.json @@ -29,7 +29,7 @@ "juli" ], "august": [ - "agt", + "agu", "agustus" ], "september": [ @@ -96,7 +96,8 @@ ], "day": [ "h", - "hari" + "hari", + "hr" ], "hour": [ "j", @@ -120,43 +121,53 @@ "jam ini" ], "0 minute ago": [ - "menit ini" + "menit ini", + "mnt ini" ], "0 month ago": [ + "bln ini", "bulan ini" ], "0 second ago": [ "sekarang" ], "0 week ago": [ + "mgg ini", "minggu ini" ], "0 year ago": [ - "tahun ini" + "tahun ini", + "thn ini" ], "1 day ago": [ "kemarin" ], "1 month ago": [ + "bln lalu", "bulan lalu" ], "1 week ago": [ + "mgg lalu", "minggu lalu" ], "1 year ago": [ - "tahun lalu" + "tahun lalu", + "thn lalu" ], "in 1 day": [ "besok" ], "in 1 month": [ - "bulan berikutnya" + "bln berikutnya", + "bulan depan" ], "in 1 week": [ + "mgg depan", "minggu depan" ], "in 1 year": [ - "tahun depan" + "tahun depan", + "thn depan" ] }, "relative-type-regex": { @@ -193,7 +204,8 @@ "dalam {0} hari" ], "in \\1 hour": [ - "dalam {0} jam" + "dalam {0} jam", + "dlm {0} jam" ], "in \\1 minute": [ "dalam {0} menit", diff --git a/dateparser_data/cldr_language_data/date_translation_data/ie.json b/dateparser_data/cldr_language_data/date_translation_data/ie.json new file mode 100644 index 000000000..776eb01c1 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/ie.json @@ -0,0 +1,139 @@ +{ + "name": "ie", + "date_order": "YMD", + "january": [ + "januar" + ], + "february": [ + "februar" + ], + "march": [ + "marte" + ], + "april": [ + "april" + ], + "may": [ + "may" + ], + "june": [ + "junio" + ], + "july": [ + "julí" + ], + "august": [ + "august" + ], + "september": [ + "septembre" + ], + "october": [ + "octobre" + ], + "november": [ + "novembre" + ], + "december": [ + "decembre" + ], + "monday": [ + "lunedí" + ], + "tuesday": [ + "mardí" + ], + "wednesday": [ + "mercurdí" + ], + "thursday": [ + "jovedí" + ], + "friday": [ + "venerdí" + ], + "saturday": [ + "saturdí" + ], + "sunday": [ + "soledí" + ], + "am": [ + "am", + "ante midí" + ], + "pm": [ + "pm", + "pos midí" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ig.json b/dateparser_data/cldr_language_data/date_translation_data/ig.json index 540fe8588..e039bd560 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ig.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ig.json @@ -15,7 +15,7 @@ ], "april": [ "epr", - "eprel" + "epreel" ], "may": [ "mee" @@ -73,13 +73,15 @@ "satọdee" ], "sunday": [ - "mbọsị ụka", - "ụka" + "sọn", + "sọndee" ], "am": [ - "am" + "am", + "n'ụtụtụ" ], "pm": [ + "n'abali", "pm" ], "year": [ @@ -95,59 +97,61 @@ "ụbọchị" ], "hour": [ - "elekere" + "elekere", + "hr" ], "minute": [ "nkeji" ], "second": [ - "nkejinta" + "tịm kọm" ], "relative-type": { "0 day ago": [ + "taa", "taata" ], "0 hour ago": [ - "this hour" + "elekere a" ], "0 minute ago": [ - "this minute" + "nkejị a" ], "0 month ago": [ - "this month" + "ọnwa a" ], "0 second ago": [ - "now" + "ụgbụa" ], "0 week ago": [ - "this week" + "izu a" ], "0 year ago": [ - "this year" + "afọ a" ], "1 day ago": [ - "nnyaafụ" + "ụnyaahụ" ], "1 month ago": [ - "last month" + "ọnwa gara aga" ], "1 week ago": [ - "last week" + "izu gara aga" ], "1 year ago": [ - "last year" + "afọ gara aga" ], "in 1 day": [ "echi" ], "in 1 month": [ - "next month" + "ọnwa ọzọ" ], "in 1 week": [ - "next week" + "izu na-esote" ], "in 1 year": [ - "next year" + "afọ ọzọ" ] }, "locale_specific": {} diff --git a/dateparser_data/cldr_language_data/date_translation_data/ii.json b/dateparser_data/cldr_language_data/date_translation_data/ii.json index 3d80342b2..7e25d1ff5 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ii.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ii.json @@ -84,6 +84,7 @@ "ꑍ" ], "hour": [ + "hr", "ꄮꈉ" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/io.json b/dateparser_data/cldr_language_data/date_translation_data/io.json new file mode 100644 index 000000000..3101614f2 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/io.json @@ -0,0 +1,101 @@ +{ + "name": "io", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/is.json b/dateparser_data/cldr_language_data/date_translation_data/is.json index 1f5815825..fe034da87 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/is.json +++ b/dateparser_data/cldr_language_data/date_translation_data/is.json @@ -94,12 +94,12 @@ "vika" ], "day": [ - "d", "dagur" ], "hour": [ "klst", - "klukkustund" + "klukkustund", + "klukkustundir" ], "minute": [ "mín", @@ -114,10 +114,10 @@ "í dag" ], "0 hour ago": [ - "this hour" + "þessa stundina" ], "0 minute ago": [ - "this minute" + "á þessari mínútu" ], "0 month ago": [ "í þessum mán", diff --git a/dateparser_data/cldr_language_data/date_translation_data/it.json b/dateparser_data/cldr_language_data/date_translation_data/it.json index 7d7524ce5..f44102df4 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/it.json +++ b/dateparser_data/cldr_language_data/date_translation_data/it.json @@ -99,16 +99,15 @@ ], "hour": [ "h", - "ora" + "ora", + "ore" ], "minute": [ - "m", "min", "minuto" ], "second": [ "s", - "sec", "secondo" ], "relative-type": { @@ -128,6 +127,7 @@ "ora" ], "0 week ago": [ + "questa sett", "questa settimana" ], "0 year ago": [ @@ -140,6 +140,7 @@ "mese scorso" ], "1 week ago": [ + "sett scorsa", "settimana scorsa" ], "1 year ago": [ @@ -152,6 +153,7 @@ "mese prossimo" ], "in 1 week": [ + "sett prossima", "settimana prossima" ], "in 1 year": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/iu-Latn.json b/dateparser_data/cldr_language_data/date_translation_data/iu-Latn.json new file mode 100644 index 000000000..218b26cae --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/iu-Latn.json @@ -0,0 +1,101 @@ +{ + "name": "iu-Latn", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/iu.json b/dateparser_data/cldr_language_data/date_translation_data/iu.json new file mode 100644 index 000000000..66be58989 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/iu.json @@ -0,0 +1,101 @@ +{ + "name": "iu", + "date_order": "MDY", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ja.json b/dateparser_data/cldr_language_data/date_translation_data/ja.json index 7b8596ff6..76566ef81 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ja.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ja.json @@ -84,7 +84,8 @@ "日" ], "hour": [ - "時" + "時", + "時間" ], "minute": [ "分" @@ -130,13 +131,13 @@ "明日" ], "in 1 month": [ - "翌月" + "来月" ], "in 1 week": [ - "翌週" + "来週" ], "in 1 year": [ - "翌年" + "来年" ] }, "relative-type-regex": { diff --git a/dateparser_data/cldr_language_data/date_translation_data/jbo.json b/dateparser_data/cldr_language_data/date_translation_data/jbo.json new file mode 100644 index 000000000..0ba2aa84f --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/jbo.json @@ -0,0 +1,101 @@ +{ + "name": "jbo", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/jgo.json b/dateparser_data/cldr_language_data/date_translation_data/jgo.json index d1a58fc60..e8542cbc0 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/jgo.json +++ b/dateparser_data/cldr_language_data/date_translation_data/jgo.json @@ -77,7 +77,8 @@ "day" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser_data/cldr_language_data/date_translation_data/jmc.json b/dateparser_data/cldr_language_data/date_translation_data/jmc.json index 97240f49b..3ff3cb380 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/jmc.json +++ b/dateparser_data/cldr_language_data/date_translation_data/jmc.json @@ -95,6 +95,7 @@ "mfiri" ], "hour": [ + "hr", "saa" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/jv.json b/dateparser_data/cldr_language_data/date_translation_data/jv.json new file mode 100644 index 000000000..60a1362e2 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/jv.json @@ -0,0 +1,201 @@ +{ + "name": "jv", + "date_order": "DMY", + "january": [ + "jan", + "januari" + ], + "february": [ + "feb", + "februari" + ], + "march": [ + "mar", + "maret" + ], + "april": [ + "apr", + "april" + ], + "may": [ + "mei" + ], + "june": [ + "jun", + "juni" + ], + "july": [ + "jul", + "juli" + ], + "august": [ + "agt", + "agustus" + ], + "september": [ + "sep", + "september" + ], + "october": [ + "okt", + "oktober" + ], + "november": [ + "nov", + "november" + ], + "december": [ + "des", + "desember" + ], + "monday": [ + "sen", + "senin" + ], + "tuesday": [ + "sel", + "selasa" + ], + "wednesday": [ + "rab", + "rabu" + ], + "thursday": [ + "kam", + "kamis" + ], + "friday": [ + "jum", + "jumat" + ], + "saturday": [ + "sab", + "sabtu" + ], + "sunday": [ + "ahad" + ], + "am": [ + "isuk" + ], + "pm": [ + "wengi" + ], + "year": [ + "taun" + ], + "month": [ + "sasi" + ], + "week": [ + "pekan" + ], + "day": [ + "dino" + ], + "hour": [ + "jam" + ], + "minute": [ + "menit" + ], + "second": [ + "detik" + ], + "relative-type": { + "0 day ago": [ + "dino iki" + ], + "0 hour ago": [ + "jam iki" + ], + "0 minute ago": [ + "menit iki" + ], + "0 month ago": [ + "sasi iki" + ], + "0 second ago": [ + "saiki" + ], + "0 week ago": [ + "pekan iki", + "pkn iki" + ], + "0 year ago": [ + "taun iki" + ], + "1 day ago": [ + "wingi" + ], + "1 month ago": [ + "sasi wingi" + ], + "1 week ago": [ + "pekan wingi", + "pkn wingi" + ], + "1 year ago": [ + "taun wingi" + ], + "in 1 day": [ + "sesuk" + ], + "in 1 month": [ + "sasi ngarep" + ], + "in 1 week": [ + "pekan ngarep", + "pkn ngarep" + ], + "in 1 year": [ + "taun ngarep" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} dina kepungkur", + "{0} dino kepungkur" + ], + "\\1 hour ago": [ + "{0} jam kepungkur" + ], + "\\1 minute ago": [ + "{0} menit kepungkur" + ], + "\\1 month ago": [ + "{0} sasi kepungkur" + ], + "\\1 second ago": [ + "{0} detik kepungkur" + ], + "\\1 week ago": [ + "{0} pekan kepungkur" + ], + "\\1 year ago": [ + "{0} taun kepungkur" + ], + "in \\1 day": [ + "ing {0} dina" + ], + "in \\1 hour": [ + "ing {0} jam" + ], + "in \\1 minute": [ + "ing {0} menit" + ], + "in \\1 month": [ + "ing {0} sasi" + ], + "in \\1 second": [ + "ing {0} detik" + ], + "in \\1 week": [ + "ing {0} pekan" + ], + "in \\1 year": [ + "ing {0} taun" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ka.json b/dateparser_data/cldr_language_data/date_translation_data/ka.json index 3a7b4f783..ffdba8c92 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ka.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ka.json @@ -81,8 +81,7 @@ "am" ], "pm": [ - "pm", - "შუადღ შემდეგ" + "pm" ], "year": [ "წ", diff --git a/dateparser_data/cldr_language_data/date_translation_data/kab.json b/dateparser_data/cldr_language_data/date_translation_data/kab.json index 8098f20b3..2964812fa 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/kab.json +++ b/dateparser_data/cldr_language_data/date_translation_data/kab.json @@ -96,6 +96,7 @@ "ass" ], "hour": [ + "hr", "tamert" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/kaj.json b/dateparser_data/cldr_language_data/date_translation_data/kaj.json new file mode 100644 index 000000000..f3c6422af --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/kaj.json @@ -0,0 +1,101 @@ +{ + "name": "kaj", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/kam.json b/dateparser_data/cldr_language_data/date_translation_data/kam.json index 77dc7515d..dbd084ff8 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/kam.json +++ b/dateparser_data/cldr_language_data/date_translation_data/kam.json @@ -96,6 +96,7 @@ "mũthenya" ], "hour": [ + "hr", "saa" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/kcg.json b/dateparser_data/cldr_language_data/date_translation_data/kcg.json new file mode 100644 index 000000000..8e82d7edd --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/kcg.json @@ -0,0 +1,101 @@ +{ + "name": "kcg", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/kde.json b/dateparser_data/cldr_language_data/date_translation_data/kde.json index eb38ec1a4..8cd05fa05 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/kde.json +++ b/dateparser_data/cldr_language_data/date_translation_data/kde.json @@ -96,6 +96,7 @@ "lihiku" ], "hour": [ + "hr", "saa" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/kea.json b/dateparser_data/cldr_language_data/date_translation_data/kea.json index 5be041a23..9fb61e47f 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/kea.json +++ b/dateparser_data/cldr_language_data/date_translation_data/kea.json @@ -71,7 +71,6 @@ ], "saturday": [ "sab", - "sabadu", "sábadu" ], "sunday": [ @@ -116,16 +115,16 @@ "oji" ], "0 hour ago": [ - "this hour" + "es ora li" ], "0 minute ago": [ - "this minute" + "es minutu li" ], "0 month ago": [ "es mes li" ], "0 second ago": [ - "now" + "agora" ], "0 week ago": [ "es simana li" @@ -146,7 +145,7 @@ "anu pasadu" ], "in 1 day": [ - "manha" + "manhan" ], "in 1 month": [ "prósimu mes" diff --git a/dateparser_data/cldr_language_data/date_translation_data/ken.json b/dateparser_data/cldr_language_data/date_translation_data/ken.json new file mode 100644 index 000000000..54199ba2e --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/ken.json @@ -0,0 +1,101 @@ +{ + "name": "ken", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/kgp.json b/dateparser_data/cldr_language_data/date_translation_data/kgp.json new file mode 100644 index 000000000..34dd696b3 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/kgp.json @@ -0,0 +1,212 @@ +{ + "name": "kgp", + "date_order": "DMY", + "january": [ + "1-kysã", + "1ky" + ], + "february": [ + "2-kysã", + "2ky" + ], + "march": [ + "3-kysã", + "3ky" + ], + "april": [ + "4-kysã", + "4ky" + ], + "may": [ + "5-kysã", + "5ky" + ], + "june": [ + "6-kysã", + "6ky" + ], + "july": [ + "7-kysã", + "7ky" + ], + "august": [ + "8-kysã", + "8ky" + ], + "september": [ + "9-kysã", + "9ky" + ], + "october": [ + "10-kysã", + "10ky" + ], + "november": [ + "11-kysã", + "11ky" + ], + "december": [ + "12-kysã", + "12ky" + ], + "monday": [ + "pir", + "pir-kurã-há" + ], + "tuesday": [ + "rég", + "régre-kurã-há" + ], + "wednesday": [ + "tẽg", + "tẽgtũ-kurã-há" + ], + "thursday": [ + "vẽn", + "vẽnhkãgra-kurã-há" + ], + "friday": [ + "pén", + "pénkar-kurã-há" + ], + "saturday": [ + "sav", + "savnu" + ], + "sunday": [ + "num", + "numĩggu" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "prỹg" + ], + "month": [ + "kysã" + ], + "week": [ + "sim", + "simỹnỹ" + ], + "day": [ + "kurã" + ], + "hour": [ + "h", + "óra", + "óra ag" + ], + "minute": [ + "mĩn", + "mĩnũtu" + ], + "second": [ + "seg", + "segũno" + ], + "relative-type": { + "0 day ago": [ + "uri" + ], + "0 hour ago": [ + "óra tag kã" + ], + "0 minute ago": [ + "mĩnũtu tag" + ], + "0 month ago": [ + "kysã tag kã" + ], + "0 second ago": [ + "ha" + ], + "0 week ago": [ + "simỹnỹ tag kã" + ], + "0 year ago": [ + "prỹg tag kã" + ], + "1 day ago": [ + "rãketá" + ], + "1 month ago": [ + "kysã tĩ mũn kã" + ], + "1 week ago": [ + "simỹnỹ tĩ mũn kã" + ], + "1 year ago": [ + "prỹg tĩ mũnh kã" + ], + "in 1 day": [ + "vajkỹ" + ], + "in 1 month": [ + "kysã ũn kã" + ], + "in 1 week": [ + "simỹnỹ ũn kã" + ], + "in 1 year": [ + "prỹg ũ kã" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "kurã {0} si ser" + ], + "\\1 hour ago": [ + "{0} h si ser", + "óra {0} si ser" + ], + "\\1 minute ago": [ + "mĩn {0} si ser", + "mĩnũtu {0} si ser" + ], + "\\1 month ago": [ + "kysã {0} si ser" + ], + "\\1 second ago": [ + "seg {0} si ser", + "segũno {0} si ser" + ], + "\\1 week ago": [ + "sim {0} si ser", + "simỹnỹ {0} si ser" + ], + "\\1 year ago": [ + "prỹg {0} si ser" + ], + "in \\1 day": [ + "kurã {0} kar kỹ" + ], + "in \\1 hour": [ + "{0} h kar kỹ", + "óra {0} kar kỹ" + ], + "in \\1 minute": [ + "mĩn {0} kar kỹ", + "mĩnũtu {0} kar kỹ" + ], + "in \\1 month": [ + "kysã {0} kar kỹ" + ], + "in \\1 second": [ + "seg {0} kar kỹ", + "segũno {0} kar kỹ" + ], + "in \\1 week": [ + "sim {0} kar kỹ", + "simỹnỹ {0} kar kỹ" + ], + "in \\1 year": [ + "prỹg {0} kar kỹ" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/khq.json b/dateparser_data/cldr_language_data/date_translation_data/khq.json index c1b0c883f..7457f5b58 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/khq.json +++ b/dateparser_data/cldr_language_data/date_translation_data/khq.json @@ -94,7 +94,8 @@ "jaari" ], "hour": [ - "guuru" + "guuru", + "hr" ], "minute": [ "miniti" diff --git a/dateparser_data/cldr_language_data/date_translation_data/ki.json b/dateparser_data/cldr_language_data/date_translation_data/ki.json index df75e61dc..db3d4eb1f 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ki.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ki.json @@ -96,6 +96,7 @@ "mũthenya" ], "hour": [ + "hr", "ithaa" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/kl.json b/dateparser_data/cldr_language_data/date_translation_data/kl.json index 90e80016a..abd37af29 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/kl.json +++ b/dateparser_data/cldr_language_data/date_translation_data/kl.json @@ -3,51 +3,63 @@ "date_order": "YMD", "january": [ "jan", - "januari" + "januaari", + "januaarip" ], "february": [ - "feb", - "februari" + "febr", + "februaari", + "februaarip" ], "march": [ "mar", - "martsi" + "marsi", + "marsip" ], "april": [ "apr", - "aprili" + "apriili", + "apriilip" ], "may": [ - "maj", - "maji" + "maaji", + "maajip", + "maj" ], "june": [ "jun", - "juni" + "juuni", + "juunip" ], "july": [ "jul", - "juli" + "juuli", + "juulip" ], "august": [ - "aug", - "augustusi" + "aggusti", + "aggustip", + "aug" ], "september": [ - "sep", - "septemberi" + "sept", + "septembari", + "septembarip" ], "october": [ "okt", - "oktoberi" + "oktobari", + "oktobarip" ], "november": [ "nov", - "novemberi" + "novembari", + "novembarip" ], "december": [ "dec", - "decemberi" + "decembari", + "decembarip" ], "monday": [ "ata", @@ -74,8 +86,8 @@ "arfininngorneq" ], "sunday": [ - "sab", - "sabaat" + "sap", + "sapaat" ], "am": [ "am" @@ -96,7 +108,8 @@ "day" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser_data/cldr_language_data/date_translation_data/kln.json b/dateparser_data/cldr_language_data/date_translation_data/kln.json index d62ec4ca1..88433d15f 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/kln.json +++ b/dateparser_data/cldr_language_data/date_translation_data/kln.json @@ -98,6 +98,7 @@ "betut" ], "hour": [ + "hr", "sait" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/km.json b/dateparser_data/cldr_language_data/date_translation_data/km.json index f57e747c2..027602d4b 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/km.json +++ b/dateparser_data/cldr_language_data/date_translation_data/km.json @@ -38,6 +38,7 @@ "ធ្នូ" ], "monday": [ + "ចន្ទ", "ច័ន្ទ" ], "tuesday": [ @@ -47,6 +48,7 @@ "ពុធ" ], "thursday": [ + "ព្រហ", "ព្រហស្បតិ៍" ], "friday": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/kn.json b/dateparser_data/cldr_language_data/date_translation_data/kn.json index 8197f4aee..152ff7501 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/kn.json +++ b/dateparser_data/cldr_language_data/date_translation_data/kn.json @@ -92,7 +92,8 @@ "ದಿನ" ], "hour": [ - "ಗಂಟೆ" + "ಗಂಟೆ", + "ಗಂಟೆಗಳು" ], "minute": [ "ನಿಮಿಷ" diff --git a/dateparser_data/cldr_language_data/date_translation_data/ko.json b/dateparser_data/cldr_language_data/date_translation_data/ko.json index 0aa9a72fb..c786e76d4 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ko.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ko.json @@ -86,7 +86,8 @@ "일" ], "hour": [ - "시" + "시", + "시간" ], "minute": [ "분" @@ -186,6 +187,9 @@ ] }, "locale_specific": { + "ko-CN": { + "name": "ko-CN" + }, "ko-KP": { "name": "ko-KP" } diff --git a/dateparser_data/cldr_language_data/date_translation_data/kok.json b/dateparser_data/cldr_language_data/date_translation_data/kok.json index c9bbfcd99..fa4692b95 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/kok.json +++ b/dateparser_data/cldr_language_data/date_translation_data/kok.json @@ -1,17 +1,20 @@ { "name": "kok", - "date_order": "YMD", + "date_order": "DMY", "january": [ + "जाने", "जानेवारी" ], "february": [ + "फेब्रु", "फेब्रुवारी" ], "march": [ "मार्च" ], "april": [ - "एप्रिल" + "एप्री", + "एप्रील" ], "may": [ "मे" @@ -20,123 +23,172 @@ "जून" ], "july": [ - "जुलै" + "जुल", + "जुलय" ], "august": [ - "ओगस्ट" + "ऑग", + "ऑगस्ट" ], "september": [ - "सेप्टेंबर" + "सप्टें", + "सप्टेंबर" ], "october": [ - "ओक्टोबर" + "ऑक्टो", + "ऑक्टोबर" ], "november": [ + "नो", "नोव्हेंबर" ], "december": [ + "डिसे", "डिसेंबर" ], "monday": [ - "सोम", - "सोमवार" + "सोमार" ], "tuesday": [ - "मंगळ", "मंगळार" ], "wednesday": [ - "बुध", "बुधवार" ], "thursday": [ - "गुरु", - "गुरुवार" + "बिरेस्तार" ], "friday": [ - "शुक्र", - "शुक्रवार" + "शुक्रार" ], "saturday": [ - "शनि", - "शनिवार" + "शेनवार" ], "sunday": [ - "आदित्यवार", - "रवि" + "आयतार" ], "am": [ - "मपू" + "am", + "सकाळ" ], "pm": [ - "मनं" + "pm", + "सांज" ], "year": [ - "year" + "वर्स" ], "month": [ - "month" + "म्हयनो" ], "week": [ - "week" + "सप्तक" ], "day": [ - "day" + "दीस" ], "hour": [ - "hour" + "वर", + "वरां" ], "minute": [ - "minute" + "मिनीट" ], "second": [ - "second" + "सेकंद" ], "relative-type": { "0 day ago": [ - "today" + "आयज" ], "0 hour ago": [ - "this hour" + "हें वर" ], "0 minute ago": [ - "this minute" + "हें मिनीट" ], "0 month ago": [ - "this month" + "हो म्हयनो" ], "0 second ago": [ - "now" + "आतां" ], "0 week ago": [ - "this week" + "हो सप्तक" ], "0 year ago": [ - "this year" + "हें वर्स" ], "1 day ago": [ - "yesterday" + "काल" ], "1 month ago": [ - "last month" + "फाटलो म्हयनो" ], "1 week ago": [ - "last week" + "निमाणो सप्तक" ], "1 year ago": [ - "last year" + "फाटलें वर्स" ], "in 1 day": [ - "tomorrow" + "फाल्यां" ], "in 1 month": [ - "next month" + "फुडलो म्हयनो" ], "in 1 week": [ - "next week" + "फुडलो सप्तक" ], "in 1 year": [ - "next year" + "फुडलें वर्स" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} दीस आदीं" + ], + "\\1 hour ago": [ + "{0} वरा आदीं" + ], + "\\1 minute ago": [ + "{0} मिन्टां आदीं" + ], + "\\1 month ago": [ + "{0} म्हयन्यां आदीं" + ], + "\\1 second ago": [ + "{0} से आदीं", + "{0} सेकंद आदीं" + ], + "\\1 week ago": [ + "{0} सप्त आदीं", + "{0} सप्तकां आदीं" + ], + "\\1 year ago": [ + "{0} वर्स आदीं", + "{0} वर्सां आदीं" + ], + "in \\1 day": [ + "{0} दिसानीं" + ], + "in \\1 hour": [ + "{0} वरांनीं" + ], + "in \\1 minute": [ + "{0} मिन्टां" + ], + "in \\1 month": [ + "{0} म्हयन्यानीं" + ], + "in \\1 second": [ + "{0} सेकंदानीं" + ], + "in \\1 week": [ + "{0} सप्तकांनीं" + ], + "in \\1 year": [ + "{0} वर्सांनीं" ] }, "locale_specific": {} diff --git a/dateparser_data/cldr_language_data/date_translation_data/kpe.json b/dateparser_data/cldr_language_data/date_translation_data/kpe.json new file mode 100644 index 000000000..502854046 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/kpe.json @@ -0,0 +1,105 @@ +{ + "name": "kpe", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "kpe-GN": { + "name": "kpe-GN" + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ks-Arab.json b/dateparser_data/cldr_language_data/date_translation_data/ks-Arab.json new file mode 100644 index 000000000..bd6d523f3 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/ks-Arab.json @@ -0,0 +1,143 @@ +{ + "name": "ks-Arab", + "date_order": "MDY", + "january": [ + "جنؤری" + ], + "february": [ + "فرؤری" + ], + "march": [ + "مارٕچ" + ], + "april": [ + "اپریل" + ], + "may": [ + "مئی" + ], + "june": [ + "جوٗن" + ], + "july": [ + "جوٗلایی", + "جُلَے" + ], + "august": [ + "اگست" + ], + "september": [ + "ستمبر" + ], + "october": [ + "اکتوٗبر" + ], + "november": [ + "نومبر" + ], + "december": [ + "دسمبر", + "دَسَمبَر" + ], + "monday": [ + "ژٔندرٕروار", + "ژٔندٕروار" + ], + "tuesday": [ + "بۆموار" + ], + "wednesday": [ + "بودوار" + ], + "thursday": [ + "برؠسوار" + ], + "friday": [ + "جُمہ" + ], + "saturday": [ + "بٹوار" + ], + "sunday": [ + "آتھوار", + "اَتھوار" + ], + "am": [ + "am", + "اے ایم" + ], + "pm": [ + "pm", + "پی ایم" + ], + "year": [ + "ؤری" + ], + "month": [ + "رؠتھ" + ], + "week": [ + "ہفتہٕ" + ], + "day": [ + "دۄہ" + ], + "hour": [ + "hr", + "گٲنٹہٕ" + ], + "minute": [ + "مِنَٹ" + ], + "second": [ + "سؠکَنڈ" + ], + "relative-type": { + "0 day ago": [ + "اَز" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "یٕہ ریتھۍ" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "یٕہ ہفتہ" + ], + "0 year ago": [ + "یٕہ ؤری" + ], + "1 day ago": [ + "راتھ" + ], + "1 month ago": [ + "پٔتِم ریتھۍ" + ], + "1 week ago": [ + "پٔتِم ہفتہ" + ], + "1 year ago": [ + "پٔتِم ؤری" + ], + "in 1 day": [ + "پگاہ" + ], + "in 1 month": [ + "نو ریتھۍ" + ], + "in 1 week": [ + "نو ہفتہ" + ], + "in 1 year": [ + "نو ؤری" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ks-Deva.json b/dateparser_data/cldr_language_data/date_translation_data/ks-Deva.json new file mode 100644 index 000000000..10e4d03e0 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/ks-Deva.json @@ -0,0 +1,148 @@ +{ + "name": "ks-Deva", + "date_order": "DMY", + "january": [ + "जनवरी" + ], + "february": [ + "फ़रवरी" + ], + "march": [ + "मार्च" + ], + "april": [ + "अप्रैल" + ], + "may": [ + "मे" + ], + "june": [ + "जून" + ], + "july": [ + "जुलाई" + ], + "august": [ + "अगस्त" + ], + "september": [ + "सतमबर", + "सतुंबर" + ], + "october": [ + "अकतुम्बर", + "अक्तूबर" + ], + "november": [ + "नवमबर", + "नवूमबर" + ], + "december": [ + "दसमबर", + "दसूमबर" + ], + "monday": [ + "चंदिरवार", + "च़ंदिरवार" + ], + "tuesday": [ + "बुवार", + "बोमवार" + ], + "wednesday": [ + "बोदवार" + ], + "thursday": [ + "ब्रेसवार" + ], + "friday": [ + "जुमा", + "जुम्मा" + ], + "saturday": [ + "बटवार" + ], + "sunday": [ + "आथवार" + ], + "am": [ + "am", + "दुपहर ब्रोंठ", + "ये एम" + ], + "pm": [ + "pm", + "दुपहरपतॖ", + "पी एम" + ], + "year": [ + "वरीह" + ], + "month": [ + "माह" + ], + "week": [ + "हफ़ति" + ], + "day": [ + "दोह" + ], + "hour": [ + "hr", + "गनटि" + ], + "minute": [ + "मिनट" + ], + "second": [ + "सेकंड" + ], + "relative-type": { + "0 day ago": [ + "अज़" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "राथ" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "पगाह" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ks.json b/dateparser_data/cldr_language_data/date_translation_data/ks.json index 2452fdeea..83373ee43 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ks.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ks.json @@ -14,13 +14,14 @@ "اپریل" ], "may": [ - "میٔ" + "مئی" ], "june": [ "جوٗن" ], "july": [ - "جوٗلایی" + "جوٗلایی", + "جُلَے" ], "august": [ "اگست" @@ -35,20 +36,21 @@ "نومبر" ], "december": [ - "دسمبر" + "دسمبر", + "دَسَمبَر" ], "monday": [ - "ژٔنٛدرٕروار", - "ژٔنٛدٕروار" + "ژٔندرٕروار", + "ژٔندٕروار" ], "tuesday": [ - "بوٚموار" + "بۆموار" ], "wednesday": [ "بودوار" ], "thursday": [ - "برٛٮ۪سوار" + "برؠسوار" ], "friday": [ "جُمہ" @@ -61,16 +63,18 @@ "اَتھوار" ], "am": [ - "am" + "am", + "اے ایم" ], "pm": [ - "pm" + "pm", + "پی ایم" ], "year": [ "ؤری" ], "month": [ - "رٮ۪تھ" + "رؠتھ" ], "week": [ "ہفتہٕ" @@ -79,13 +83,14 @@ "دۄہ" ], "hour": [ - "گٲنٛٹہٕ" + "hr", + "گٲنٹہٕ" ], "minute": [ "مِنَٹ" ], "second": [ - "سٮ۪کَنڑ" + "سؠکَنڈ" ], "relative-type": { "0 day ago": [ @@ -98,40 +103,40 @@ "this minute" ], "0 month ago": [ - "this month" + "یٕہ ریتھۍ" ], "0 second ago": [ "now" ], "0 week ago": [ - "this week" + "یٕہ ہفتہ" ], "0 year ago": [ - "this year" + "یٕہ ؤری" ], "1 day ago": [ "راتھ" ], "1 month ago": [ - "last month" + "پٔتِم ریتھۍ" ], "1 week ago": [ - "last week" + "پٔتِم ہفتہ" ], "1 year ago": [ - "last year" + "پٔتِم ؤری" ], "in 1 day": [ "پگاہ" ], "in 1 month": [ - "next month" + "نو ریتھۍ" ], "in 1 week": [ - "next week" + "نو ہفتہ" ], "in 1 year": [ - "next year" + "نو ؤری" ] }, "locale_specific": {} diff --git a/dateparser_data/cldr_language_data/date_translation_data/ksb.json b/dateparser_data/cldr_language_data/date_translation_data/ksb.json index 463811890..8bf838594 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ksb.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ksb.json @@ -95,6 +95,7 @@ "siku" ], "hour": [ + "hr", "saa" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/ksf.json b/dateparser_data/cldr_language_data/date_translation_data/ksf.json index 21eec6922..d07c4c33a 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ksf.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ksf.json @@ -96,7 +96,8 @@ "ŋwós" ], "hour": [ - "cámɛɛn" + "cámɛɛn", + "hr" ], "minute": [ "mǝnít" diff --git a/dateparser_data/cldr_language_data/date_translation_data/ksh.json b/dateparser_data/cldr_language_data/date_translation_data/ksh.json index ad9d7c509..18bc30aba 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ksh.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ksh.json @@ -105,6 +105,7 @@ "hour": [ "s", "schtund", + "schtunde", "std" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/ku.json b/dateparser_data/cldr_language_data/date_translation_data/ku.json new file mode 100644 index 000000000..ed3d76a94 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/ku.json @@ -0,0 +1,183 @@ +{ + "name": "ku", + "date_order": "DMY", + "january": [ + "rbn", + "rêbendan" + ], + "february": [ + "sbt", + "sibat" + ], + "march": [ + "adar", + "adr" + ], + "april": [ + "nsn", + "nîsan" + ], + "may": [ + "gln", + "gulan" + ], + "june": [ + "hezîran", + "hzr" + ], + "july": [ + "trm", + "tîrmeh" + ], + "august": [ + "tbx", + "tebax" + ], + "september": [ + "îln", + "îlon" + ], + "october": [ + "cot", + "cotmeh" + ], + "november": [ + "mijdar", + "mjd" + ], + "december": [ + "berfanbar", + "brf" + ], + "monday": [ + "duşem", + "dşm" + ], + "tuesday": [ + "sêşem", + "sşm" + ], + "wednesday": [ + "çarşem", + "çşm" + ], + "thursday": [ + "pêncşem", + "pşm" + ], + "friday": [ + "înî" + ], + "saturday": [ + "şem", + "şemî" + ], + "sunday": [ + "yekşem", + "yşm" + ], + "am": [ + "bn" + ], + "pm": [ + "pn" + ], + "year": [ + "sal" + ], + "month": [ + "meh" + ], + "week": [ + "hefte", + "hf" + ], + "day": [ + "roj" + ], + "hour": [ + "sa", + "saet" + ], + "minute": [ + "deqîqe", + "dq" + ], + "second": [ + "saniye", + "sn" + ], + "relative-type": { + "0 day ago": [ + "îro" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "vê deqeyê" + ], + "0 month ago": [ + "vê mehê" + ], + "0 second ago": [ + "vêga" + ], + "0 week ago": [ + "vê hefteyê", + "vê hft" + ], + "0 year ago": [ + "îsal" + ], + "1 day ago": [ + "duh" + ], + "1 month ago": [ + "meha borî" + ], + "1 week ago": [ + "hefteya borî", + "hft borî" + ], + "1 year ago": [ + "sala borî" + ], + "in 1 day": [ + "sibê" + ], + "in 1 month": [ + "meha bê" + ], + "in 1 week": [ + "hefteya bê", + "hft bê" + ], + "in 1 year": [ + "sala bê" + ] + }, + "relative-type-regex": { + "\\1 minute ago": [ + "berî {0} d", + "berî {0} deqeyan", + "berî {0} deqeyê", + "berî {0} dq" + ], + "\\1 year ago": [ + "berî {0} salan", + "berî {0} salê" + ], + "in \\1 minute": [ + "di {0} deqeyan de", + "di {0} deqeyê de", + "di {0} dq de", + "di {0}dq de" + ], + "in \\1 year": [ + "di {0} salan de", + "piştî {0} salan" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/kw.json b/dateparser_data/cldr_language_data/date_translation_data/kw.json index 2c2038b1c..e671e8738 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/kw.json +++ b/dateparser_data/cldr_language_data/date_translation_data/kw.json @@ -96,7 +96,8 @@ "day" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser_data/cldr_language_data/date_translation_data/kxv-Deva.json b/dateparser_data/cldr_language_data/date_translation_data/kxv-Deva.json new file mode 100644 index 000000000..d95823159 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/kxv-Deva.json @@ -0,0 +1,139 @@ +{ + "name": "kxv-Deva", + "date_order": "YMD", + "january": [ + "पुसु लेञ्जु" + ], + "february": [ + "माहाका लेञ्जु" + ], + "march": [ + "पागुणी लेञ्जु" + ], + "april": [ + "हिरे लेञ्जु" + ], + "may": [ + "बेसे लेञ्जु" + ], + "june": [ + "जाटा लेञ्जु" + ], + "july": [ + "आसाड़ी लेञ्जु" + ], + "august": [ + "स्राबाँ लेञ्जु" + ], + "september": [ + "बोदो लेञ्जु" + ], + "october": [ + "दसारा लेञ्जु" + ], + "november": [ + "दिवी लेञ्जु" + ], + "december": [ + "पान्डे लेञ्जु" + ], + "monday": [ + "साॅम्वारा" + ], + "tuesday": [ + "मंगाड़ा" + ], + "wednesday": [ + "पुद्दारा" + ], + "thursday": [ + "लाक्कि वारा" + ], + "friday": [ + "सुकुरु वारा" + ], + "saturday": [ + "सान्नि वारा" + ], + "sunday": [ + "आदि वारा" + ], + "am": [ + "am", + "ए एम" + ], + "pm": [ + "pm", + "पी एम" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/kxv-Latn.json b/dateparser_data/cldr_language_data/date_translation_data/kxv-Latn.json new file mode 100644 index 000000000..d34fbc270 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/kxv-Latn.json @@ -0,0 +1,162 @@ +{ + "name": "kxv-Latn", + "date_order": "DMY", + "january": [ + "pusu", + "pusu lenju" + ], + "february": [ + "maha", + "maha lenju" + ], + "march": [ + "pagu", + "pagu lenju" + ], + "april": [ + "hire", + "hire lenju" + ], + "may": [ + "bese", + "bese lenju" + ], + "june": [ + "jaṭṭa", + "jaṭṭa lenju" + ], + "july": [ + "aasaḍi", + "aasaḍi lenju" + ], + "august": [ + "srabĩ", + "srabĩ lenju" + ], + "september": [ + "bado", + "bado lenju" + ], + "october": [ + "dasara", + "dasara lenju" + ], + "november": [ + "divi", + "divi lenju" + ], + "december": [ + "pande", + "pande lenju" + ], + "monday": [ + "smba", + "smbara" + ], + "tuesday": [ + "manga", + "mangaḍa" + ], + "wednesday": [ + "puda", + "pudara" + ], + "thursday": [ + "laki", + "laki vara" + ], + "friday": [ + "sukru", + "sukru vara" + ], + "saturday": [ + "sani", + "sani vara" + ], + "sunday": [ + "aadi", + "aadi vara" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "ba", + "barsa" + ], + "month": [ + "le", + "lenju" + ], + "week": [ + "va", + "vara" + ], + "day": [ + "dina" + ], + "hour": [ + "be", + "belā", + "hr" + ], + "minute": [ + "min", + "miniṭ" + ], + "second": [ + "sek", + "sekenḍ" + ], + "relative-type": { + "0 day ago": [ + "inju" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "raaala" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "vie" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/kxv-Orya.json b/dateparser_data/cldr_language_data/date_translation_data/kxv-Orya.json new file mode 100644 index 000000000..6a7ea7483 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/kxv-Orya.json @@ -0,0 +1,139 @@ +{ + "name": "kxv-Orya", + "date_order": "YMD", + "january": [ + "ପୁସୁ ଲେଞ୍ଜୁ" + ], + "february": [ + "ମାହାକା ଲେଞ୍ଜୁ" + ], + "march": [ + "ପାଗୁଣି ଲେଞ୍ଜୁ" + ], + "april": [ + "ହିରେ ଲେଞ୍ଜୁ" + ], + "may": [ + "ବେସେ ଲେଞ୍ଜୁ" + ], + "june": [ + "ଜାଟା ଲେଞ୍ଜୁ" + ], + "july": [ + "ଆସାଡ଼ି ଲେଞ୍ଜୁ" + ], + "august": [ + "ସ୍ରାବାଁ ଲେଞ୍ଜୁ" + ], + "september": [ + "ବଦ ଲେଞ୍ଜୁ" + ], + "october": [ + "ଦାସାରା ଲେଞ୍ଜୁ" + ], + "november": [ + "ଦିୱିଡ଼ି ଲେଞ୍ଜୁ" + ], + "december": [ + "ପାଣ୍ଡେ ଲେଞ୍ଜୁ" + ], + "monday": [ + "ସମ୍ବାରା" + ], + "tuesday": [ + "ମାଙ୍ଗାଡ଼ା" + ], + "wednesday": [ + "ପୁଦାରା" + ], + "thursday": [ + "ଲାକି ୱାରା" + ], + "friday": [ + "ସୁକ୍ରୁ ୱାରା" + ], + "saturday": [ + "ସାନି ୱାରା" + ], + "sunday": [ + "ଆଦି ୱାରା" + ], + "am": [ + "am", + "ଏ ଏମ" + ], + "pm": [ + "pm", + "ପି ଏମ" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/kxv-Telu.json b/dateparser_data/cldr_language_data/date_translation_data/kxv-Telu.json new file mode 100644 index 000000000..b6699f4b2 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/kxv-Telu.json @@ -0,0 +1,139 @@ +{ + "name": "kxv-Telu", + "date_order": "YMD", + "january": [ + "మాగ" + ], + "february": [ + "గుండు" + ], + "march": [ + "హిరెఇ" + ], + "april": [ + "బెసెకి" + ], + "may": [ + "లండి" + ], + "june": [ + "రాత" + ], + "july": [ + "బాన్దపాణా" + ], + "august": [ + "బార్సి" + ], + "september": [ + "అస్ర" + ], + "october": [ + "దివెడి" + ], + "november": [ + "పాండు" + ], + "december": [ + "పుసు" + ], + "monday": [ + "నమారా" + ], + "tuesday": [ + "మాంగాడా" + ], + "wednesday": [ + "వుదారా" + ], + "thursday": [ + "లాకివరా" + ], + "friday": [ + "నుక్ వరా" + ], + "saturday": [ + "సానివరా" + ], + "sunday": [ + "వారమి" + ], + "am": [ + "am", + "ఎ ఎమ్" + ], + "pm": [ + "pm", + "పి ఎమ్" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/kxv.json b/dateparser_data/cldr_language_data/date_translation_data/kxv.json new file mode 100644 index 000000000..7b035b653 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/kxv.json @@ -0,0 +1,162 @@ +{ + "name": "kxv", + "date_order": "DMY", + "january": [ + "pusu", + "pusu lenju" + ], + "february": [ + "maha", + "maha lenju" + ], + "march": [ + "pagu", + "pagu lenju" + ], + "april": [ + "hire", + "hire lenju" + ], + "may": [ + "bese", + "bese lenju" + ], + "june": [ + "jaṭṭa", + "jaṭṭa lenju" + ], + "july": [ + "aasaḍi", + "aasaḍi lenju" + ], + "august": [ + "srabĩ", + "srabĩ lenju" + ], + "september": [ + "bado", + "bado lenju" + ], + "october": [ + "dasara", + "dasara lenju" + ], + "november": [ + "divi", + "divi lenju" + ], + "december": [ + "pande", + "pande lenju" + ], + "monday": [ + "smba", + "smbara" + ], + "tuesday": [ + "manga", + "mangaḍa" + ], + "wednesday": [ + "puda", + "pudara" + ], + "thursday": [ + "laki", + "laki vara" + ], + "friday": [ + "sukru", + "sukru vara" + ], + "saturday": [ + "sani", + "sani vara" + ], + "sunday": [ + "aadi", + "aadi vara" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "ba", + "barsa" + ], + "month": [ + "le", + "lenju" + ], + "week": [ + "va", + "vara" + ], + "day": [ + "dina" + ], + "hour": [ + "be", + "belā", + "hr" + ], + "minute": [ + "min", + "miniṭ" + ], + "second": [ + "sek", + "sekenḍ" + ], + "relative-type": { + "0 day ago": [ + "inju" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "raaala" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "vie" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ky.json b/dateparser_data/cldr_language_data/date_translation_data/ky.json index b74d3287c..b8df5edb6 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ky.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ky.json @@ -147,7 +147,7 @@ "былтыр" ], "in 1 day": [ - "эртеӊ" + "эртең" ], "in 1 month": [ "эмдиги айда" diff --git a/dateparser_data/cldr_language_data/date_translation_data/la.json b/dateparser_data/cldr_language_data/date_translation_data/la.json new file mode 100644 index 000000000..d0a6f8576 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/la.json @@ -0,0 +1,101 @@ +{ + "name": "la", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "hac minuta" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/lag.json b/dateparser_data/cldr_language_data/date_translation_data/lag.json index 3cfeddc6c..f6bb5e81c 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/lag.json +++ b/dateparser_data/cldr_language_data/date_translation_data/lag.json @@ -96,6 +96,7 @@ "sikʉ" ], "hour": [ + "hr", "sáa" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/lb.json b/dateparser_data/cldr_language_data/date_translation_data/lb.json index c8385fc12..d3798c988 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/lb.json +++ b/dateparser_data/cldr_language_data/date_translation_data/lb.json @@ -100,7 +100,8 @@ ], "hour": [ "st", - "stonn" + "stonn", + "stonnen" ], "minute": [ "min", diff --git a/dateparser_data/cldr_language_data/date_translation_data/lg.json b/dateparser_data/cldr_language_data/date_translation_data/lg.json index 3ee5fc230..df2c022b3 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/lg.json +++ b/dateparser_data/cldr_language_data/date_translation_data/lg.json @@ -96,6 +96,7 @@ "lunaku" ], "hour": [ + "hr", "saawa" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/lij.json b/dateparser_data/cldr_language_data/date_translation_data/lij.json new file mode 100644 index 000000000..6daf19a58 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/lij.json @@ -0,0 +1,137 @@ +{ + "name": "lij", + "date_order": "YMD", + "january": [ + "de zenâ" + ], + "february": [ + "de frevâ" + ], + "march": [ + "de marso" + ], + "april": [ + "d'arvî" + ], + "may": [ + "de mazzo" + ], + "june": [ + "de zugno" + ], + "july": [ + "de luggio" + ], + "august": [ + "d'agosto" + ], + "september": [ + "de settembre" + ], + "october": [ + "d'ottobre" + ], + "november": [ + "de novembre" + ], + "december": [ + "de dexembre" + ], + "monday": [ + "lunesdì" + ], + "tuesday": [ + "mätesdì" + ], + "wednesday": [ + "mäcordì" + ], + "thursday": [ + "zeuggia" + ], + "friday": [ + "venardì" + ], + "saturday": [ + "sabbo" + ], + "sunday": [ + "domenega" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/lkt.json b/dateparser_data/cldr_language_data/date_translation_data/lkt.json index 74707657c..e70d94c86 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/lkt.json +++ b/dateparser_data/cldr_language_data/date_translation_data/lkt.json @@ -1,6 +1,6 @@ { "name": "lkt", - "date_order": "YMD", + "date_order": "MDY", "january": [ "wiótheȟika wí" ], @@ -77,6 +77,7 @@ "aŋpétu" ], "hour": [ + "hr", "owápȟe" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/lmo.json b/dateparser_data/cldr_language_data/date_translation_data/lmo.json new file mode 100644 index 000000000..9a7ea14cf --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/lmo.json @@ -0,0 +1,139 @@ +{ + "name": "lmo", + "date_order": "YMD", + "january": [ + "sginer" + ], + "february": [ + "fevrer" + ], + "march": [ + "marz" + ], + "april": [ + "avril" + ], + "may": [ + "masg" + ], + "june": [ + "sgiugn" + ], + "july": [ + "luj" + ], + "august": [ + "avost" + ], + "september": [ + "setember" + ], + "october": [ + "otover" + ], + "november": [ + "november" + ], + "december": [ + "dicember" + ], + "monday": [ + "lundì" + ], + "tuesday": [ + "mardì" + ], + "wednesday": [ + "mercoldì" + ], + "thursday": [ + "sgiovedì" + ], + "friday": [ + "venerdì" + ], + "saturday": [ + "sabet" + ], + "sunday": [ + "domenega" + ], + "am": [ + "am", + "del matin" + ], + "pm": [ + "de sira", + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ln.json b/dateparser_data/cldr_language_data/date_translation_data/ln.json index 7e6321da6..66bd8665e 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ln.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ln.json @@ -96,6 +96,7 @@ "mokɔlɔ" ], "hour": [ + "hr", "ngonga" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/lo.json b/dateparser_data/cldr_language_data/date_translation_data/lo.json index 113c3931a..bb2e285cb 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/lo.json +++ b/dateparser_data/cldr_language_data/date_translation_data/lo.json @@ -191,8 +191,8 @@ "ໃນອີກ {0} ຊົ່ວໂມງ" ], "in \\1 minute": [ - "{0} ໃນອີກ 0 ນາທີ", - "ໃນ {0} ນທ" + "ໃນ {0} ນທ", + "ໃນອີກ {0} ນາທີ" ], "in \\1 month": [ "ໃນອີກ {0} ດ", diff --git a/dateparser_data/cldr_language_data/date_translation_data/lrc.json b/dateparser_data/cldr_language_data/date_translation_data/lrc.json index 2c20cf10e..ad8346d7d 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/lrc.json +++ b/dateparser_data/cldr_language_data/date_translation_data/lrc.json @@ -77,6 +77,7 @@ "روٙز" ], "hour": [ + "hr", "ساأت" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/lt.json b/dateparser_data/cldr_language_data/date_translation_data/lt.json index 8981948c7..9b397dba9 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/lt.json +++ b/dateparser_data/cldr_language_data/date_translation_data/lt.json @@ -114,7 +114,8 @@ "hour": [ "h", "val", - "valanda" + "valanda", + "valandos" ], "minute": [ "min", diff --git a/dateparser_data/cldr_language_data/date_translation_data/lu.json b/dateparser_data/cldr_language_data/date_translation_data/lu.json index 88c33d7e4..8705a76b7 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/lu.json +++ b/dateparser_data/cldr_language_data/date_translation_data/lu.json @@ -96,7 +96,8 @@ "dituku" ], "hour": [ - "diba" + "diba", + "hr" ], "minute": [ "kasunsu" diff --git a/dateparser_data/cldr_language_data/date_translation_data/luo.json b/dateparser_data/cldr_language_data/date_translation_data/luo.json index 6834a4af1..3f051df39 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/luo.json +++ b/dateparser_data/cldr_language_data/date_translation_data/luo.json @@ -96,6 +96,7 @@ "chieng'" ], "hour": [ + "hr", "saa" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/luy.json b/dateparser_data/cldr_language_data/date_translation_data/luy.json index dddfb7506..00bfce102 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/luy.json +++ b/dateparser_data/cldr_language_data/date_translation_data/luy.json @@ -95,6 +95,7 @@ "ridiku" ], "hour": [ + "hr", "isaa" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/lv.json b/dateparser_data/cldr_language_data/date_translation_data/lv.json index f768fb4fb..7e038300f 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/lv.json +++ b/dateparser_data/cldr_language_data/date_translation_data/lv.json @@ -127,39 +127,48 @@ "šajā minūtē" ], "0 month ago": [ + "šajā mēn", "šajā mēnesī" ], "0 second ago": [ "tagad" ], "0 week ago": [ + "šajā ned", "šajā nedēļā" ], "0 year ago": [ + "šajā g", "šajā gadā" ], "1 day ago": [ "vakar" ], "1 month ago": [ + "pag mēn", "pagājušajā mēnesī" ], "1 week ago": [ + "pag ned", "pagājušajā nedēļā" ], "1 year ago": [ + "pag gadā", "pagājušajā gadā" ], "in 1 day": [ "rīt" ], "in 1 month": [ + "nāk mēn", "nākamajā mēnesī" ], "in 1 week": [ + "nāk ned", "nākamajā nedēļā" ], "in 1 year": [ + "nāk gadā", "nākamajā gadā" ] }, diff --git a/dateparser_data/cldr_language_data/date_translation_data/mai.json b/dateparser_data/cldr_language_data/date_translation_data/mai.json new file mode 100644 index 000000000..7dcea68a6 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/mai.json @@ -0,0 +1,208 @@ +{ + "name": "mai", + "date_order": "DMY", + "january": [ + "जनवरी", + "जन॰" + ], + "february": [ + "फरवरी", + "फर॰", + "फ़र॰" + ], + "march": [ + "मार्च" + ], + "april": [ + "अप्रैल" + ], + "may": [ + "मई" + ], + "june": [ + "जून" + ], + "july": [ + "जुलाई", + "जुल॰" + ], + "august": [ + "अगस्त", + "अग॰" + ], + "september": [ + "सितंबर", + "सित॰" + ], + "october": [ + "अक्टूबर", + "अक्तूबर", + "अक्तू॰" + ], + "november": [ + "नवंबर", + "नव॰" + ], + "december": [ + "दिसंबर", + "दिस॰" + ], + "monday": [ + "सोम", + "सोम दिन" + ], + "tuesday": [ + "मंगल", + "मंगल दिन" + ], + "wednesday": [ + "बुध", + "बुध दिन" + ], + "thursday": [ + "गुरु", + "बृहस्पति दिन" + ], + "friday": [ + "शुक्र", + "शुक्र दिन" + ], + "saturday": [ + "शनि", + "शनि दिन" + ], + "sunday": [ + "रवि", + "रवि दिन" + ], + "am": [ + "पूर्वाह्न", + "भोर" + ], + "pm": [ + "अपराह्न", + "सांझ" + ], + "year": [ + "वर्ष" + ], + "month": [ + "महीना", + "मास" + ], + "week": [ + "सप्ताह" + ], + "day": [ + "दिन" + ], + "hour": [ + "hr", + "घंटा" + ], + "minute": [ + "मिनट" + ], + "second": [ + "सेकंड" + ], + "relative-type": { + "0 day ago": [ + "आजुक दिन" + ], + "0 hour ago": [ + "एहि घंटा" + ], + "0 minute ago": [ + "एहि मिनट" + ], + "0 month ago": [ + "एहि माह" + ], + "0 second ago": [ + "एहि समय" + ], + "0 week ago": [ + "एहि सप्ताह" + ], + "0 year ago": [ + "एहि बरख" + ], + "1 day ago": [ + "काल्हिक दिन", + "बीतल काल्हि" + ], + "1 month ago": [ + "बीतल माह" + ], + "1 week ago": [ + "बीतल सप्ताह" + ], + "1 year ago": [ + "बीतल बरख" + ], + "in 1 day": [ + "आबय वला काल्हि", + "काल्हिक दिन" + ], + "in 1 month": [ + "अगिला माह" + ], + "in 1 week": [ + "अगिला सप्ताह" + ], + "in 1 year": [ + "अगिला बरख" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} दिन मे", + "{0}दिन पहिले" + ], + "\\1 hour ago": [ + "{0} घंटा पहिले" + ], + "\\1 minute ago": [ + "{0} मिनट पहिले" + ], + "\\1 month ago": [ + "{0} माह पहिले", + "{0}माह पहिले" + ], + "\\1 second ago": [ + "{0} सेकेंड पहिले" + ], + "\\1 week ago": [ + "{0} सप्ताह पहिले" + ], + "\\1 year ago": [ + "{0} बरख पहिले", + "{0}बरख पहिले" + ], + "in \\1 day": [ + "{0} दिन मे" + ], + "in \\1 hour": [ + "{0} घंटा मे" + ], + "in \\1 minute": [ + "{0} मिनट मे" + ], + "in \\1 month": [ + "{0} माह मे", + "{0}माह मे" + ], + "in \\1 second": [ + "{0} सेकेंड मे" + ], + "in \\1 week": [ + "{0} सप्ताह मे" + ], + "in \\1 year": [ + "{0} बरख मे", + "{0}बरख मे" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/mas.json b/dateparser_data/cldr_language_data/date_translation_data/mas.json index 38ac9cda8..a795bd07d 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/mas.json +++ b/dateparser_data/cldr_language_data/date_translation_data/mas.json @@ -96,6 +96,7 @@ "ɛnkɔlɔ́ŋ" ], "hour": [ + "hr", "ɛ́sáâ" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/mdf.json b/dateparser_data/cldr_language_data/date_translation_data/mdf.json new file mode 100644 index 000000000..b21a38200 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/mdf.json @@ -0,0 +1,101 @@ +{ + "name": "mdf", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/mer.json b/dateparser_data/cldr_language_data/date_translation_data/mer.json index 52158fb38..65e0e5602 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/mer.json +++ b/dateparser_data/cldr_language_data/date_translation_data/mer.json @@ -95,6 +95,7 @@ "ntukũ" ], "hour": [ + "hr", "ĩthaa" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/mfe.json b/dateparser_data/cldr_language_data/date_translation_data/mfe.json index d77abaf84..a3bcc1b3c 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/mfe.json +++ b/dateparser_data/cldr_language_data/date_translation_data/mfe.json @@ -93,6 +93,7 @@ "zour" ], "hour": [ + "hr", "ler" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/mg.json b/dateparser_data/cldr_language_data/date_translation_data/mg.json index 36d8a84a3..20857e892 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/mg.json +++ b/dateparser_data/cldr_language_data/date_translation_data/mg.json @@ -95,6 +95,7 @@ "andro" ], "hour": [ + "hr", "ora" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/mgh.json b/dateparser_data/cldr_language_data/date_translation_data/mgh.json index 4dd179be5..8ef7c5167 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/mgh.json +++ b/dateparser_data/cldr_language_data/date_translation_data/mgh.json @@ -96,6 +96,7 @@ "nihuku" ], "hour": [ + "hr", "isaa" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/mgo.json b/dateparser_data/cldr_language_data/date_translation_data/mgo.json index a13337522..b3c32da77 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/mgo.json +++ b/dateparser_data/cldr_language_data/date_translation_data/mgo.json @@ -78,7 +78,8 @@ "anəg" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser_data/cldr_language_data/date_translation_data/mi.json b/dateparser_data/cldr_language_data/date_translation_data/mi.json new file mode 100644 index 000000000..ea47dea0b --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/mi.json @@ -0,0 +1,177 @@ +{ + "name": "mi", + "date_order": "DMY", + "january": [ + "hān", + "hānuere" + ], + "february": [ + "pēp", + "pēpuere" + ], + "march": [ + "māe", + "māehe" + ], + "april": [ + "āpe", + "āpereira", + "āperira" + ], + "may": [ + "mei" + ], + "june": [ + "hun", + "hune" + ], + "july": [ + "hūr", + "hūrae" + ], + "august": [ + "āku", + "ākuhata" + ], + "september": [ + "hep", + "hepetema" + ], + "october": [ + "oke", + "oketopa" + ], + "november": [ + "noe", + "noema" + ], + "december": [ + "tīh", + "tīhema" + ], + "monday": [ + "man", + "mane" + ], + "tuesday": [ + "tūr", + "tūrei" + ], + "wednesday": [ + "wen", + "wenerei" + ], + "thursday": [ + "tāi", + "tāite" + ], + "friday": [ + "par", + "paraire" + ], + "saturday": [ + "rāh", + "rāhoroi" + ], + "sunday": [ + "rāt", + "rātapu" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "t", + "tau" + ], + "month": [ + "m", + "marama" + ], + "week": [ + "w", + "wiki" + ], + "day": [ + "rā" + ], + "hour": [ + "haora", + "hr", + "hāora" + ], + "minute": [ + "men", + "meneti" + ], + "second": [ + "hēk", + "hēkona" + ], + "relative-type": { + "0 day ago": [ + "i tēnei rā" + ], + "0 hour ago": [ + "i tēnei haora" + ], + "0 minute ago": [ + "i tēnei meneti" + ], + "0 month ago": [ + "i tēnei m", + "i tēnei marama" + ], + "0 second ago": [ + "ināianei" + ], + "0 week ago": [ + "i tēnei w", + "i tēnei wiki" + ], + "0 year ago": [ + "i tēnei tau" + ], + "1 day ago": [ + "inanahi" + ], + "1 month ago": [ + "i tērā m", + "i tērā marama" + ], + "1 week ago": [ + "i tērā w", + "i tērā wiki" + ], + "1 year ago": [ + "i tērā tau" + ], + "in 1 day": [ + "āpōpō" + ], + "in 1 month": [ + "ā tērā m", + "ā tērā marama" + ], + "in 1 week": [ + "ā tērā w", + "ā tērā wiki" + ], + "in 1 year": [ + "ā tērā tau" + ] + }, + "relative-type-regex": { + "\\1 year ago": [ + "i te {0} tau", + "i te {0} tau i mua" + ], + "in \\1 year": [ + "ā te {0} tau" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/mic.json b/dateparser_data/cldr_language_data/date_translation_data/mic.json new file mode 100644 index 000000000..7c1fe05a3 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/mic.json @@ -0,0 +1,101 @@ +{ + "name": "mic", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/mk.json b/dateparser_data/cldr_language_data/date_translation_data/mk.json index ecabcd0c0..2c36202c4 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/mk.json +++ b/dateparser_data/cldr_language_data/date_translation_data/mk.json @@ -33,7 +33,7 @@ "август" ], "september": [ - "септ", + "сеп", "септември" ], "october": [ @@ -41,7 +41,7 @@ "октомври" ], "november": [ - "ноем", + "ное", "ноември" ], "december": [ @@ -53,7 +53,6 @@ "понеделник" ], "tuesday": [ - "вт", "вто", "вторник" ], @@ -78,12 +77,10 @@ "недела" ], "am": [ - "претпл", - "претпладне" + "претпл" ], "pm": [ - "попл", - "попладне" + "попл" ], "year": [ "год", @@ -94,14 +91,16 @@ "месец" ], "week": [ - "недела", - "сед" + "сед", + "седмица" ], "day": [ "ден" ], "hour": [ - "час" + "ч", + "час", + "часа" ], "minute": [ "мин", @@ -131,6 +130,7 @@ "оваа седмица" ], "0 year ago": [ + "оваа год", "оваа година" ], "1 day ago": [ @@ -143,7 +143,8 @@ "минатата седмица" ], "1 year ago": [ - "минатата година" + "лани", + "минатата год" ], "in 1 day": [ "утре" @@ -155,7 +156,8 @@ "следната седмица" ], "in 1 year": [ - "следната година" + "догодина", + "следната год" ] }, "relative-type-regex": { @@ -168,6 +170,7 @@ "пред {0} часа" ], "\\1 minute ago": [ + "пред {0} мин", "пред {0} минута", "пред {0} минути" ], @@ -176,6 +179,7 @@ "пред {0} месеци" ], "\\1 second ago": [ + "пред {0} сек", "пред {0} секунда", "пред {0} секунди" ], @@ -184,6 +188,7 @@ "пред {0} седмици" ], "\\1 year ago": [ + "пред {0} год", "пред {0} година", "пред {0} години" ], @@ -196,6 +201,7 @@ "за {0} часа" ], "in \\1 minute": [ + "за {0} мин", "за {0} минута", "за {0} минути" ], @@ -204,6 +210,7 @@ "за {0} месеци" ], "in \\1 second": [ + "за {0} сек", "за {0} секунда", "за {0} секунди" ], @@ -212,6 +219,7 @@ "за {0} седмици" ], "in \\1 year": [ + "за {0} год", "за {0} година", "за {0} години" ] diff --git a/dateparser_data/cldr_language_data/date_translation_data/mn-Mong.json b/dateparser_data/cldr_language_data/date_translation_data/mn-Mong.json new file mode 100644 index 000000000..bfb3c0764 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/mn-Mong.json @@ -0,0 +1,229 @@ +{ + "name": "mn-Mong", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "mn-Mong-MN": { + "name": "mn-Mong-MN", + "january": [ + "1 ᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠨᠢᠭᠡᠳᠥᠭᠡᠷ ᠰᠠᠷ᠎ᠠ" + ], + "february": [ + "2 ᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠬᠣᠶᠠᠳᠣᠭᠠᠷ ᠰᠠᠷ ᠠ" + ], + "march": [ + "3᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠭᠣᠷᠪᠡᠳᠣᠭᠠᠷ ᠰᠠᠷ ᠠ" + ], + "april": [ + "4 ᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠳᠥᠷᠪᠡᠳᠥᠭᠡᠷ ᠰᠠᠷ᠎ᠠ" + ], + "may": [ + "5 ᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠲᠠᠪᠣᠳᠣᠭᠠᠷ ᠰᠠᠷ ᠠ" + ], + "june": [ + "6 ᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠵᠢᠷᠭᠣᠭᠠᠳᠣᠭᠠᠷ ᠰᠠᠷ᠎ᠠ" + ], + "july": [ + "7 ᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠲᠣᠯᠣᠭᠠᠳᠣᠭᠠᠷ ᠰᠠᠷ᠎ᠠ" + ], + "august": [ + "8 ᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "8᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠨᠠᠢᠮᠠᠳᠥᠭᠠᠷ ᠰᠠᠷ᠎ᠠ" + ], + "september": [ + "9 ᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠶᠢᠰᠥᠳᠥᠭᠡᠷ ᠰᠠᠷ᠎ᠠ" + ], + "october": [ + "10 ᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠠᠷᠪᠠᠳᠣᠭᠠᠷ ᠰᠠᠷ᠎ᠠ" + ], + "november": [ + "11 ᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "11᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠥᠭᠡᠷ ᠰᠠᠷ᠎ᠠ" + ], + "december": [ + "12 ᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "12᠊ᠷ ᠰᠠᠷ᠎ᠠ", + "ᠠᠷᠪᠠᠨ ᠬᠣᠶᠠᠳᠣᠭᠠᠷ ᠰᠠᠷ᠎ᠠ" + ], + "monday": [ + "ᠲᠠ", + "ᠳᠠ", + "ᠳᠠᠸᠠ" + ], + "tuesday": [ + "ᠮᠢᠠᠠᠮᠠᠷ", + "ᠮᠢᠭ" + ], + "wednesday": [ + "ᡀᠠ", + "ᡀᠠᠭᠪᠠ" + ], + "thursday": [ + "ᠫᠥᠷ", + "ᠫᠦᠷ", + "ᠫᠦᠷᠪᠦ" + ], + "friday": [ + "ᠪᠠ", + "ᠪᠠᠰᠠᠩ" + ], + "saturday": [ + "ᠪᠢᠮ", + "ᠪᠢᠮᠪᠠ" + ], + "sunday": [ + "ᠨᠢ", + "ᠨᠢᠮ᠎ᠠ" + ], + "am": [ + "ᠦ᠂ ᠥ" + ], + "pm": [ + "ᠦ᠂ ᠬᠣ" + ], + "year": [ + "ᠵᠢᠯ" + ], + "month": [ + "ᠰᠠᠷ ᠠ", + "ᠰᠡᠷ ᠠ" + ], + "week": [ + "7 ᠬᠣᠨᠣᠭ", + "ᠳᠣᠯᠣᠭ᠎ᠠ ᠬᠣᠨᠣᠭ" + ], + "day": [ + "ᠡᠳᠥᠷ" + ], + "hour": [ + "ᠴ", + "ᠴᠠᠭ" + ], + "minute": [ + "ᠮᠢᠨ", + "ᠮᠢᠨᠥ᠋ᠲ᠋ᠠ" + ], + "second": [ + "ᠰᠧᠻ", + "ᠰᠸᠻᠥ᠋ᠨ᠋ᠳᠡ" + ], + "relative-type": { + "0 day ago": [ + "ᠥᠨᠥᠳᠥᠷ" + ], + "1 day ago": [ + "ᠥᠴᠥᠬᠡᠳᠥᠷ" + ], + "in 1 day": [ + "ᠮᠠᠷᠭᠠᠰᠢ" + ] + } + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/mn.json b/dateparser_data/cldr_language_data/date_translation_data/mn.json index 1ec4c969e..a1a89dfe1 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/mn.json +++ b/dateparser_data/cldr_language_data/date_translation_data/mn.json @@ -23,11 +23,11 @@ ], "june": [ "6-р сар", - "зургадугаар сар" + "зургаадугаар сар" ], "july": [ "7-р сар", - "долдугаар сар" + "долоодугаар сар" ], "august": [ "8-р сар", @@ -90,7 +90,7 @@ "сар" ], "week": [ - "7х", + "7 хоног", "долоо хоног" ], "day": [ @@ -125,6 +125,7 @@ "одоо" ], "0 week ago": [ + "энэ 7 хоног", "энэ долоо хоног" ], "0 year ago": [ @@ -137,6 +138,7 @@ "өнгөрсөн сар" ], "1 week ago": [ + "өнгөрсөн 7 хоног", "өнгөрсөн долоо хоног" ], "1 year ago": [ @@ -149,6 +151,7 @@ "ирэх сар" ], "in 1 week": [ + "ирэх 7 хоног", "ирэх долоо хоног" ], "in 1 year": [ @@ -175,14 +178,14 @@ "{0} секундын өмнө" ], "\\1 week ago": [ - "{0} 7х-ийн өмнө" + "{0} 7 хоногийн өмнө", + "{0} долоо хоногийн өмнө" ], "\\1 year ago": [ "{0} жилийн өмнө" ], "in \\1 day": [ - "{0} өдрийн дараа", - "{0} өдөрт" + "{0} өдрийн дараа" ], "in \\1 hour": [ "{0} ц дараа", @@ -200,7 +203,8 @@ "{0} секундын дараа" ], "in \\1 week": [ - "{0} 7х-ийн дараа" + "{0} 7 хоногийн дараа", + "{0} долоо хоногийн дараа" ], "in \\1 year": [ "{0} жилийн дараа" diff --git a/dateparser_data/cldr_language_data/date_translation_data/mni-Beng.json b/dateparser_data/cldr_language_data/date_translation_data/mni-Beng.json new file mode 100644 index 000000000..fcb25da60 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/mni-Beng.json @@ -0,0 +1,154 @@ +{ + "name": "mni-Beng", + "date_order": "DMY", + "january": [ + "জন", + "জনুৱারী", + "জানু", + "জানুৱারি" + ], + "february": [ + "ফেব্রু", + "ফেব্রুৱারি" + ], + "march": [ + "মার", + "মার্চ" + ], + "april": [ + "এপ্রি", + "এপ্রিল" + ], + "may": [ + "মে" + ], + "june": [ + "জুন" + ], + "july": [ + "জুলা", + "জুলাই" + ], + "august": [ + "আগ", + "ওগ", + "ওগষ্ট", + "‌ওগষ্ট" + ], + "september": [ + "সেপ্ট", + "সেপ্টেম্বর" + ], + "october": [ + "ওক্টো", + "ওক্টোবর" + ], + "november": [ + "নবেম্বর", + "নভে", + "নভেম্বর" + ], + "december": [ + "ডিসে", + "ডিসেম্বর" + ], + "monday": [ + "নিংথৌকাবা" + ], + "tuesday": [ + "লৈবাকপোকপা" + ], + "wednesday": [ + "য়ুমশকৈশা" + ], + "thursday": [ + "শগোলশেন" + ], + "friday": [ + "ইরাই" + ], + "saturday": [ + "থাংজ" + ], + "sunday": [ + "নোংমাইজিং" + ], + "am": [ + "এ এম", + "নুমাং" + ], + "pm": [ + "pm", + "পি এম" + ], + "year": [ + "চহী" + ], + "month": [ + "থা" + ], + "week": [ + "চয়োল" + ], + "day": [ + "নুমিৎ" + ], + "hour": [ + "hr", + "পুং" + ], + "minute": [ + "মিনট" + ], + "second": [ + "সেকেণ্ড" + ], + "relative-type": { + "0 day ago": [ + "ঙসি" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "কুমশি" + ], + "1 day ago": [ + "ঙরাং" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "হাকুম/ মমাংগী চহি" + ], + "in 1 day": [ + "হয়েং" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "মথং চহি" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/mni-Mtei.json b/dateparser_data/cldr_language_data/date_translation_data/mni-Mtei.json new file mode 100644 index 000000000..0167f5603 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/mni-Mtei.json @@ -0,0 +1,101 @@ +{ + "name": "mni-Mtei", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/mni.json b/dateparser_data/cldr_language_data/date_translation_data/mni.json new file mode 100644 index 000000000..1553d3a82 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/mni.json @@ -0,0 +1,154 @@ +{ + "name": "mni", + "date_order": "DMY", + "january": [ + "জন", + "জনুৱারী", + "জানু", + "জানুৱারি" + ], + "february": [ + "ফেব্রু", + "ফেব্রুৱারি" + ], + "march": [ + "মার", + "মার্চ" + ], + "april": [ + "এপ্রি", + "এপ্রিল" + ], + "may": [ + "মে" + ], + "june": [ + "জুন" + ], + "july": [ + "জুলা", + "জুলাই" + ], + "august": [ + "আগ", + "ওগ", + "ওগষ্ট", + "‌ওগষ্ট" + ], + "september": [ + "সেপ্ট", + "সেপ্টেম্বর" + ], + "october": [ + "ওক্টো", + "ওক্টোবর" + ], + "november": [ + "নবেম্বর", + "নভে", + "নভেম্বর" + ], + "december": [ + "ডিসে", + "ডিসেম্বর" + ], + "monday": [ + "নিংথৌকাবা" + ], + "tuesday": [ + "লৈবাকপোকপা" + ], + "wednesday": [ + "য়ুমশকৈশা" + ], + "thursday": [ + "শগোলশেন" + ], + "friday": [ + "ইরাই" + ], + "saturday": [ + "থাংজ" + ], + "sunday": [ + "নোংমাইজিং" + ], + "am": [ + "এ এম", + "নুমাং" + ], + "pm": [ + "pm", + "পি এম" + ], + "year": [ + "চহী" + ], + "month": [ + "থা" + ], + "week": [ + "চয়োল" + ], + "day": [ + "নুমিৎ" + ], + "hour": [ + "hr", + "পুং" + ], + "minute": [ + "মিনট" + ], + "second": [ + "সেকেণ্ড" + ], + "relative-type": { + "0 day ago": [ + "ঙসি" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "কুমশি" + ], + "1 day ago": [ + "ঙরাং" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "হাকুম/ মমাংগী চহি" + ], + "in 1 day": [ + "হয়েং" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "মথং চহি" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/moh.json b/dateparser_data/cldr_language_data/date_translation_data/moh.json new file mode 100644 index 000000000..00f3a2244 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/moh.json @@ -0,0 +1,101 @@ +{ + "name": "moh", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/mr.json b/dateparser_data/cldr_language_data/date_translation_data/mr.json index 6b9cba56f..956c6ec8b 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/mr.json +++ b/dateparser_data/cldr_language_data/date_translation_data/mr.json @@ -74,24 +74,28 @@ "रविवार" ], "am": [ - "मपू" + "am" ], "pm": [ - "मउ" + "pm" ], "year": [ "वर्ष" ], "month": [ + "म", "महिना" ], "week": [ + "आठ", "आठवडा" ], "day": [ + "दि", "दिवस" ], "hour": [ + "ता", "तास" ], "minute": [ @@ -182,11 +186,15 @@ ], "in \\1 day": [ "{0} दिवसांमध्ये", - "{0} दिवसामध्ये" + "{0} दिवसामध्ये", + "येत्या {0} दिवसांमध्ये", + "येत्या {0} दिवसामध्ये" ], "in \\1 hour": [ "{0} तासांमध्ये", - "{0} तासामध्ये" + "{0} तासामध्ये", + "येत्या {0} तासांमध्ये", + "येत्या {0} तासामध्ये" ], "in \\1 minute": [ "{0} मिनि मध्ये", @@ -195,20 +203,27 @@ ], "in \\1 month": [ "{0} महिन्यांमध्ये", - "{0} महिन्यामध्ये" + "{0} महिन्यामध्ये", + "येत्या {0} महिन्यांमध्ये", + "येत्या {0} महिन्यामध्ये" ], "in \\1 second": [ "{0} से मध्ये", "{0} सेकंदांमध्ये", - "{0} सेकंदामध्ये" + "{0} सेकंदामध्ये", + "येत्या {0} से मध्ये" ], "in \\1 week": [ "{0} आठवड्यांमध्ये", - "{0} आठवड्यामध्ये" + "{0} आठवड्यामध्ये", + "येत्या {0} आठवड्यांमध्ये", + "येत्या {0} आठवड्यामध्ये" ], "in \\1 year": [ "{0} वर्षांमध्ये", - "{0} वर्षामध्ये" + "{0} वर्षामध्ये", + "येत्या {0} वर्षांमध्ये", + "येत्या {0} वर्षामध्ये" ] }, "locale_specific": {} diff --git a/dateparser_data/cldr_language_data/date_translation_data/ms-Arab.json b/dateparser_data/cldr_language_data/date_translation_data/ms-Arab.json new file mode 100644 index 000000000..1f959b2cc --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/ms-Arab.json @@ -0,0 +1,149 @@ +{ + "name": "ms-Arab", + "date_order": "DMY", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} هاري لالو" + ], + "\\1 hour ago": [ + "{0} جم لالو" + ], + "\\1 minute ago": [ + "{0} مينيت لالو" + ], + "\\1 month ago": [ + "{0} بولن لالو" + ], + "\\1 second ago": [ + "{0} ساعت لالو" + ], + "\\1 week ago": [ + "{0} ميڠݢو لالو" + ], + "\\1 year ago": [ + "{0} تاهون لالو" + ], + "in \\1 day": [ + "دالم {0} هاري" + ], + "in \\1 hour": [ + "دالم {0} جم" + ], + "in \\1 minute": [ + "دالم {0} مينيت" + ], + "in \\1 month": [ + "دالم {0} بولن" + ], + "in \\1 second": [ + "دالم {0} ساعت" + ], + "in \\1 week": [ + "دالم {0} ميڠݢو" + ], + "in \\1 year": [ + "دالم {0} تاهون" + ] + }, + "locale_specific": { + "ms-Arab-BN": { + "name": "ms-Arab-BN" + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ms.json b/dateparser_data/cldr_language_data/date_translation_data/ms.json index 3de154dd6..c7e63b73c 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ms.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ms.json @@ -123,8 +123,8 @@ "sekarang" ], "0 week ago": [ - "minggu ini", - "mng ini" + "mgu ini", + "minggu ini" ], "0 year ago": [ "tahun ini", @@ -139,8 +139,8 @@ "bulan lalu" ], "1 week ago": [ - "minggu lalu", - "mng lepas" + "mgu lepas", + "minggu lalu" ], "1 year ago": [ "tahun lalu", @@ -154,8 +154,8 @@ "bulan depan" ], "in 1 week": [ - "minggu depan", - "mng depan" + "mgu depan", + "minggu depan" ], "in 1 year": [ "tahun depan", @@ -213,7 +213,7 @@ "dlm {0} mgu" ], "in \\1 year": [ - "dalam {0} saat", + "dalam {0} tahun", "dalam {0} thn" ] }, @@ -221,6 +221,9 @@ "ms-BN": { "name": "ms-BN" }, + "ms-ID": { + "name": "ms-ID" + }, "ms-SG": { "name": "ms-SG" } diff --git a/dateparser_data/cldr_language_data/date_translation_data/mt.json b/dateparser_data/cldr_language_data/date_translation_data/mt.json index 2b31830c8..85e5ee439 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/mt.json +++ b/dateparser_data/cldr_language_data/date_translation_data/mt.json @@ -84,24 +84,31 @@ "pm" ], "year": [ - "sena" + "sena", + "sn" ], "month": [ "xahar" ], "week": [ - "ġimgħa" + "ġimgħa", + "ġm" ], "day": [ "jum" ], "hour": [ + "hr", "siegħa" ], "minute": [ + "m", + "min", "minuta" ], "second": [ + "s", + "sek", "sekonda" ], "relative-type": { @@ -109,16 +116,16 @@ "illum" ], "0 hour ago": [ - "this hour" + "din is-siegħa" ], "0 minute ago": [ - "this minute" + "din il-minuta" ], "0 month ago": [ "dan ix-xahar" ], "0 second ago": [ - "now" + "issa" ], "0 week ago": [ "din il-ġimgħa" @@ -127,7 +134,7 @@ "din is-sena" ], "1 day ago": [ - "ilbieraħ" + "lbieraħ" ], "1 month ago": [ "ix-xahar li għadda" @@ -136,7 +143,7 @@ "il-ġimgħa li għaddiet" ], "1 year ago": [ - "is-sena li għaddiet" + "is-sena l-oħra" ], "in 1 day": [ "għada" @@ -152,9 +159,52 @@ ] }, "relative-type-regex": { + "\\1 day ago": [ + "{0} ġurnata ilu" + ], + "\\1 hour ago": [ + "{0} siegħa ilu" + ], + "\\1 minute ago": [ + "{0} min ilu", + "{0} minuta ilu" + ], + "\\1 month ago": [ + "{0} xahar ilu" + ], + "\\1 second ago": [ + "{0} sek ilu", + "{0} sekonda ilu" + ], + "\\1 week ago": [ + "{0} ġimgħa ilu" + ], "\\1 year ago": [ - "{0} sena ilu", - "{0} snin ilu" + "{0} sena ilu" + ], + "in \\1 day": [ + "fi żmien {0} ġurnata oħra" + ], + "in \\1 hour": [ + "fi żmien {0} siegħa" + ], + "in \\1 minute": [ + "sa {0} min oħra", + "sa {0} minuta oħra" + ], + "in \\1 month": [ + "fi {0} xahar oħra", + "sa {0} xahar oħra" + ], + "in \\1 second": [ + "sa {0} sek oħra", + "sa {0} sekonda oħra" + ], + "in \\1 week": [ + "sa {0} ġimgħa oħra" + ], + "in \\1 year": [ + "fi żmien {0} sena oħra" ] }, "locale_specific": {} diff --git a/dateparser_data/cldr_language_data/date_translation_data/mua.json b/dateparser_data/cldr_language_data/date_translation_data/mua.json index cd38efd39..b993730e0 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/mua.json +++ b/dateparser_data/cldr_language_data/date_translation_data/mua.json @@ -96,7 +96,8 @@ "zah'nane/ comme" ], "hour": [ - "cok comme" + "cok comme", + "hr" ], "minute": [ "cok comme ma laŋne" diff --git a/dateparser_data/cldr_language_data/date_translation_data/mus.json b/dateparser_data/cldr_language_data/date_translation_data/mus.json new file mode 100644 index 000000000..8969617ad --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/mus.json @@ -0,0 +1,137 @@ +{ + "name": "mus", + "date_order": "YMD", + "january": [ + "rvfo cuse" + ], + "february": [ + "hotvle hvse" + ], + "march": [ + "tasahcuce" + ], + "april": [ + "tasahce rakko" + ], + "may": [ + "ke hvse" + ], + "june": [ + "kvco hvse" + ], + "july": [ + "hiyuce" + ], + "august": [ + "hiyo rakko" + ], + "september": [ + "otowoskuce" + ], + "october": [ + "otowoskv rakko" + ], + "november": [ + "ehole" + ], + "december": [ + "rvfo rakko" + ], + "monday": [ + "enhvteceskv" + ], + "tuesday": [ + "enhvteceskv enhvyvtke" + ], + "wednesday": [ + "ennvrkvpv" + ], + "thursday": [ + "ennvrkvpv enhvyvtke" + ], + "friday": [ + "nak okkoskv nettv" + ], + "saturday": [ + "nettv cakcuse" + ], + "sunday": [ + "nettv cako" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "ohrolope" + ], + "month": [ + "hvse" + ], + "week": [ + "nettv cako" + ], + "day": [ + "nettv" + ], + "hour": [ + "hr", + "hvses-vkerkv rakko" + ], + "minute": [ + "lvpkuce" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/myv.json b/dateparser_data/cldr_language_data/date_translation_data/myv.json new file mode 100644 index 000000000..95e347fec --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/myv.json @@ -0,0 +1,101 @@ +{ + "name": "myv", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/naq.json b/dateparser_data/cldr_language_data/date_translation_data/naq.json index fb7235fc4..e29213842 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/naq.json +++ b/dateparser_data/cldr_language_data/date_translation_data/naq.json @@ -96,6 +96,7 @@ "tsees" ], "hour": [ + "hr", "iiri" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/nb.json b/dateparser_data/cldr_language_data/date_translation_data/nb.json index 0cc2aeaca..b782c52f4 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/nb.json +++ b/dateparser_data/cldr_language_data/date_translation_data/nb.json @@ -100,7 +100,8 @@ ], "hour": [ "t", - "time" + "time", + "timer" ], "minute": [ "m", @@ -193,8 +194,7 @@ "for {0} uker siden" ], "\\1 year ago": [ - "for {0} år siden", - "–{0} år" + "for {0} år siden" ], "in \\1 day": [ "om {0} d", diff --git a/dateparser_data/cldr_language_data/date_translation_data/nd.json b/dateparser_data/cldr_language_data/date_translation_data/nd.json index 52d196951..02e7bac1b 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/nd.json +++ b/dateparser_data/cldr_language_data/date_translation_data/nd.json @@ -96,6 +96,7 @@ "ilanga" ], "hour": [ + "hr", "ihola" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/ne.json b/dateparser_data/cldr_language_data/date_translation_data/ne.json index 68757c5a8..402c83d69 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ne.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ne.json @@ -14,7 +14,6 @@ "अप्रिल" ], "may": [ - "मई", "मे" ], "june": [ @@ -73,7 +72,6 @@ "अपराह्न" ], "year": [ - "बर्ष", "वर्ष" ], "month": [ @@ -99,7 +97,7 @@ "आज" ], "0 hour ago": [ - "यो घडीमा" + "यस घडीमा" ], "0 minute ago": [ "यही मिनेटमा" @@ -108,7 +106,7 @@ "यो महिना" ], "0 second ago": [ - "अब" + "अहिले" ], "0 week ago": [ "यो हप्ता" @@ -132,13 +130,14 @@ "भोलि" ], "in 1 month": [ - "अर्को महिना" + "अर्को महिना", + "आगामी महिना" ], "in 1 week": [ - "आउने हप्ता" + "आगामी हप्ता" ], "in 1 year": [ - "अर्को वर्ष" + "आगामी वर्ष" ] }, "relative-type-regex": { @@ -155,7 +154,7 @@ "{0} महिना पहिले" ], "\\1 second ago": [ - "{0} सेकेण्ड पहिले" + "{0} सेकेन्ड पहिले" ], "\\1 week ago": [ "{0} हप्ता पहिले" @@ -176,7 +175,7 @@ "{0} महिनामा" ], "in \\1 second": [ - "{0} सेकेण्डमा" + "{0} सेकेन्डमा" ], "in \\1 week": [ "{0} हप्तामा" diff --git a/dateparser_data/cldr_language_data/date_translation_data/nl.json b/dateparser_data/cldr_language_data/date_translation_data/nl.json index effe53b6f..bbfd1b614 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/nl.json +++ b/dateparser_data/cldr_language_data/date_translation_data/nl.json @@ -98,6 +98,7 @@ "dag" ], "hour": [ + "u", "uur" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/nmg.json b/dateparser_data/cldr_language_data/date_translation_data/nmg.json index 47a6b722f..8749959ad 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/nmg.json +++ b/dateparser_data/cldr_language_data/date_translation_data/nmg.json @@ -96,6 +96,7 @@ "duö" ], "hour": [ + "hr", "wulā" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/nn.json b/dateparser_data/cldr_language_data/date_translation_data/nn.json index d0dda1795..e801e0fc3 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/nn.json +++ b/dateparser_data/cldr_language_data/date_translation_data/nn.json @@ -84,32 +84,39 @@ "søndag" ], "am": [ - "fm", - "formiddag" + "fm" ], "pm": [ - "em", - "ettermiddag" + "em" ], "year": [ "år" ], "month": [ + "md", "månad" ], "week": [ + "v", "veke" ], "day": [ + "d", "dag" ], "hour": [ + "t", + "timar", "time" ], "minute": [ + "m", + "min", "minutt" ], "second": [ + "s", + "sek", "sekund" ], "relative-type": { @@ -117,97 +124,114 @@ "i dag" ], "0 hour ago": [ - "this hour" + "denne timen" ], "0 minute ago": [ - "this minute" + "dette minuttet" ], "0 month ago": [ - "this month" + "denne md", + "denne månaden" ], "0 second ago": [ - "now" + "no" ], "0 week ago": [ - "this week" + "denne veka" ], "0 year ago": [ - "this year" + "i år" ], "1 day ago": [ "i går" ], "1 month ago": [ - "last month" + "førre md", + "førre månad" ], "1 week ago": [ - "last week" + "førre veke" ], "1 year ago": [ - "last year" + "i fjor" ], "in 1 day": [ "i morgon" ], "in 1 month": [ - "next month" + "neste md", + "neste månad" ], "in 1 week": [ - "next week" + "neste veke" ], "in 1 year": [ - "next year" + "neste år" ] }, "relative-type-regex": { "\\1 day ago": [ - "for {0} døgn siden" + "for {0} d sidan", + "for {0} døgn sidan", + "–{0} d" ], "\\1 hour ago": [ - "for {0} time siden", - "for {0} timer siden" + "for {0} t sidan", + "for {0} timar sidan", + "for {0} time sidan", + "–{0} t" ], "\\1 minute ago": [ - "for {0} minutt siden", - "for {0} minutter siden" + "for {0} min sidan", + "for {0} minutt sidan", + "–{0} min" ], "\\1 month ago": [ - "for {0} måned siden", - "for {0} måneder siden" + "for {0} md sidan", + "for {0} månad sidan", + "for {0} månadar sidan", + "–{0} md" ], "\\1 second ago": [ - "for {0} sekund siden", - "for {0} sekunder siden" + "for {0} sek sidan", + "for {0} sekund sidan", + "–{0} s" ], "\\1 week ago": [ - "for {0} uke siden", - "for {0} uker siden" + "for {0} v sidan", + "for {0} veke sidan", + "for {0} veker sidan", + "–{0} v" ], "\\1 year ago": [ - "for {0} år siden" + "for {0} år sidan" ], "in \\1 day": [ + "om {0} d", "om {0} døgn" ], "in \\1 hour": [ - "om {0} time", - "om {0} timer" + "om {0} t", + "om {0} timar", + "om {0} time" ], "in \\1 minute": [ - "om {0} minutt", - "om {0} minutter" + "om {0} min", + "om {0} minutt" ], "in \\1 month": [ - "om {0} måned", - "om {0} måneder" + "om {0} md", + "om {0} månad", + "om {0} månadar" ], "in \\1 second": [ - "om {0} sekund", - "om {0} sekunder" + "om {0} sek", + "om {0} sekund" ], "in \\1 week": [ - "om {0} uke", - "om {0} uker" + "om {0} v", + "om {0} veke", + "om {0} veker" ], "in \\1 year": [ "om {0} år" diff --git a/dateparser_data/cldr_language_data/date_translation_data/nnh.json b/dateparser_data/cldr_language_data/date_translation_data/nnh.json index c8d5ff8bf..4383eacde 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/nnh.json +++ b/dateparser_data/cldr_language_data/date_translation_data/nnh.json @@ -77,7 +77,8 @@ "lyɛ̌'" ], "hour": [ - "fʉ̀' nèm" + "fʉ̀' nèm", + "hr" ], "minute": [ "minute" diff --git a/dateparser_data/cldr_language_data/date_translation_data/no.json b/dateparser_data/cldr_language_data/date_translation_data/no.json new file mode 100644 index 000000000..ce8ed0742 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/no.json @@ -0,0 +1,233 @@ +{ + "name": "no", + "date_order": "DMY", + "january": [ + "jan", + "januar" + ], + "february": [ + "feb", + "februar" + ], + "march": [ + "mar", + "mars" + ], + "april": [ + "apr", + "april" + ], + "may": [ + "mai" + ], + "june": [ + "jun", + "juni" + ], + "july": [ + "jul", + "juli" + ], + "august": [ + "aug", + "august" + ], + "september": [ + "sep", + "september" + ], + "october": [ + "okt", + "oktober" + ], + "november": [ + "nov", + "november" + ], + "december": [ + "des", + "desember" + ], + "monday": [ + "man", + "mandag" + ], + "tuesday": [ + "tir", + "tirsdag" + ], + "wednesday": [ + "ons", + "onsdag" + ], + "thursday": [ + "tor", + "torsdag" + ], + "friday": [ + "fre", + "fredag" + ], + "saturday": [ + "lør", + "lørdag" + ], + "sunday": [ + "søn", + "søndag" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "år" + ], + "month": [ + "md", + "mnd", + "måned" + ], + "week": [ + "u", + "uke" + ], + "day": [ + "d", + "dag" + ], + "hour": [ + "t", + "time", + "timer" + ], + "minute": [ + "m", + "min", + "minutt" + ], + "second": [ + "s", + "sek", + "sekund" + ], + "relative-type": { + "0 day ago": [ + "i dag" + ], + "0 hour ago": [ + "denne timen" + ], + "0 minute ago": [ + "dette minuttet" + ], + "0 month ago": [ + "denne md", + "denne måneden" + ], + "0 second ago": [ + "nå" + ], + "0 week ago": [ + "denne uken" + ], + "0 year ago": [ + "i år" + ], + "1 day ago": [ + "i går" + ], + "1 month ago": [ + "forrige md", + "forrige måned" + ], + "1 week ago": [ + "forrige uke" + ], + "1 year ago": [ + "i fjor" + ], + "in 1 day": [ + "i morgen" + ], + "in 1 month": [ + "neste md", + "neste måned" + ], + "in 1 week": [ + "neste uke" + ], + "in 1 year": [ + "neste år" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "for {0} d siden", + "for {0} døgn siden" + ], + "\\1 hour ago": [ + "for {0} t siden", + "for {0} time siden", + "for {0} timer siden" + ], + "\\1 minute ago": [ + "for {0} min siden", + "for {0} minutt siden", + "for {0} minutter siden" + ], + "\\1 month ago": [ + "for {0} md siden", + "for {0} måned siden", + "for {0} måneder siden" + ], + "\\1 second ago": [ + "for {0} sek siden", + "for {0} sekund siden", + "for {0} sekunder siden" + ], + "\\1 week ago": [ + "for {0} u siden", + "for {0} uke siden", + "for {0} uker siden" + ], + "\\1 year ago": [ + "for {0} år siden" + ], + "in \\1 day": [ + "om {0} d", + "om {0} døgn" + ], + "in \\1 hour": [ + "om {0} t", + "om {0} time", + "om {0} timer" + ], + "in \\1 minute": [ + "om {0} min", + "om {0} minutt", + "om {0} minutter" + ], + "in \\1 month": [ + "om {0} md", + "om {0} måned", + "om {0} måneder" + ], + "in \\1 second": [ + "om {0} sek", + "om {0} sekund", + "om {0} sekunder" + ], + "in \\1 week": [ + "om {0} u", + "om {0} uke", + "om {0} uker" + ], + "in \\1 year": [ + "om {0} år" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/nqo.json b/dateparser_data/cldr_language_data/date_translation_data/nqo.json new file mode 100644 index 000000000..7a006d09a --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/nqo.json @@ -0,0 +1,155 @@ +{ + "name": "nqo", + "date_order": "YMD", + "january": [ + "ߓߌ߲ߠ", + "ߓߌ߲ߠߊߥߎߟߋ߲" + ], + "february": [ + "ߞߏ߲ߞ", + "ߞߏ߲ߞߏߜߍ" + ], + "march": [ + "ߕߙߊ", + "ߕߙߊߓߊ" + ], + "april": [ + "ߞߏ߲ߘ", + "ߞߏ߲ߞߏߘߌ߬ߓߌ" + ], + "may": [ + "ߘߓߊ߬ߕ", + "ߘߓߊ߬ߕߊ" + ], + "june": [ + "ߥߊ߬ߛ", + "ߥߊ߬ߛߌ߬ߥߙߊ" + ], + "july": [ + "ߞߊ߬ߙ", + "ߞߊ߬ߙߌߝߐ߭" + ], + "august": [ + "ߘߓߊ߬ߓ", + "ߘߓߊ߬ߓߌߟߊ" + ], + "september": [ + "ߕߎߟߊߝߌ߲" + ], + "october": [ + "ߞߏ߲ߓ", + "ߞߏ߲ߓߌߕߌ߮" + ], + "november": [ + "ߣߍߣ", + "ߣߍߣߍߓߊ" + ], + "december": [ + "ߞߏߟ", + "ߞߏߟߌ߲ߞߏߟߌ߲" + ], + "monday": [ + "ߞߐ߬ߓ", + "ߞߐ߬ߓߊ߬ߟߏ߲" + ], + "tuesday": [ + "ߞߐ߬ߟ", + "ߞߐ߬ߟߏ߲" + ], + "wednesday": [ + "ߞߎߣ", + "ߞߎߣߎ߲ߟߏ߲" + ], + "thursday": [ + "ߓߌߟ", + "ߓߌߟߏ߲" + ], + "friday": [ + "ߛߌ߬ߣ", + "ߛߌ߬ߣߌ߲߬ߟߏ߲" + ], + "saturday": [ + "ߞߍ߲ߘ", + "ߞߍ߲ߘߍߟߏ߲" + ], + "sunday": [ + "ߞߊ߯ߙ", + "ߞߊ߯ߙߌߟߏ߲" + ], + "am": [ + "ߛ" + ], + "pm": [ + "ߥ" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "ߕߎ߬ߡߊ߬ߙߋ߲" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/nr.json b/dateparser_data/cldr_language_data/date_translation_data/nr.json new file mode 100644 index 000000000..5f672663b --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/nr.json @@ -0,0 +1,101 @@ +{ + "name": "nr", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/nso.json b/dateparser_data/cldr_language_data/date_translation_data/nso.json new file mode 100644 index 000000000..5259c9cdb --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/nso.json @@ -0,0 +1,154 @@ +{ + "name": "nso", + "date_order": "YMD", + "january": [ + "phere", + "pherekgong" + ], + "february": [ + "dibo", + "dibokwane" + ], + "march": [ + "hlak", + "hlakola" + ], + "april": [ + "mora", + "moranang" + ], + "may": [ + "mopi", + "mopitlo" + ], + "june": [ + "phupu" + ], + "july": [ + "mose", + "mosegemanye" + ], + "august": [ + "phato" + ], + "september": [ + "lewe", + "lewedi" + ], + "october": [ + "dipha", + "diphalane" + ], + "november": [ + "diba", + "dibatsela" + ], + "december": [ + "manth", + "manthole" + ], + "monday": [ + "mos", + "musopologo" + ], + "tuesday": [ + "bed", + "labobedi" + ], + "wednesday": [ + "laboraro", + "rar" + ], + "thursday": [ + "labone", + "ne" + ], + "friday": [ + "hla", + "labohlano" + ], + "saturday": [ + "mok", + "mokibelo" + ], + "sunday": [ + "lam", + "lamorena" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/nus.json b/dateparser_data/cldr_language_data/date_translation_data/nus.json index f79ebb4cd..75d6756cc 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/nus.json +++ b/dateparser_data/cldr_language_data/date_translation_data/nus.json @@ -93,6 +93,7 @@ "cäŋ" ], "hour": [ + "hr", "thaak" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/nv.json b/dateparser_data/cldr_language_data/date_translation_data/nv.json new file mode 100644 index 000000000..3a4b54709 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/nv.json @@ -0,0 +1,101 @@ +{ + "name": "nv", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ny.json b/dateparser_data/cldr_language_data/date_translation_data/ny.json new file mode 100644 index 000000000..26fa9c6bf --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/ny.json @@ -0,0 +1,101 @@ +{ + "name": "ny", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/nyn.json b/dateparser_data/cldr_language_data/date_translation_data/nyn.json index 519bc9ac3..f8f929b1e 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/nyn.json +++ b/dateparser_data/cldr_language_data/date_translation_data/nyn.json @@ -96,6 +96,7 @@ "eizooba" ], "hour": [ + "hr", "shaaha" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/oc.json b/dateparser_data/cldr_language_data/date_translation_data/oc.json new file mode 100644 index 000000000..6f28cab62 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/oc.json @@ -0,0 +1,141 @@ +{ + "name": "oc", + "date_order": "YMD", + "january": [ + "de genièr" + ], + "february": [ + "de febrièr" + ], + "march": [ + "de març" + ], + "april": [ + "d'abril" + ], + "may": [ + "de mai" + ], + "june": [ + "de junh" + ], + "july": [ + "de julhet" + ], + "august": [ + "d'agost" + ], + "september": [ + "de setembre" + ], + "october": [ + "d'octòbre" + ], + "november": [ + "de novembre" + ], + "december": [ + "de decembre" + ], + "monday": [ + "diluns" + ], + "tuesday": [ + "dimars" + ], + "wednesday": [ + "dimècres" + ], + "thursday": [ + "dijòus" + ], + "friday": [ + "divendres" + ], + "saturday": [ + "dissabte" + ], + "sunday": [ + "dimenge" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "oc-ES": { + "name": "oc-ES" + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/om.json b/dateparser_data/cldr_language_data/date_translation_data/om.json index a4bc22e56..c09f1039d 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/om.json +++ b/dateparser_data/cldr_language_data/date_translation_data/om.json @@ -96,7 +96,8 @@ "day" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser_data/cldr_language_data/date_translation_data/or.json b/dateparser_data/cldr_language_data/date_translation_data/or.json index 92ed23210..845691458 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/or.json +++ b/dateparser_data/cldr_language_data/date_translation_data/or.json @@ -1,6 +1,6 @@ { "name": "or", - "date_order": "DMY", + "date_order": "MDY", "january": [ "ଜାନୁଆରୀ" ], @@ -66,77 +66,141 @@ "ରବିବାର" ], "am": [ - "am" + "am", + "ପୂର୍ବାହ୍ନ" ], "pm": [ - "pm" + "pm", + "ଅପରାହ୍ନ" ], "year": [ - "year" + "ବ", + "ବର୍ଷ" ], "month": [ - "month" + "ମା", + "ମାସ" ], "week": [ - "week" + "ସ", + "ସପ୍ତାହ" ], "day": [ - "day" + "ଦିନ" ], "hour": [ - "hour" + "ଘ", + "ଘଣ୍ଟା" ], "minute": [ - "minute" + "ମି", + "ମିନିଟ୍" ], "second": [ - "second" + "ସେ", + "ସେକେଣ୍ଡ୍" ], "relative-type": { "0 day ago": [ - "today" + "ଆଜି" ], "0 hour ago": [ - "this hour" + "ଏହି ଘଣ୍ଟା" ], "0 minute ago": [ - "this minute" + "ଏହି ମିନିଟ୍" ], "0 month ago": [ - "this month" + "ଏହି ମାସ" ], "0 second ago": [ - "now" + "ବର୍ତ୍ତମାନ" ], "0 week ago": [ - "this week" + "ଏହି ସପ୍ତାହ" ], "0 year ago": [ - "this year" + "ଏହି ବର୍ଷ" ], "1 day ago": [ - "yesterday" + "ଗତକାଲି" ], "1 month ago": [ - "last month" + "ଗତ ମାସ" ], "1 week ago": [ - "last week" + "ଗତ ସପ୍ତାହ" ], "1 year ago": [ - "last year" + "ଗତ ବର୍ଷ" ], "in 1 day": [ - "tomorrow" + "ଆସନ୍ତାକାଲି" ], "in 1 month": [ - "next month" + "ଆଗାମୀ ମାସ" ], "in 1 week": [ - "next week" + "ଆଗାମୀ ସପ୍ତାହ" ], "in 1 year": [ - "next year" + "ଆଗାମୀ ବର୍ଷ" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} ଦିନ ପୂର୍ବେ" + ], + "\\1 hour ago": [ + "{0} ଘ ପୂର୍ବେ", + "{0} ଘଣ୍ଟା ପୂର୍ବେ" + ], + "\\1 minute ago": [ + "{0} ମି ପୂର୍ବେ", + "{0} ମିନିଟ୍ ପୂର୍ବେ" + ], + "\\1 month ago": [ + "{0} ମା ପୂର୍ବେ", + "{0} ମାସ ପୂର୍ବେ" + ], + "\\1 second ago": [ + "{0} ସେ ପୂର୍ବେ", + "{0} ସେକେଣ୍ଡ ପୂର୍ବେ" + ], + "\\1 week ago": [ + "{0} ସପ୍ତା ପୂର୍ବେ", + "{0} ସପ୍ତାହ ପୂର୍ବେ" + ], + "\\1 year ago": [ + "{0} ବ ପୂର୍ବେ", + "{0} ବର୍ଷ ପୂର୍ବେ" + ], + "in \\1 day": [ + "{0} ଦିନରେ" + ], + "in \\1 hour": [ + "{0} ଘ ରେ", + "{0} ଘଣ୍ଟାରେ" + ], + "in \\1 minute": [ + "{0} ମି ରେ", + "{0} ମିନିଟ୍‌‌ରେ" + ], + "in \\1 month": [ + "{0} ମା ରେ", + "{0} ମାସରେ" + ], + "in \\1 second": [ + "{0} ସେ ରେ", + "{0} ସେକେଣ୍ଡରେ" + ], + "in \\1 week": [ + "{0} ସପ୍ତା ରେ", + "{0} ସପ୍ତାହରେ" + ], + "in \\1 year": [ + "{0} ବ ରେ", + "{0} ବର୍ଷରେ" ] }, "locale_specific": {} diff --git a/dateparser_data/cldr_language_data/date_translation_data/os.json b/dateparser_data/cldr_language_data/date_translation_data/os.json index c2cd204c0..5762d8afb 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/os.json +++ b/dateparser_data/cldr_language_data/date_translation_data/os.json @@ -111,7 +111,8 @@ "бон" ], "hour": [ - "сахат" + "сахат", + "сахаты" ], "minute": [ "минут" diff --git a/dateparser_data/cldr_language_data/date_translation_data/osa.json b/dateparser_data/cldr_language_data/date_translation_data/osa.json new file mode 100644 index 000000000..7b839f36e --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/osa.json @@ -0,0 +1,149 @@ +{ + "name": "osa", + "date_order": "YMD", + "january": [ + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓬𐓘𐓡𐓛͘𐓧𐓟", + "𐓬𐓘𐓡𐓛͘𐓧𐓟" + ], + "february": [ + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓷𐓟𐓵𐓪͘𐓬𐓘", + "𐓵𐓪͘𐓬𐓘" + ], + "march": [ + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓷𐓟𐓵𐓘𐓜𐓣", + "𐓵𐓘𐓜𐓣" + ], + "april": [ + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓷𐓟𐓰𐓪𐓬𐓘", + "𐓰𐓪𐓬𐓘" + ], + "may": [ + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓷𐓟𐓮𐓘𐓰𐓘", + "𐓮𐓘𐓰𐓘" + ], + "june": [ + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓷𐓟𐓯𐓘𐓬𐓟", + "𐓯𐓘𐓬𐓟" + ], + "july": [ + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓬𐓟𐓵𐓪͘𐓬𐓘", + "𐓬𐓟𐓵𐓪͘𐓬𐓘" + ], + "august": [ + "𐓤𐓣𐓟𐓰𐓪𐓬𐓘", + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓤𐓣𐓟𐓰𐓪𐓬𐓘" + ], + "september": [ + "𐓧𐓟𐓜𐓛𐓲𐓟𐓷𐓣͘𐓤𐓟", + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓧𐓟𐓜𐓛𐓲𐓟𐓷𐓣͘𐓤𐓟" + ], + "october": [ + "𐓧𐓟𐓜𐓛", + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓧𐓟𐓜𐓛" + ], + "november": [ + "𐓘𐓧𐓣 𐓷𐓣͘𐓸𐓲𐓣", + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓘𐓧𐓣 𐓷𐓣͘𐓸𐓲𐓣" + ], + "december": [ + "𐓘𐓧𐓣 𐓵𐓪͘𐓬𐓘", + "𐓨𐓣͘𐓪͘𐓬𐓘 𐓘𐓧𐓣 𐓵𐓪͘𐓬𐓘" + ], + "monday": [ + "𐓡𐓘͘𐓬𐓘 𐓬𐓘𐓡𐓛͘𐓧𐓣" + ], + "tuesday": [ + "𐓡𐓘͘𐓬𐓘 𐓷𐓟𐓵𐓪͘𐓬𐓘" + ], + "wednesday": [ + "𐓡𐓘͘𐓬𐓘 𐓷𐓟𐓵𐓘𐓜𐓣" + ], + "thursday": [ + "𐓡𐓘͘𐓬𐓘 𐓷𐓟𐓰𐓪𐓬𐓘" + ], + "friday": [ + "𐓡𐓘͘𐓬𐓘 𐓰𐓘 𐓵𐓘𐓲𐓘 𐓻𐓣͘" + ], + "saturday": [ + "𐓡𐓘͘𐓬𐓘 𐓪𐓤𐓘𐓸𐓟 𐓣͘𐓤𐓟" + ], + "sunday": [ + "𐓡𐓘͘𐓬𐓘 𐓷𐓘𐓤𐓘͘𐓰𐓘𐓤𐓣" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "𐓪𐓨𐓚𐓤𐓘" + ], + "month": [ + "𐓨𐓣͘𐓪͘𐓬𐓘" + ], + "week": [ + "𐓡𐓘͘𐓬𐓘 𐓷𐓘𐓤𐓘͘𐓰𐓘𐓤𐓣" + ], + "day": [ + "𐓡𐓘͘𐓬𐓘" + ], + "hour": [ + "hr", + "𐓨𐓣𐓪𐓵𐓘𐓤𐓟 𐓪𐓰𐓘𐓩𐓘͘" + ], + "minute": [ + "𐓰𐓘𐓲𐓟 𐓤𐓯𐓣𐓵𐓟" + ], + "second": [ + "𐓰𐓘𐓲𐓟 𐓤𐓯𐓣𐓵𐓟 𐓻𐓣͘" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/pa-Arab.json b/dateparser_data/cldr_language_data/date_translation_data/pa-Arab.json index ee529521e..9b2155c58 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/pa-Arab.json +++ b/dateparser_data/cldr_language_data/date_translation_data/pa-Arab.json @@ -77,6 +77,7 @@ "دئن" ], "hour": [ + "hr", "گھنٹا" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/pa-Guru.json b/dateparser_data/cldr_language_data/date_translation_data/pa-Guru.json index 37718bb20..fb79a30df 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/pa-Guru.json +++ b/dateparser_data/cldr_language_data/date_translation_data/pa-Guru.json @@ -94,7 +94,8 @@ ], "hour": [ "ਘੰ", - "ਘੰਟਾ" + "ਘੰਟਾ", + "ਘੰਟੇ" ], "minute": [ "ਮਿੰਟ" diff --git a/dateparser_data/cldr_language_data/date_translation_data/pa.json b/dateparser_data/cldr_language_data/date_translation_data/pa.json index 6b6c980db..fe76d5c0c 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/pa.json +++ b/dateparser_data/cldr_language_data/date_translation_data/pa.json @@ -94,7 +94,8 @@ ], "hour": [ "ਘੰ", - "ਘੰਟਾ" + "ਘੰਟਾ", + "ਘੰਟੇ" ], "minute": [ "ਮਿੰਟ" diff --git a/dateparser_data/cldr_language_data/date_translation_data/pap.json b/dateparser_data/cldr_language_data/date_translation_data/pap.json new file mode 100644 index 000000000..569ee2744 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/pap.json @@ -0,0 +1,141 @@ +{ + "name": "pap", + "date_order": "YMD", + "january": [ + "yanüari" + ], + "february": [ + "febrüari" + ], + "march": [ + "mart" + ], + "april": [ + "aprel" + ], + "may": [ + "mei" + ], + "june": [ + "yüni" + ], + "july": [ + "yüli" + ], + "august": [ + "ougùstùs" + ], + "september": [ + "sèptèmber" + ], + "october": [ + "òktober" + ], + "november": [ + "novèmber" + ], + "december": [ + "desèmber" + ], + "monday": [ + "djaluna" + ], + "tuesday": [ + "djamars" + ], + "wednesday": [ + "djarason" + ], + "thursday": [ + "djaweps" + ], + "friday": [ + "djabièrnè" + ], + "saturday": [ + "djasabra" + ], + "sunday": [ + "djadumingu" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "pap-AW": { + "name": "pap-AW" + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/pcm.json b/dateparser_data/cldr_language_data/date_translation_data/pcm.json new file mode 100644 index 000000000..27b5cbad4 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/pcm.json @@ -0,0 +1,203 @@ +{ + "name": "pcm", + "date_order": "DMY", + "january": [ + "jén", + "jénúári" + ], + "february": [ + "fẹ́b", + "fẹ́búári" + ], + "march": [ + "mach" + ], + "april": [ + "épr", + "éprel" + ], + "may": [ + "mee" + ], + "june": [ + "jun" + ], + "july": [ + "jul", + "julai" + ], + "august": [ + "ọgọ", + "ọgọst", + "ọ́gọ" + ], + "september": [ + "sẹp", + "sẹptẹ́mba" + ], + "october": [ + "ọkt", + "ọktóba" + ], + "november": [ + "nọv", + "nọvẹ́mba" + ], + "december": [ + "dis", + "disẹ́mba" + ], + "monday": [ + "mọ́n", + "mọ́ndè" + ], + "tuesday": [ + "tiú", + "tiúzdè" + ], + "wednesday": [ + "wẹ́n", + "wẹ́nẹ́zdè" + ], + "thursday": [ + "tọ́z", + "tọ́zdè" + ], + "friday": [ + "fraí", + "fraídè" + ], + "saturday": [ + "sát", + "sátọdè" + ], + "sunday": [ + "sọ́n", + "sọ́ndè" + ], + "am": [ + "am", + "fm", + "fọ mọ́nin" + ], + "pm": [ + "fi", + "fọ ívnin", + "pm" + ], + "year": [ + "yiẹ" + ], + "month": [ + "mọnt" + ], + "week": [ + "wik" + ], + "day": [ + "dè" + ], + "hour": [ + "awa", + "áwa-dẹm" + ], + "minute": [ + "mínit" + ], + "second": [ + "sẹ́kọn" + ], + "relative-type": { + "0 day ago": [ + "todè" + ], + "0 hour ago": [ + "dís áwa" + ], + "0 minute ago": [ + "dís mínit" + ], + "0 month ago": [ + "dís mọnt" + ], + "0 second ago": [ + "nau" + ], + "0 week ago": [ + "dís wik" + ], + "0 year ago": [ + "dís yiẹ" + ], + "1 day ago": [ + "yẹ́stadè" + ], + "1 month ago": [ + "lást mọnt" + ], + "1 week ago": [ + "lást wik" + ], + "1 year ago": [ + "lást yiẹ" + ], + "in 1 day": [ + "tumọ́ro" + ], + "in 1 month": [ + "nẹ́st mọnt" + ], + "in 1 week": [ + "nẹ́st wik" + ], + "in 1 year": [ + "nẹ́st yiẹ" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} dè wé dọ́n pas" + ], + "\\1 hour ago": [ + "fọ {0} áwa wé de kọm", + "{0} áwa wé dọ́n pas" + ], + "\\1 minute ago": [ + "{0} mínit wé dọ́n pas" + ], + "\\1 month ago": [ + "{0} mọnt wé dọ́n pas" + ], + "\\1 second ago": [ + "{0} sẹ́kọn wé dọ́n pas" + ], + "\\1 week ago": [ + "{0} wik wé dọ́n pas" + ], + "\\1 year ago": [ + "{0} yiẹ wé dọ́n pas" + ], + "in \\1 day": [ + "fọ {0}dè wé de kọm" + ], + "in \\1 hour": [ + "fọ {0} áwa wé de kọm" + ], + "in \\1 minute": [ + "fọ {0} mínit wé de kọm" + ], + "in \\1 month": [ + "fọ {0}mọnt wé de kọm" + ], + "in \\1 second": [ + "fọ {0} sẹ́kọn" + ], + "in \\1 week": [ + "fọ {0}wik wé de kọm" + ], + "in \\1 year": [ + "fọ {0} yiẹ wé de kọm" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/pis.json b/dateparser_data/cldr_language_data/date_translation_data/pis.json new file mode 100644 index 000000000..05b1b596e --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/pis.json @@ -0,0 +1,137 @@ +{ + "name": "pis", + "date_order": "YMD", + "january": [ + "januare" + ], + "february": [ + "febuare" + ], + "march": [ + "mas" + ], + "april": [ + "eprel" + ], + "may": [ + "mei" + ], + "june": [ + "jun" + ], + "july": [ + "julae" + ], + "august": [ + "ogus" + ], + "september": [ + "septemba" + ], + "october": [ + "oktoba" + ], + "november": [ + "novemba" + ], + "december": [ + "disemba" + ], + "monday": [ + "mande" + ], + "tuesday": [ + "tiusde" + ], + "wednesday": [ + "wenesde" + ], + "thursday": [ + "tosde" + ], + "friday": [ + "fraede" + ], + "saturday": [ + "satade" + ], + "sunday": [ + "sande" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/pl.json b/dateparser_data/cldr_language_data/date_translation_data/pl.json index 1a8f6e9e1..8a73f7486 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/pl.json +++ b/dateparser_data/cldr_language_data/date_translation_data/pl.json @@ -108,12 +108,15 @@ "tydzień" ], "day": [ + "d", + "dz", "dzień" ], "hour": [ "g", "godz", - "godzina" + "godzina", + "godziny" ], "minute": [ "min", @@ -126,7 +129,8 @@ ], "relative-type": { "0 day ago": [ - "dzisiaj" + "dzisiaj", + "dziś" ], "0 hour ago": [ "ta godzina" @@ -135,24 +139,29 @@ "ta minuta" ], "0 month ago": [ + "w tym mies", "w tym miesiącu" ], "0 second ago": [ "teraz" ], "0 week ago": [ + "w tym tyg", "w tym tygodniu" ], "0 year ago": [ "w tym roku" ], "1 day ago": [ + "wcz", "wczoraj" ], "1 month ago": [ + "w zeszłym mies", "w zeszłym miesiącu" ], "1 week ago": [ + "w zeszłym tyg", "w zeszłym tygodniu" ], "1 year ago": [ @@ -162,9 +171,11 @@ "jutro" ], "in 1 month": [ + "w przyszłym mies", "w przyszłym miesiącu" ], "in 1 week": [ + "w przyszłym tyg", "w przyszłym tygodniu" ], "in 1 year": [ @@ -190,8 +201,7 @@ "\\1 month ago": [ "{0} mies temu", "{0} miesiąc temu", - "{0} miesiąca temu", - "–{0} mies" + "{0} miesiąca temu" ], "\\1 second ago": [ "{0} s temu", diff --git a/dateparser_data/cldr_language_data/date_translation_data/ps.json b/dateparser_data/cldr_language_data/date_translation_data/ps.json index 0cd9f6c11..821df60f2 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ps.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ps.json @@ -5,7 +5,8 @@ "جنوري" ], "february": [ - "فبروري" + "فبروري", + "فېبروري" ], "march": [ "مارچ" @@ -26,7 +27,8 @@ "اګست" ], "september": [ - "سپتمبر" + "سپتمبر", + "سېپتمبر" ], "october": [ "اکتوبر" @@ -38,99 +40,179 @@ "دسمبر" ], "monday": [ - "دوشنبه" + "دونۍ" ], "tuesday": [ - "سه‌شنبه" + "درېنۍ" ], "wednesday": [ - "چهارشنبه" + "څلرنۍ" ], "thursday": [ - "پنجشنبه" + "پينځنۍ" ], "friday": [ "جمعه" ], "saturday": [ - "شنبه" + "اونۍ" ], "sunday": [ - "یکشنبه" + "يونۍ" ], "am": [ + "am", "غم" ], "pm": [ + "pm", "غو" ], "year": [ - "year" + "کال" ], "month": [ - "month" + "مياشت" ], "week": [ - "week" + "اونۍ" ], "day": [ - "day" + "ورځ" ], "hour": [ - "hour" + "ساعت", + "ساعتونه" ], "minute": [ - "minute" + "دقيقه" ], "second": [ - "second" + "ثانيه" ], "relative-type": { "0 day ago": [ - "today" + "نن" ], "0 hour ago": [ - "this hour" + "دا ساعت" ], "0 minute ago": [ - "this minute" + "دا دقيقه" ], "0 month ago": [ - "this month" + "دا مياشت" ], "0 second ago": [ - "now" + "اوس" ], "0 week ago": [ - "this week" + "دا اونۍ" ], "0 year ago": [ - "this year" + "سږ کال", + "سږکال" ], "1 day ago": [ - "yesterday" + "پرون" ], "1 month ago": [ - "last month" + "تېره مياشت" ], "1 week ago": [ - "last week" + "تيره اونۍ", + "تېره اونۍ" ], "1 year ago": [ - "last year" + "تير کال", + "تېر کال", + "پروسږکال" ], "in 1 day": [ - "tomorrow" + "سبا" ], "in 1 month": [ - "next month" + "راتلونکې مياشت" ], "in 1 week": [ - "next week" + "راتلونکې اونۍ" ], "in 1 year": [ - "next year" + "راتلونکی کال", + "روتلونکی کال" ] }, - "locale_specific": {} + "relative-type-regex": { + "\\1 day ago": [ + "{0} ورځ مخکې", + "{0} ورځې مخکې" + ], + "\\1 hour ago": [ + "{0} ساعت مخکې", + "{0} ساعتونه مخکې" + ], + "\\1 minute ago": [ + "{0} دقيقه مخکې", + "{0} دقيقې مخکې" + ], + "\\1 month ago": [ + "{0} مياشت مخکې", + "{0} مياشتې مخکې" + ], + "\\1 second ago": [ + "{0} ثانيه مخکې", + "{0} ثانيه کې", + "{0} ثانيې مخکې" + ], + "\\1 week ago": [ + "{0} اونۍ مخکې" + ], + "\\1 year ago": [ + "{0} کال مخکې", + "{0} کاله مخکې" + ], + "in \\1 day": [ + "په {0} ورځ کې", + "په {0} ورځو کې" + ], + "in \\1 hour": [ + "په {0} ساعت کې", + "په {0} ساعتو کې" + ], + "in \\1 minute": [ + "په {0} دقيقه کې", + "په {0} دقيقو کې" + ], + "in \\1 month": [ + "په {0} مياشت کې", + "په {0} مياشتو کې" + ], + "in \\1 second": [ + "په {0} ثانيه کې", + "په {0} ثانيو کې" + ], + "in \\1 week": [ + "په {0} اونيو کې", + "په {0} اونۍ کې" + ], + "in \\1 year": [ + "په {0} کال کې", + "په {0} کالونو کې" + ] + }, + "locale_specific": { + "ps-PK": { + "name": "ps-PK", + "relative-type-regex": { + "\\1 year ago": [ + "{0} کال مخکے", + "{0} کاله مخکے" + ], + "in \\1 year": [ + "په {0} کال کے", + "په {0} کالونو کے" + ] + } + } + } } \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/pt.json b/dateparser_data/cldr_language_data/date_translation_data/pt.json index afb0132f1..05584c30b 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/pt.json +++ b/dateparser_data/cldr_language_data/date_translation_data/pt.json @@ -98,15 +98,14 @@ ], "hour": [ "h", - "hora" + "hora", + "horas" ], "minute": [ - "m", "min", "minuto" ], "second": [ - "s", "seg", "segundo" ], @@ -169,7 +168,6 @@ ], "\\1 minute ago": [ "há {0} min", - "há {0} mins", "há {0} minuto", "há {0} minutos" ], @@ -202,7 +200,6 @@ ], "in \\1 minute": [ "em {0} min", - "em {0} mins", "em {0} minuto", "em {0} minutos" ], @@ -212,7 +209,6 @@ ], "in \\1 second": [ "em {0} seg", - "em {0} segs", "em {0} segundo", "em {0} segundos" ], @@ -252,6 +248,9 @@ "da tarde", "tarde" ], + "second": [ + "s" + ], "relative-type-regex": { "\\1 second ago": [ "há {0} s" @@ -315,6 +314,9 @@ "da tarde", "tarde" ], + "second": [ + "s" + ], "relative-type-regex": { "\\1 second ago": [ "há {0} s" @@ -378,6 +380,9 @@ "da tarde", "tarde" ], + "second": [ + "s" + ], "relative-type-regex": { "\\1 second ago": [ "há {0} s" @@ -441,6 +446,9 @@ "da tarde", "tarde" ], + "second": [ + "s" + ], "relative-type-regex": { "\\1 second ago": [ "há {0} s" @@ -504,6 +512,9 @@ "da tarde", "tarde" ], + "second": [ + "s" + ], "relative-type-regex": { "\\1 second ago": [ "há {0} s" @@ -567,6 +578,9 @@ "da tarde", "tarde" ], + "second": [ + "s" + ], "relative-type-regex": { "\\1 second ago": [ "há {0} s" @@ -630,6 +644,9 @@ "da tarde", "tarde" ], + "second": [ + "s" + ], "relative-type-regex": { "\\1 second ago": [ "há {0} s" @@ -693,6 +710,9 @@ "da tarde", "tarde" ], + "second": [ + "s" + ], "relative-type-regex": { "\\1 second ago": [ "há {0} s" @@ -756,6 +776,9 @@ "da tarde", "tarde" ], + "second": [ + "s" + ], "relative-type-regex": { "\\1 second ago": [ "há {0} s" @@ -819,6 +842,9 @@ "da tarde", "tarde" ], + "second": [ + "s" + ], "relative-type-regex": { "\\1 second ago": [ "há {0} s" @@ -882,6 +908,9 @@ "da tarde", "tarde" ], + "second": [ + "s" + ], "relative-type-regex": { "\\1 second ago": [ "há {0} s" diff --git a/dateparser_data/cldr_language_data/date_translation_data/qu.json b/dateparser_data/cldr_language_data/date_translation_data/qu.json index 6b58c6cae..0a42aa547 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/qu.json +++ b/dateparser_data/cldr_language_data/date_translation_data/qu.json @@ -2,52 +2,52 @@ "name": "qu", "date_order": "DMY", "january": [ - "qul", - "qulla puquy" + "ene", + "enero" ], "february": [ - "hat", - "hatun puquy" + "feb", + "febrero" ], "march": [ - "pau", - "pauqar waray" + "mar", + "marzo" ], "april": [ - "ayr", - "ayriwa" + "abr", + "abril" ], "may": [ - "aym", - "aymuray" + "may", + "mayo" ], "june": [ - "int", - "inti raymi" + "jun", + "junio" ], "july": [ - "ant", - "anta sitwa" + "jul", + "julio" ], "august": [ - "qha", - "qhapaq sitwa" + "ago", + "agosto" ], "september": [ - "uma", - "uma raymi" + "set", + "setiembre" ], "october": [ - "kan", - "kantaray" + "oct", + "octubre" ], "november": [ - "aya", - "ayamarq'a" + "nov", + "noviembre" ], "december": [ - "kap", - "kapaq raymi" + "dic", + "diciembre" ], "monday": [ "lun", @@ -96,6 +96,7 @@ "day" ], "hour": [ + "hora", "hour" ], "minute": [ @@ -106,49 +107,49 @@ ], "relative-type": { "0 day ago": [ - "today" + "kunan punchaw" ], "0 hour ago": [ - "this hour" + "kay hora" ], "0 minute ago": [ - "this minute" + "kay minuto" ], "0 month ago": [ - "this month" + "kunan killa" ], "0 second ago": [ "now" ], "0 week ago": [ - "this week" + "kunan semana" ], "0 year ago": [ - "this year" + "kunan wata" ], "1 day ago": [ - "yesterday" + "qayna punchaw" ], "1 month ago": [ - "last month" + "qayna killa" ], "1 week ago": [ - "last week" + "qayna semana" ], "1 year ago": [ - "last year" + "qayna wata" ], "in 1 day": [ - "tomorrow" + "paqarin" ], "in 1 month": [ - "next month" + "hamuq killa" ], "in 1 week": [ - "next week" + "hamuq semana" ], "in 1 year": [ - "next year" + "hamuq wata" ] }, "locale_specific": { diff --git a/dateparser_data/cldr_language_data/date_translation_data/quc.json b/dateparser_data/cldr_language_data/date_translation_data/quc.json new file mode 100644 index 000000000..792a33f07 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/quc.json @@ -0,0 +1,101 @@ +{ + "name": "quc", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/raj.json b/dateparser_data/cldr_language_data/date_translation_data/raj.json new file mode 100644 index 000000000..e11059c62 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/raj.json @@ -0,0 +1,139 @@ +{ + "name": "raj", + "date_order": "YMD", + "january": [ + "जनवरी" + ], + "february": [ + "फरवरी" + ], + "march": [ + "मार्च" + ], + "april": [ + "अप्रैल" + ], + "may": [ + "मई" + ], + "june": [ + "जून" + ], + "july": [ + "जुलाई" + ], + "august": [ + "अगस्त" + ], + "september": [ + "सितम्बर" + ], + "october": [ + "अक्टूबर" + ], + "november": [ + "नवंबर" + ], + "december": [ + "दिसंबर" + ], + "monday": [ + "सोमवार" + ], + "tuesday": [ + "मंगलवार" + ], + "wednesday": [ + "बुधवार" + ], + "thursday": [ + "गुरुवार" + ], + "friday": [ + "शुक्रवार" + ], + "saturday": [ + "शनिवार" + ], + "sunday": [ + "रविवार" + ], + "am": [ + "am", + "सबेरे" + ], + "pm": [ + "pm", + "सांम" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "आज" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "यों मीनो" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "ई सप्ताह" + ], + "0 year ago": [ + "ई बरस" + ], + "1 day ago": [ + "काल" + ], + "1 month ago": [ + "पाछलो मीनो" + ], + "1 week ago": [ + "पाछलां सप्ताह" + ], + "1 year ago": [ + "गत बरस" + ], + "in 1 day": [ + "काल" + ], + "in 1 month": [ + "आग्लो मीनो" + ], + "in 1 week": [ + "आग्ल सप्ताह" + ], + "in 1 year": [ + "आग्ल बरस" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/rhg-Rohg.json b/dateparser_data/cldr_language_data/date_translation_data/rhg-Rohg.json new file mode 100644 index 000000000..18bfa54fd --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/rhg-Rohg.json @@ -0,0 +1,149 @@ +{ + "name": "rhg-Rohg", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "𐴁𐴡𐴏𐴥𐴡𐴌" + ], + "month": [ + "𐴔𐴝𐴐𐴢" + ], + "week": [ + "𐴇𐴥𐴝𐴉𐴃𐴝" + ], + "day": [ + "𐴊𐴞𐴕" + ], + "hour": [ + "hr", + "𐴒𐴤𐴡𐴕𐴄𐴤𐴝" + ], + "minute": [ + "𐴔𐴞𐴕𐴥𐴡𐴄𐴢" + ], + "second": [ + "𐴏𐴠𐴑𐴤𐴠𐴕" + ], + "relative-type": { + "0 day ago": [ + "𐴀𐴝𐴙𐴅𐴧𐴙𐴝" + ], + "0 hour ago": [ + "𐴀𐴠 𐴒𐴤𐴡𐴕𐴄𐴤𐴝" + ], + "0 minute ago": [ + "𐴀𐴠 𐴔𐴞𐴕𐴥𐴡𐴄" + ], + "0 month ago": [ + "𐴀𐴠 𐴔𐴥𐴝𐴐𐴢" + ], + "0 second ago": [ + "𐴀𐴠𐴈𐴥𐴡𐴕" + ], + "0 week ago": [ + "𐴀𐴠 𐴇𐴥𐴝𐴉𐴃𐴝" + ], + "0 year ago": [ + "𐴀𐴠 𐴁𐴡𐴏𐴥𐴡𐴌" + ], + "1 day ago": [ + "𐴒𐴠𐴓𐴊𐴠 𐴈𐴝𐴙𐴓𐴧𐴝" + ], + "1 month ago": [ + "𐴒𐴠𐴓𐴊𐴠 𐴔𐴥𐴝𐴐𐴢" + ], + "1 week ago": [ + "𐴒𐴠𐴓𐴊𐴠 𐴇𐴥𐴝𐴉𐴃𐴝" + ], + "1 year ago": [ + "𐴒𐴠𐴓𐴊𐴠 𐴁𐴡𐴏𐴥𐴡𐴌" + ], + "in 1 day": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 𐴈𐴝𐴙𐴓𐴧𐴝" + ], + "in 1 month": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 𐴔𐴥𐴝𐴐𐴢" + ], + "in 1 week": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 𐴇𐴥𐴝𐴉𐴃𐴝" + ], + "in 1 year": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 𐴁𐴡𐴏𐴥𐴡𐴌" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} 𐴊𐴞𐴕 𐴀𐴝𐴒𐴠" + ], + "\\1 hour ago": [ + "{0} 𐴒𐴤𐴡𐴕𐴄𐴤𐴝 𐴀𐴝𐴒𐴠" + ], + "\\1 minute ago": [ + "{0} 𐴔𐴞𐴕𐴥𐴡𐴄 𐴀𐴝𐴒𐴠" + ], + "\\1 month ago": [ + "{0} 𐴔𐴝𐴐𐴢 𐴀𐴝𐴒𐴠" + ], + "\\1 second ago": [ + "{0} 𐴏𐴠𐴑𐴤𐴠𐴕 𐴀𐴝𐴒𐴠" + ], + "\\1 week ago": [ + "{0} 𐴇𐴥𐴝𐴉𐴃𐴝 𐴀𐴝𐴒𐴠" + ], + "\\1 year ago": [ + "{0} 𐴁𐴡𐴏𐴥𐴡𐴌 𐴀𐴝𐴒𐴠" + ], + "in \\1 day": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 {0} 𐴊𐴞𐴕" + ], + "in \\1 hour": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 {0} 𐴒𐴤𐴡𐴕𐴄𐴤𐴝" + ], + "in \\1 minute": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 {0} 𐴔𐴞𐴕𐴥𐴡𐴄" + ], + "in \\1 month": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 {0} 𐴔𐴥𐴝𐴐𐴢" + ], + "in \\1 second": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 {0} 𐴏𐴠𐴑𐴤𐴠𐴕" + ], + "in \\1 week": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 {0} 𐴇𐴥𐴝𐴉𐴃𐴝" + ], + "in \\1 year": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 {0} 𐴁𐴡𐴏𐴥𐴡𐴌" + ] + }, + "locale_specific": { + "rhg-Rohg-BD": { + "name": "rhg-Rohg-BD" + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/rhg.json b/dateparser_data/cldr_language_data/date_translation_data/rhg.json new file mode 100644 index 000000000..f7ac4126c --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/rhg.json @@ -0,0 +1,145 @@ +{ + "name": "rhg", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "𐴁𐴡𐴏𐴥𐴡𐴌" + ], + "month": [ + "𐴔𐴝𐴐𐴢" + ], + "week": [ + "𐴇𐴥𐴝𐴉𐴃𐴝" + ], + "day": [ + "𐴊𐴞𐴕" + ], + "hour": [ + "hr", + "𐴒𐴤𐴡𐴕𐴄𐴤𐴝" + ], + "minute": [ + "𐴔𐴞𐴕𐴥𐴡𐴄𐴢" + ], + "second": [ + "𐴏𐴠𐴑𐴤𐴠𐴕" + ], + "relative-type": { + "0 day ago": [ + "𐴀𐴝𐴙𐴅𐴧𐴙𐴝" + ], + "0 hour ago": [ + "𐴀𐴠 𐴒𐴤𐴡𐴕𐴄𐴤𐴝" + ], + "0 minute ago": [ + "𐴀𐴠 𐴔𐴞𐴕𐴥𐴡𐴄" + ], + "0 month ago": [ + "𐴀𐴠 𐴔𐴥𐴝𐴐𐴢" + ], + "0 second ago": [ + "𐴀𐴠𐴈𐴥𐴡𐴕" + ], + "0 week ago": [ + "𐴀𐴠 𐴇𐴥𐴝𐴉𐴃𐴝" + ], + "0 year ago": [ + "𐴀𐴠 𐴁𐴡𐴏𐴥𐴡𐴌" + ], + "1 day ago": [ + "𐴒𐴠𐴓𐴊𐴠 𐴈𐴝𐴙𐴓𐴧𐴝" + ], + "1 month ago": [ + "𐴒𐴠𐴓𐴊𐴠 𐴔𐴥𐴝𐴐𐴢" + ], + "1 week ago": [ + "𐴒𐴠𐴓𐴊𐴠 𐴇𐴥𐴝𐴉𐴃𐴝" + ], + "1 year ago": [ + "𐴒𐴠𐴓𐴊𐴠 𐴁𐴡𐴏𐴥𐴡𐴌" + ], + "in 1 day": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 𐴈𐴝𐴙𐴓𐴧𐴝" + ], + "in 1 month": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 𐴔𐴥𐴝𐴐𐴢" + ], + "in 1 week": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 𐴇𐴥𐴝𐴉𐴃𐴝" + ], + "in 1 year": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 𐴁𐴡𐴏𐴥𐴡𐴌" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} 𐴊𐴞𐴕 𐴀𐴝𐴒𐴠" + ], + "\\1 hour ago": [ + "{0} 𐴒𐴤𐴡𐴕𐴄𐴤𐴝 𐴀𐴝𐴒𐴠" + ], + "\\1 minute ago": [ + "{0} 𐴔𐴞𐴕𐴥𐴡𐴄 𐴀𐴝𐴒𐴠" + ], + "\\1 month ago": [ + "{0} 𐴔𐴝𐴐𐴢 𐴀𐴝𐴒𐴠" + ], + "\\1 second ago": [ + "{0} 𐴏𐴠𐴑𐴤𐴠𐴕 𐴀𐴝𐴒𐴠" + ], + "\\1 week ago": [ + "{0} 𐴇𐴥𐴝𐴉𐴃𐴝 𐴀𐴝𐴒𐴠" + ], + "\\1 year ago": [ + "{0} 𐴁𐴡𐴏𐴥𐴡𐴌 𐴀𐴝𐴒𐴠" + ], + "in \\1 day": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 {0} 𐴊𐴞𐴕" + ], + "in \\1 hour": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 {0} 𐴒𐴤𐴡𐴕𐴄𐴤𐴝" + ], + "in \\1 minute": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 {0} 𐴔𐴞𐴕𐴥𐴡𐴄" + ], + "in \\1 month": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 {0} 𐴔𐴥𐴝𐴐𐴢" + ], + "in \\1 second": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 {0} 𐴏𐴠𐴑𐴤𐴠𐴕" + ], + "in \\1 week": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 {0} 𐴇𐴥𐴝𐴉𐴃𐴝" + ], + "in \\1 year": [ + "𐴀𐴝𐴘𐴧𐴥𐴠𐴌𐴊𐴧𐴠 {0} 𐴁𐴡𐴏𐴥𐴡𐴌" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/rif.json b/dateparser_data/cldr_language_data/date_translation_data/rif.json new file mode 100644 index 000000000..b45351aee --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/rif.json @@ -0,0 +1,101 @@ +{ + "name": "rif", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/rm.json b/dateparser_data/cldr_language_data/date_translation_data/rm.json index 69d1b68c5..35402b266 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/rm.json +++ b/dateparser_data/cldr_language_data/date_translation_data/rm.json @@ -2,47 +2,59 @@ "name": "rm", "date_order": "DMY", "january": [ + "da schaner", "schan", "schaner" ], "february": [ + "da favrer", "favr", "favrer" ], "march": [ + "da mars", "mars" ], "april": [ "avr", - "avrigl" + "avrigl", + "d'avrigl" ], "may": [ + "da matg", "matg" ], "june": [ + "da zercladur", "zercl", "zercladur" ], "july": [ + "da fanadur", "fan", "fanadur" ], "august": [ - "avust" + "avust", + "d'avust" ], "september": [ + "da settember", "sett", "settember" ], "october": [ + "d'october", "oct", "october" ], "november": [ + "da november", "nov", "november" ], "december": [ + "da december", "dec", "december" ], @@ -90,15 +102,19 @@ "emna" ], "day": [ - "tag" + "d", + "di" ], "hour": [ - "ura" + "ura", + "uras" ], "minute": [ + "min", "minuta" ], "second": [ + "s", "secunda" ], "relative-type": { @@ -121,7 +137,7 @@ "this week" ], "0 year ago": [ - "this year" + "quest onn" ], "1 day ago": [ "ier" @@ -133,7 +149,7 @@ "last week" ], "1 year ago": [ - "last year" + "l'onn passà" ], "in 1 day": [ "damaun" @@ -145,7 +161,7 @@ "next week" ], "in 1 year": [ - "next year" + "l'onn proxim" ] }, "locale_specific": {} diff --git a/dateparser_data/cldr_language_data/date_translation_data/rn.json b/dateparser_data/cldr_language_data/date_translation_data/rn.json index f2226ce37..dae88e0b8 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/rn.json +++ b/dateparser_data/cldr_language_data/date_translation_data/rn.json @@ -96,6 +96,7 @@ "umusi" ], "hour": [ + "hr", "isaha" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/ro.json b/dateparser_data/cldr_language_data/date_translation_data/ro.json index 41f9cc339..996d53fde 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ro.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ro.json @@ -96,6 +96,7 @@ ], "hour": [ "h", + "ore", "oră" ], "minute": [ @@ -125,6 +126,7 @@ "acum" ], "0 week ago": [ + "săpt aceasta", "săptămâna aceasta" ], "0 year ago": [ @@ -137,6 +139,7 @@ "luna trecută" ], "1 week ago": [ + "săpt trecută", "săptămâna trecută" ], "1 year ago": [ @@ -149,6 +152,7 @@ "luna viitoare" ], "in 1 week": [ + "săpt viitoare", "săptămâna viitoare" ], "in 1 year": [ @@ -158,8 +162,7 @@ "relative-type-regex": { "\\1 day ago": [ "acum {0} de zile", - "acum {0} zi", - "acum {0} zile" + "acum {0} zi" ], "\\1 hour ago": [ "acum {0} de ore", @@ -192,8 +195,7 @@ ], "in \\1 day": [ "peste {0} de zile", - "peste {0} zi", - "peste {0} zile" + "peste {0} zi" ], "in \\1 hour": [ "peste {0} de ore", @@ -222,7 +224,6 @@ ], "in \\1 year": [ "peste {0} an", - "peste {0} ani", "peste {0} de ani" ] }, diff --git a/dateparser_data/cldr_language_data/date_translation_data/rof.json b/dateparser_data/cldr_language_data/date_translation_data/rof.json index d13b18c97..859d73603 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/rof.json +++ b/dateparser_data/cldr_language_data/date_translation_data/rof.json @@ -84,6 +84,7 @@ "mfiri" ], "hour": [ + "hr", "isaa" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/ru.json b/dateparser_data/cldr_language_data/date_translation_data/ru.json index 8994aaa86..fc6130eb3 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ru.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ru.json @@ -89,10 +89,10 @@ "вс" ], "am": [ - "дп" + "am" ], "pm": [ - "пп" + "pm" ], "year": [ "г", @@ -112,7 +112,8 @@ ], "hour": [ "ч", - "час" + "час", + "часы" ], "minute": [ "мин", @@ -128,51 +129,68 @@ "сегодня" ], "0 hour ago": [ - "в этом часе" + "в этот час" ], "0 minute ago": [ "в эту минуту" ], "0 month ago": [ + "в эт мес", + "в этом мес", "в этом месяце" ], "0 second ago": [ "сейчас" ], "0 week ago": [ + "на эт нед", + "на этой нед", "на этой неделе" ], "0 year ago": [ + "в эт г", + "в этом г", "в этом году" ], "1 day ago": [ "вчера" ], "1 month ago": [ + "в пр мес", + "в прошлом мес", "в прошлом месяце" ], "1 week ago": [ + "на пр нед", + "на прошлой нед", "на прошлой неделе" ], "1 year ago": [ + "в пр г", + "в прошлом г", "в прошлом году" ], "in 1 day": [ "завтра" ], "in 1 month": [ + "в след мес", + "в следующем мес", "в следующем месяце" ], "in 1 week": [ + "на след нед", + "на следующей нед", "на следующей неделе" ], "in 1 year": [ + "в сл г", + "в след г", "в следующем году" ] }, "relative-type-regex": { "\\1 day ago": [ - "{0} д назад", "{0} день назад", "{0} дн назад", "{0} дня назад" @@ -208,7 +226,6 @@ "{0} года назад" ], "in \\1 day": [ - "через {0} д", "через {0} день", "через {0} дн", "через {0} дня" @@ -258,13 +275,7 @@ "name": "ru-MD" }, "ru-UA": { - "name": "ru-UA", - "am": [ - "am" - ], - "pm": [ - "pm" - ] + "name": "ru-UA" } } } \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/rw.json b/dateparser_data/cldr_language_data/date_translation_data/rw.json index 8b4dda315..df9c8f795 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/rw.json +++ b/dateparser_data/cldr_language_data/date_translation_data/rw.json @@ -19,7 +19,7 @@ ], "may": [ "gic", - "gicuransi" + "gicurasi" ], "june": [ "kam", @@ -96,7 +96,8 @@ "day" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser_data/cldr_language_data/date_translation_data/rwk.json b/dateparser_data/cldr_language_data/date_translation_data/rwk.json index 21b5e41a7..44a4766e7 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/rwk.json +++ b/dateparser_data/cldr_language_data/date_translation_data/rwk.json @@ -95,6 +95,7 @@ "mfiri" ], "hour": [ + "hr", "saa" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/sa.json b/dateparser_data/cldr_language_data/date_translation_data/sa.json new file mode 100644 index 000000000..7daedb862 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/sa.json @@ -0,0 +1,164 @@ +{ + "name": "sa", + "date_order": "DMY", + "january": [ + "जनवरी:", + "जनवरीमासः" + ], + "february": [ + "फरवरी:", + "फरवरीमासः" + ], + "march": [ + "मार्च:", + "मार्चमासः" + ], + "april": [ + "अप्रैल:", + "अप्रैलमासः" + ], + "may": [ + "मई", + "मईमासः" + ], + "june": [ + "जून:", + "जूनमासः" + ], + "july": [ + "जुलाई:", + "जुलाईमासः" + ], + "august": [ + "अगस्त:", + "अगस्तमासः" + ], + "september": [ + "सितंबर:", + "सितंबरमासः" + ], + "october": [ + "अक्तूबर:", + "अक्तूबरमासः" + ], + "november": [ + "नवंबर:", + "नवंबरमासः" + ], + "december": [ + "दिसंबर:", + "दिसंबरमासः" + ], + "monday": [ + "सोम", + "सोमवासरः" + ], + "tuesday": [ + "मंगल", + "मंगलवासरः" + ], + "wednesday": [ + "बुध", + "बुधवासरः" + ], + "thursday": [ + "गुरु", + "गुरुवासर:" + ], + "friday": [ + "शुक्र", + "शुक्रवासरः" + ], + "saturday": [ + "शनि", + "शनिवासरः" + ], + "sunday": [ + "रवि", + "रविवासरः" + ], + "am": [ + "am", + "पूर्वाह्न" + ], + "pm": [ + "pm", + "अपराह्न" + ], + "year": [ + "वर्ष", + "वर्ष:" + ], + "month": [ + "मास", + "मास:" + ], + "week": [ + "सप्ताह", + "सप्ताह:" + ], + "day": [ + "दिनम्", + "वासर:" + ], + "hour": [ + "hr", + "होरा" + ], + "minute": [ + "निमेष" + ], + "second": [ + "क्षण", + "पल" + ], + "relative-type": { + "0 day ago": [ + "अद्य" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "गतदिनम्", + "ह्यः" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "श्वः" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/saq.json b/dateparser_data/cldr_language_data/date_translation_data/saq.json index a84ade947..415843f4e 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/saq.json +++ b/dateparser_data/cldr_language_data/date_translation_data/saq.json @@ -96,6 +96,7 @@ "mpari" ], "hour": [ + "hr", "saai" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/sat-Deva.json b/dateparser_data/cldr_language_data/date_translation_data/sat-Deva.json new file mode 100644 index 000000000..68c30b6ff --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/sat-Deva.json @@ -0,0 +1,101 @@ +{ + "name": "sat-Deva", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/sat-Olck.json b/dateparser_data/cldr_language_data/date_translation_data/sat-Olck.json new file mode 100644 index 000000000..671353f9a --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/sat-Olck.json @@ -0,0 +1,157 @@ +{ + "name": "sat-Olck", + "date_order": "DMY", + "january": [ + "ᱡᱟᱱ", + "ᱡᱟᱱᱣᱟᱨᱤ" + ], + "february": [ + "ᱯᱷᱟ", + "ᱯᱷᱟᱨᱣᱟᱨᱤ" + ], + "march": [ + "ᱢᱟᱨ", + "ᱢᱟᱨᱪ" + ], + "april": [ + "ᱟᱯᱨ", + "ᱟᱯᱨᱮᱞ" + ], + "may": [ + "ᱢᱮ" + ], + "june": [ + "ᱡᱩᱱ" + ], + "july": [ + "ᱡᱩᱞ", + "ᱡᱩᱞᱟᱭ" + ], + "august": [ + "ᱟᱜᱟ", + "ᱟᱜᱟᱥᱛ" + ], + "september": [ + "ᱥᱮᱯ", + "ᱥᱮᱯᱴᱮᱢᱵᱟᱨ" + ], + "october": [ + "ᱚᱠᱴ", + "ᱚᱠᱴᱚᱵᱟᱨ" + ], + "november": [ + "ᱱᱟᱣ", + "ᱱᱟᱣᱟᱢᱵᱟᱨ" + ], + "december": [ + "ᱫᱤᱥ", + "ᱫᱤᱥᱟᱢᱵᱟᱨ" + ], + "monday": [ + "ᱚᱛ", + "ᱚᱛᱮ" + ], + "tuesday": [ + "ᱵᱟ", + "ᱵᱟᱞᱮ" + ], + "wednesday": [ + "ᱥᱟᱹ", + "ᱥᱟᱹᱜᱩᱱ" + ], + "thursday": [ + "ᱥᱟᱹᱨ", + "ᱥᱟᱹᱨᱫᱤ" + ], + "friday": [ + "ᱡᱟᱹ", + "ᱡᱟᱹᱨᱩᱢ" + ], + "saturday": [ + "ᱧᱩ", + "ᱧᱩᱦᱩᱢ" + ], + "sunday": [ + "ᱥᱤᱸ", + "ᱥᱤᱸᱜᱮ" + ], + "am": [ + "am", + "ᱥᱮᱛᱟᱜ" + ], + "pm": [ + "pm", + "ᱧᱤᱫᱟᱹ" + ], + "year": [ + "ᱥᱮᱨᱢᱟ", + "ᱥᱮᱨᱢᱟ/ᱵᱚᱪᱷᱚᱞᱨ" + ], + "month": [ + "ᱪᱟᱸᱫᱚ" + ], + "week": [ + "ᱦᱟᱯᱛᱟ/ᱮᱢᱦᱟ" + ], + "day": [ + "ᱢᱟᱦᱟ" + ], + "hour": [ + "hr", + "ᱴᱟᱲᱟᱝ" + ], + "minute": [ + "ᱴᱤᱯᱤᱡ" + ], + "second": [ + "ᱴᱤᱨᱤᱡ" + ], + "relative-type": { + "0 day ago": [ + "ᱛᱮᱦᱮᱧ" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "ᱦᱚᱞᱟ" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "ᱜᱟᱯᱟ" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/sat.json b/dateparser_data/cldr_language_data/date_translation_data/sat.json new file mode 100644 index 000000000..d32024bb3 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/sat.json @@ -0,0 +1,157 @@ +{ + "name": "sat", + "date_order": "DMY", + "january": [ + "ᱡᱟᱱ", + "ᱡᱟᱱᱣᱟᱨᱤ" + ], + "february": [ + "ᱯᱷᱟ", + "ᱯᱷᱟᱨᱣᱟᱨᱤ" + ], + "march": [ + "ᱢᱟᱨ", + "ᱢᱟᱨᱪ" + ], + "april": [ + "ᱟᱯᱨ", + "ᱟᱯᱨᱮᱞ" + ], + "may": [ + "ᱢᱮ" + ], + "june": [ + "ᱡᱩᱱ" + ], + "july": [ + "ᱡᱩᱞ", + "ᱡᱩᱞᱟᱭ" + ], + "august": [ + "ᱟᱜᱟ", + "ᱟᱜᱟᱥᱛ" + ], + "september": [ + "ᱥᱮᱯ", + "ᱥᱮᱯᱴᱮᱢᱵᱟᱨ" + ], + "october": [ + "ᱚᱠᱴ", + "ᱚᱠᱴᱚᱵᱟᱨ" + ], + "november": [ + "ᱱᱟᱣ", + "ᱱᱟᱣᱟᱢᱵᱟᱨ" + ], + "december": [ + "ᱫᱤᱥ", + "ᱫᱤᱥᱟᱢᱵᱟᱨ" + ], + "monday": [ + "ᱚᱛ", + "ᱚᱛᱮ" + ], + "tuesday": [ + "ᱵᱟ", + "ᱵᱟᱞᱮ" + ], + "wednesday": [ + "ᱥᱟᱹ", + "ᱥᱟᱹᱜᱩᱱ" + ], + "thursday": [ + "ᱥᱟᱹᱨ", + "ᱥᱟᱹᱨᱫᱤ" + ], + "friday": [ + "ᱡᱟᱹ", + "ᱡᱟᱹᱨᱩᱢ" + ], + "saturday": [ + "ᱧᱩ", + "ᱧᱩᱦᱩᱢ" + ], + "sunday": [ + "ᱥᱤᱸ", + "ᱥᱤᱸᱜᱮ" + ], + "am": [ + "am", + "ᱥᱮᱛᱟᱜ" + ], + "pm": [ + "pm", + "ᱧᱤᱫᱟᱹ" + ], + "year": [ + "ᱥᱮᱨᱢᱟ", + "ᱥᱮᱨᱢᱟ/ᱵᱚᱪᱷᱚᱞᱨ" + ], + "month": [ + "ᱪᱟᱸᱫᱚ" + ], + "week": [ + "ᱦᱟᱯᱛᱟ/ᱮᱢᱦᱟ" + ], + "day": [ + "ᱢᱟᱦᱟ" + ], + "hour": [ + "hr", + "ᱴᱟᱲᱟᱝ" + ], + "minute": [ + "ᱴᱤᱯᱤᱡ" + ], + "second": [ + "ᱴᱤᱨᱤᱡ" + ], + "relative-type": { + "0 day ago": [ + "ᱛᱮᱦᱮᱧ" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "ᱦᱚᱞᱟ" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "ᱜᱟᱯᱟ" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/sbp.json b/dateparser_data/cldr_language_data/date_translation_data/sbp.json index acd44b6cc..322243561 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/sbp.json +++ b/dateparser_data/cldr_language_data/date_translation_data/sbp.json @@ -96,6 +96,7 @@ "lusiku" ], "hour": [ + "hr", "ilisala" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/sc.json b/dateparser_data/cldr_language_data/date_translation_data/sc.json new file mode 100644 index 000000000..603ac3dea --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/sc.json @@ -0,0 +1,229 @@ +{ + "name": "sc", + "date_order": "DMY", + "january": [ + "ghe", + "ghennàrgiu" + ], + "february": [ + "fre", + "freàrgiu" + ], + "march": [ + "mar", + "martzu" + ], + "april": [ + "abr", + "abrile" + ], + "may": [ + "maj", + "maju" + ], + "june": [ + "làm", + "làmpadas" + ], + "july": [ + "trì", + "trìulas" + ], + "august": [ + "aus", + "austu" + ], + "september": [ + "cab", + "cabudanni" + ], + "october": [ + "santugaine", + "stg" + ], + "november": [ + "santandria", + "sta" + ], + "december": [ + "nad", + "nadale" + ], + "monday": [ + "lun", + "lunis" + ], + "tuesday": [ + "mar", + "martis" + ], + "wednesday": [ + "mèr", + "mèrcuris" + ], + "thursday": [ + "giò", + "giòbia" + ], + "friday": [ + "che", + "chenàbura" + ], + "saturday": [ + "sàb", + "sàbadu" + ], + "sunday": [ + "dom", + "domìniga" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "annu" + ], + "month": [ + "mese" + ], + "week": [ + "ch", + "chida" + ], + "day": [ + "die" + ], + "hour": [ + "ora", + "oras" + ], + "minute": [ + "min", + "minutu" + ], + "second": [ + "seg", + "segundu" + ], + "relative-type": { + "0 day ago": [ + "oe" + ], + "0 hour ago": [ + "cust'ora" + ], + "0 minute ago": [ + "custu minutu" + ], + "0 month ago": [ + "custu mese" + ], + "0 second ago": [ + "como" + ], + "0 week ago": [ + "custa chida" + ], + "0 year ago": [ + "ocannu" + ], + "1 day ago": [ + "eris" + ], + "1 month ago": [ + "su mese coladu" + ], + "1 week ago": [ + "sa chida colada" + ], + "1 year ago": [ + "ocannu coladu" + ], + "in 1 day": [ + "cras" + ], + "in 1 month": [ + "su mese chi intrat" + ], + "in 1 week": [ + "sa chida chi intrat" + ], + "in 1 year": [ + "ocannu chi benit" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} die a como", + "{0} dies a como" + ], + "\\1 hour ago": [ + "{0} o a como", + "{0} ora a como", + "{0} oras a como" + ], + "\\1 minute ago": [ + "{0} m a como", + "{0} min a como", + "{0} minutos a como", + "{0} minutu a como" + ], + "\\1 month ago": [ + "{0} mese a como", + "{0} meses a como" + ], + "\\1 second ago": [ + "{0} s a como", + "{0} seg a como", + "{0} segundos a como", + "{0} segundu a como" + ], + "\\1 week ago": [ + "{0} ch a como", + "{0} chida a como", + "{0} chidas a como" + ], + "\\1 year ago": [ + "{0} annos a como", + "{0} annu a como" + ], + "in \\1 day": [ + "intro de {0} die", + "intro de {0} dies" + ], + "in \\1 hour": [ + "intro de {0} o", + "intro de {0} ora", + "intro de {0} oras" + ], + "in \\1 minute": [ + "intro de {0} m", + "intro de {0} min", + "intro de {0} minutos", + "intro de {0} minutu" + ], + "in \\1 month": [ + "intro de {0} mese", + "intro de {0} meses" + ], + "in \\1 second": [ + "intro de {0} s", + "intro de {0} seg", + "intro de {0} segundos", + "intro de {0} segundu" + ], + "in \\1 week": [ + "intro de {0} ch", + "intro de {0} chida", + "intro de {0} chidas" + ], + "in \\1 year": [ + "intro de {0} annos", + "intro de {0} annu" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/scn.json b/dateparser_data/cldr_language_data/date_translation_data/scn.json new file mode 100644 index 000000000..028c55161 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/scn.json @@ -0,0 +1,101 @@ +{ + "name": "scn", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/sd-Arab.json b/dateparser_data/cldr_language_data/date_translation_data/sd-Arab.json new file mode 100644 index 000000000..80ffdc753 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/sd-Arab.json @@ -0,0 +1,185 @@ +{ + "name": "sd-Arab", + "date_order": "YMD", + "january": [ + "جنوري" + ], + "february": [ + "فيبروري" + ], + "march": [ + "مارچ" + ], + "april": [ + "اپريل" + ], + "may": [ + "مئي" + ], + "june": [ + "جون" + ], + "july": [ + "جولاءِ" + ], + "august": [ + "آگسٽ" + ], + "september": [ + "سيپٽمبر" + ], + "october": [ + "آڪٽوبر" + ], + "november": [ + "نومبر" + ], + "december": [ + "ڊسمبر" + ], + "monday": [ + "سومر" + ], + "tuesday": [ + "اڱارو" + ], + "wednesday": [ + "اربع" + ], + "thursday": [ + "خميس" + ], + "friday": [ + "جمعو" + ], + "saturday": [ + "ڇنڇر" + ], + "sunday": [ + "آچر" + ], + "am": [ + "صبح، منجهند" + ], + "pm": [ + "شام، منجهند", + "منجهند، شام" + ], + "year": [ + "سال" + ], + "month": [ + "مهينو" + ], + "week": [ + "هفتو" + ], + "day": [ + "ڏينهن" + ], + "hour": [ + "ڪلاڪ" + ], + "minute": [ + "منٽ" + ], + "second": [ + "سيڪنڊ" + ], + "relative-type": { + "0 day ago": [ + "اڄ" + ], + "0 hour ago": [ + "هن ڪلڪ" + ], + "0 minute ago": [ + "هن منٽ" + ], + "0 month ago": [ + "هن مهيني" + ], + "0 second ago": [ + "هاڻي" + ], + "0 week ago": [ + "هن هفتي" + ], + "0 year ago": [ + "هن سال", + "پويون سال" + ], + "1 day ago": [ + "ڪل" + ], + "1 month ago": [ + "پوئين مهيني" + ], + "1 week ago": [ + "پوئين هفتي" + ], + "1 year ago": [ + "پوئين سال", + "پويون سال" + ], + "in 1 day": [ + "سڀاڻي" + ], + "in 1 month": [ + "اڳين مهيني" + ], + "in 1 week": [ + "اڳين هفتي" + ], + "in 1 year": [ + "اڳيئن سال", + "اڳين سال", + "پويون سال" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} ڏينهن پهرين" + ], + "\\1 hour ago": [ + "{0} ڪلاڪ پهرين" + ], + "\\1 minute ago": [ + "{0} منٽ پهرين" + ], + "\\1 month ago": [ + "{0} مهينا پهرين" + ], + "\\1 second ago": [ + "{0} سيڪنڊ پهرين" + ], + "\\1 week ago": [ + "{0} هفتا پهرين" + ], + "\\1 year ago": [ + "{0} سال پهرين" + ], + "in \\1 day": [ + "{0} ڏينهن ۾" + ], + "in \\1 hour": [ + "{0} ڪلاڪ ۾" + ], + "in \\1 minute": [ + "{0} منٽن ۾" + ], + "in \\1 month": [ + "{0} مهينن ۾" + ], + "in \\1 second": [ + "{0} سيڪنڊن ۾" + ], + "in \\1 week": [ + "{0} هفتن ۾" + ], + "in \\1 year": [ + "{0} سالن ۾" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/sd-Deva.json b/dateparser_data/cldr_language_data/date_translation_data/sd-Deva.json new file mode 100644 index 000000000..7930696d0 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/sd-Deva.json @@ -0,0 +1,162 @@ +{ + "name": "sd-Deva", + "date_order": "MDY", + "january": [ + "जन", + "जनवरी" + ], + "february": [ + "फर", + "फरवरी" + ], + "march": [ + "मार्च", + "मार्चु" + ], + "april": [ + "अप्रै", + "अप्रैल" + ], + "may": [ + "मई" + ], + "june": [ + "जून" + ], + "july": [ + "जु", + "जुला", + "जुलाई" + ], + "august": [ + "अग", + "अगस्ट" + ], + "september": [ + "सप्टे", + "सप्टेंबर" + ], + "october": [ + "ऑक्टो", + "ऑक्टोबर", + "ओक्टोबर" + ], + "november": [ + "नवं", + "नवंबर" + ], + "december": [ + "डिसं", + "डिसंबर" + ], + "monday": [ + "सू", + "सूमर" + ], + "tuesday": [ + "मं", + "मंग", + "मंगलु" + ], + "wednesday": [ + "बुध", + "बु॒ध", + "बु॒धर" + ], + "thursday": [ + "विस", + "विस्पत" + ], + "friday": [ + "जु", + "जुम", + "जुमो" + ], + "saturday": [ + "छंछ", + "छंछर" + ], + "sunday": [ + "आ", + "आर्त", + "आर्तवार" + ], + "am": [ + "am", + "सुबुह जा" + ], + "pm": [ + "pm", + "शाम जा" + ], + "year": [ + "साल" + ], + "month": [ + "महिनो" + ], + "week": [ + "हफ्तो" + ], + "day": [ + "दीं॒हुं" + ], + "hour": [ + "hr", + "कलाक" + ], + "minute": [ + "मिंटु" + ], + "second": [ + "सेकिंडु" + ], + "relative-type": { + "0 day ago": [ + "अॼु" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "कल" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "सुभाणे" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/sd.json b/dateparser_data/cldr_language_data/date_translation_data/sd.json new file mode 100644 index 000000000..5562fdfa1 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/sd.json @@ -0,0 +1,185 @@ +{ + "name": "sd", + "date_order": "YMD", + "january": [ + "جنوري" + ], + "february": [ + "فيبروري" + ], + "march": [ + "مارچ" + ], + "april": [ + "اپريل" + ], + "may": [ + "مئي" + ], + "june": [ + "جون" + ], + "july": [ + "جولاءِ" + ], + "august": [ + "آگسٽ" + ], + "september": [ + "سيپٽمبر" + ], + "october": [ + "آڪٽوبر" + ], + "november": [ + "نومبر" + ], + "december": [ + "ڊسمبر" + ], + "monday": [ + "سومر" + ], + "tuesday": [ + "اڱارو" + ], + "wednesday": [ + "اربع" + ], + "thursday": [ + "خميس" + ], + "friday": [ + "جمعو" + ], + "saturday": [ + "ڇنڇر" + ], + "sunday": [ + "آچر" + ], + "am": [ + "صبح، منجهند" + ], + "pm": [ + "شام، منجهند", + "منجهند، شام" + ], + "year": [ + "سال" + ], + "month": [ + "مهينو" + ], + "week": [ + "هفتو" + ], + "day": [ + "ڏينهن" + ], + "hour": [ + "ڪلاڪ" + ], + "minute": [ + "منٽ" + ], + "second": [ + "سيڪنڊ" + ], + "relative-type": { + "0 day ago": [ + "اڄ" + ], + "0 hour ago": [ + "هن ڪلڪ" + ], + "0 minute ago": [ + "هن منٽ" + ], + "0 month ago": [ + "هن مهيني" + ], + "0 second ago": [ + "هاڻي" + ], + "0 week ago": [ + "هن هفتي" + ], + "0 year ago": [ + "هن سال", + "پويون سال" + ], + "1 day ago": [ + "ڪل" + ], + "1 month ago": [ + "پوئين مهيني" + ], + "1 week ago": [ + "پوئين هفتي" + ], + "1 year ago": [ + "پوئين سال", + "پويون سال" + ], + "in 1 day": [ + "سڀاڻي" + ], + "in 1 month": [ + "اڳين مهيني" + ], + "in 1 week": [ + "اڳين هفتي" + ], + "in 1 year": [ + "اڳيئن سال", + "اڳين سال", + "پويون سال" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} ڏينهن پهرين" + ], + "\\1 hour ago": [ + "{0} ڪلاڪ پهرين" + ], + "\\1 minute ago": [ + "{0} منٽ پهرين" + ], + "\\1 month ago": [ + "{0} مهينا پهرين" + ], + "\\1 second ago": [ + "{0} سيڪنڊ پهرين" + ], + "\\1 week ago": [ + "{0} هفتا پهرين" + ], + "\\1 year ago": [ + "{0} سال پهرين" + ], + "in \\1 day": [ + "{0} ڏينهن ۾" + ], + "in \\1 hour": [ + "{0} ڪلاڪ ۾" + ], + "in \\1 minute": [ + "{0} منٽن ۾" + ], + "in \\1 month": [ + "{0} مهينن ۾" + ], + "in \\1 second": [ + "{0} سيڪنڊن ۾" + ], + "in \\1 week": [ + "{0} هفتن ۾" + ], + "in \\1 year": [ + "{0} سالن ۾" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/sdh.json b/dateparser_data/cldr_language_data/date_translation_data/sdh.json new file mode 100644 index 000000000..c69527dd0 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/sdh.json @@ -0,0 +1,105 @@ +{ + "name": "sdh", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "sdh-IQ": { + "name": "sdh-IQ" + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/se.json b/dateparser_data/cldr_language_data/date_translation_data/se.json index 95e57a715..85604aed5 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/se.json +++ b/dateparser_data/cldr_language_data/date_translation_data/se.json @@ -100,7 +100,8 @@ "beaivi" ], "hour": [ - "diibmu" + "diibmu", + "diibmur" ], "minute": [ "minuhtta" @@ -214,47 +215,151 @@ "locale_specific": { "se-FI": { "name": "se-FI", + "date_order": "DMY", + "april": [ + "cuoŋ" + ], "monday": [ - "vuossárgga" + "má", + "mánnodat" ], "tuesday": [ - "maŋŋebárgga" + "di", + "disdat" ], "wednesday": [ - "gaskavahku" + "ga" ], "thursday": [ - "duorastaga" + "du", + "duorastat" ], "friday": [ - "bearjadaga" + "be" ], "saturday": [ - "lávvardaga" + "lá", + "lávvordat" + ], + "sunday": [ + "so" ], "year": [ "j", "jahki" ], + "month": [ + "m" + ], "week": [ + "v(k)", "vahkku" ], + "day": [ + "b" + ], + "hour": [ + "dmu" + ], + "minute": [ + "min" + ], + "second": [ + "sek" + ], "relative-type": { + "0 hour ago": [ + "dán diimmu" + ], + "0 minute ago": [ + "dán minuhta" + ], + "0 month ago": [ + "dán mánu" + ], + "0 second ago": [ + "dál" + ], + "0 week ago": [ + "dán vahku" + ], "0 year ago": [ "dán jagi" ], + "1 month ago": [ + "mannan mánu" + ], + "1 week ago": [ + "mannan vahku" + ], "1 year ago": [ - "mannan jagi" + "diibmá" + ], + "in 1 month": [ + "boahtte mánu" + ], + "in 1 week": [ + "boahtte vahku" ], "in 1 year": [ "boahtte jagi" ] }, "relative-type-regex": { + "\\1 day ago": [ + "{0} beaivve dás ovdal" + ], + "\\1 hour ago": [ + "{0} diibmu áigi", + "{0} diimmu áigi", + "{0} dmu áigi" + ], + "\\1 minute ago": [ + "{0} min áigi", + "{0} minuhta áigi", + "{0} minuhtta áigi" + ], + "\\1 month ago": [ + "{0} mánnu dás ovdal", + "{0} mánu dás ovdal" + ], + "\\1 second ago": [ + "{0} sek áigi", + "{0} sekunda áigi", + "{0} sekundda áigi" + ], + "\\1 week ago": [ + "{0} vahkku dás ovdal", + "{0} vahku dás ovdal" + ], "\\1 year ago": [ - "{0} jagi árat" + "{0} j dás ovdal", + "{0} jagi dás ovdal" + ], + "in \\1 day": [ + "{0} beaivve siste" + ], + "in \\1 hour": [ + "{0} diimmu siste", + "{0} dmu siste" + ], + "in \\1 minute": [ + "{0} min siste", + "{0} minuhta siste" + ], + "in \\1 month": [ + "{0} mánu geahčen", + "{0} mánu siste" + ], + "in \\1 second": [ + "{0} sek siste", + "{0} sekundda siste" + ], + "in \\1 week": [ + "{0} vahku geahčen" ], "in \\1 year": [ + "{0} j siste", "{0} jagi siste" ] } diff --git a/dateparser_data/cldr_language_data/date_translation_data/seh.json b/dateparser_data/cldr_language_data/date_translation_data/seh.json index f1792f055..dfa1f8ac7 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/seh.json +++ b/dateparser_data/cldr_language_data/date_translation_data/seh.json @@ -96,7 +96,8 @@ "ntsiku" ], "hour": [ - "hora" + "hora", + "hr" ], "minute": [ "minuto" diff --git a/dateparser_data/cldr_language_data/date_translation_data/ses.json b/dateparser_data/cldr_language_data/date_translation_data/ses.json index f935764d8..84b55e215 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ses.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ses.json @@ -94,7 +94,8 @@ "zaari" ], "hour": [ - "guuru" + "guuru", + "hr" ], "minute": [ "miniti" diff --git a/dateparser_data/cldr_language_data/date_translation_data/sg.json b/dateparser_data/cldr_language_data/date_translation_data/sg.json index 52cc1c08b..3b5a31060 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/sg.json +++ b/dateparser_data/cldr_language_data/date_translation_data/sg.json @@ -96,6 +96,7 @@ "lâ" ], "hour": [ + "hr", "ngbonga" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/shi-Latn.json b/dateparser_data/cldr_language_data/date_translation_data/shi-Latn.json index 61c968311..00ad2c008 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/shi-Latn.json +++ b/dateparser_data/cldr_language_data/date_translation_data/shi-Latn.json @@ -96,6 +96,7 @@ "ass" ], "hour": [ + "hr", "tasragt" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/shi-Tfng.json b/dateparser_data/cldr_language_data/date_translation_data/shi-Tfng.json index 22b1473c0..f0d3b2f0b 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/shi-Tfng.json +++ b/dateparser_data/cldr_language_data/date_translation_data/shi-Tfng.json @@ -96,6 +96,7 @@ "ⴰⵙⵙ" ], "hour": [ + "hr", "ⵜⴰⵙⵔⴰⴳⵜ" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/shi.json b/dateparser_data/cldr_language_data/date_translation_data/shi.json index 5124c2d72..8888bf0b7 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/shi.json +++ b/dateparser_data/cldr_language_data/date_translation_data/shi.json @@ -96,6 +96,7 @@ "ⴰⵙⵙ" ], "hour": [ + "hr", "ⵜⴰⵙⵔⴰⴳⵜ" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/shn.json b/dateparser_data/cldr_language_data/date_translation_data/shn.json new file mode 100644 index 000000000..ee9b949ac --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/shn.json @@ -0,0 +1,105 @@ +{ + "name": "shn", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "shn-TH": { + "name": "shn-TH" + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/si.json b/dateparser_data/cldr_language_data/date_translation_data/si.json index 7e7194dc5..3162d529a 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/si.json +++ b/dateparser_data/cldr_language_data/date_translation_data/si.json @@ -92,16 +92,13 @@ "දිනය" ], "hour": [ - "පැ", "පැය" ], "minute": [ - "මි", "මිනි", "මිනිත්තුව" ], "second": [ - "ත", "තත්", "තත්පරය" ], diff --git a/dateparser_data/cldr_language_data/date_translation_data/sid.json b/dateparser_data/cldr_language_data/date_translation_data/sid.json new file mode 100644 index 000000000..cdf06ad5a --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/sid.json @@ -0,0 +1,101 @@ +{ + "name": "sid", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/sk.json b/dateparser_data/cldr_language_data/date_translation_data/sk.json index b8b883979..bf184ecc3 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/sk.json +++ b/dateparser_data/cldr_language_data/date_translation_data/sk.json @@ -110,7 +110,8 @@ ], "hour": [ "h", - "hodina" + "hodina", + "hodiny" ], "minute": [ "min", @@ -131,12 +132,14 @@ "v tejto minúte" ], "0 month ago": [ + "tento mes", "tento mesiac" ], "0 second ago": [ "teraz" ], "0 week ago": [ + "tento týž", "tento týždeň" ], "0 year ago": [ @@ -146,9 +149,11 @@ "včera" ], "1 month ago": [ + "minulý mes", "minulý mesiac" ], "1 week ago": [ + "minulý týž", "minulý týždeň" ], "1 year ago": [ @@ -158,9 +163,11 @@ "zajtra" ], "in 1 month": [ + "budúci mes", "budúci mesiac" ], "in 1 week": [ + "budúci týž", "budúci týždeň" ], "in 1 year": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/skr.json b/dateparser_data/cldr_language_data/date_translation_data/skr.json new file mode 100644 index 000000000..7b8dd742b --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/skr.json @@ -0,0 +1,101 @@ +{ + "name": "skr", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/sl.json b/dateparser_data/cldr_language_data/date_translation_data/sl.json index 77a66432d..d2cdef9a3 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/sl.json +++ b/dateparser_data/cldr_language_data/date_translation_data/sl.json @@ -100,7 +100,8 @@ ], "hour": [ "h", - "ura" + "ura", + "ure" ], "minute": [ "min", @@ -122,12 +123,14 @@ "to minuto" ], "0 month ago": [ + "ta mes", "ta mesec" ], "0 second ago": [ "zdaj" ], "0 week ago": [ + "ta ted", "ta teden" ], "0 year ago": [ @@ -137,9 +140,13 @@ "včeraj" ], "1 month ago": [ + "prej mes", + "prejšnji mes", "prejšnji mesec" ], "1 week ago": [ + "prej ted", + "prejšnji ted", "prejšnji teden" ], "1 year ago": [ @@ -149,9 +156,13 @@ "jutri" ], "in 1 month": [ + "nasl mes", + "naslednji mes", "naslednji mesec" ], "in 1 week": [ + "nasl ted", + "naslednji ted", "naslednji teden" ], "in 1 year": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/sma.json b/dateparser_data/cldr_language_data/date_translation_data/sma.json new file mode 100644 index 000000000..19824bbbf --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/sma.json @@ -0,0 +1,105 @@ +{ + "name": "sma", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "sma-NO": { + "name": "sma-NO" + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/smj.json b/dateparser_data/cldr_language_data/date_translation_data/smj.json new file mode 100644 index 000000000..28a84df5f --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/smj.json @@ -0,0 +1,105 @@ +{ + "name": "smj", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "smj-NO": { + "name": "smj-NO" + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/smn.json b/dateparser_data/cldr_language_data/date_translation_data/smn.json index debf7b9b4..8eaadfd75 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/smn.json +++ b/dateparser_data/cldr_language_data/date_translation_data/smn.json @@ -103,7 +103,8 @@ "day" ], "hour": [ - "hour" + "hour", + "tiijmeh" ], "minute": [ "minute" diff --git a/dateparser_data/cldr_language_data/date_translation_data/sms.json b/dateparser_data/cldr_language_data/date_translation_data/sms.json new file mode 100644 index 000000000..271f20aeb --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/sms.json @@ -0,0 +1,101 @@ +{ + "name": "sms", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/sn.json b/dateparser_data/cldr_language_data/date_translation_data/sn.json index f306903cf..b1e28d11d 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/sn.json +++ b/dateparser_data/cldr_language_data/date_translation_data/sn.json @@ -96,7 +96,8 @@ "zuva" ], "hour": [ - "awa" + "awa", + "hr" ], "minute": [ "mineti" diff --git a/dateparser_data/cldr_language_data/date_translation_data/so.json b/dateparser_data/cldr_language_data/date_translation_data/so.json index 850727fc2..d7463da9e 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/so.json +++ b/dateparser_data/cldr_language_data/date_translation_data/so.json @@ -3,152 +3,244 @@ "date_order": "DMY", "january": [ "bisha koobaad", - "kob" + "jan", + "jannaayo" ], "february": [ "bisha labaad", - "lab" + "feb", + "febraayo" ], "march": [ "bisha saddexaad", - "sad" + "maarso", + "mar" ], "april": [ - "afr", + "abr", + "abriil", "bisha afraad" ], "may": [ "bisha shanaad", - "sha" + "may" ], "june": [ "bisha lixaad", - "lix" + "jun", + "juun" ], "july": [ "bisha todobaad", - "tod" + "lul", + "luuliyo" ], "august": [ "bisha sideedaad", - "sid" + "ogosto", + "ogs" ], "september": [ "bisha sagaalaad", - "sag" + "seb", + "sebteembar" ], "october": [ "bisha tobnaad", - "tob" + "okt", + "oktoobar" ], "november": [ "bisha kow iyo tobnaad", - "kit" + "nof", + "noofeembar" ], "december": [ "bisha laba iyo tobnaad", - "lit" + "dis", + "diseembar" ], "monday": [ "isn", "isniin" ], "tuesday": [ - "tal", - "talaado" + "talaado", + "tldo" ], "wednesday": [ - "arb", - "arbaco" + "arbaco", + "arbc" ], "thursday": [ - "kha", - "khamiis" + "khamiis", + "khms" ], "friday": [ - "jim", - "jimco" + "jimco", + "jmc" ], "saturday": [ - "sab", - "sabti" + "sabti", + "sbti" ], "sunday": [ "axad", "axd" ], "am": [ - "sn" + "am", + "gh" ], "pm": [ - "gn" + "gd" ], "year": [ - "year" + "sannad", + "snd" ], "month": [ - "month" + "bil" ], "week": [ - "week" + "tdbd", + "toddobaad" ], "day": [ - "day" + "maalin", + "mln" ], "hour": [ - "hour" + "saacad", + "saacado", + "scd" ], "minute": [ - "minute" + "daqiiqad", + "dqqd" ], "second": [ - "second" + "ilbiriqsi", + "ilbrqsi" ], "relative-type": { "0 day ago": [ "maanta" ], "0 hour ago": [ - "this hour" + "saacadan" ], "0 minute ago": [ - "this minute" + "daqiiqadan" ], "0 month ago": [ - "this month" + "bishan" ], "0 second ago": [ - "now" + "imika", + "iminka" ], "0 week ago": [ - "this week" + "toddobaadkan", + "usbuucan" ], "0 year ago": [ - "this year" + "sannadkan" ], "1 day ago": [ "shalay" ], "1 month ago": [ - "last month" + "bishii hore" ], "1 week ago": [ - "last week" + "toddobaadkii hore" ], "1 year ago": [ - "last year" + "sannadkii hore", + "sannadkii la soo dhaafay" ], "in 1 day": [ "berri" ], "in 1 month": [ - "next month" + "bisha danbe" ], "in 1 week": [ - "next week" + "toddobaadka danbe" ], "in 1 year": [ - "next year" + "sannadka danbe", + "sannadka xiga" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} maalin kahor", + "{0} maalmood kahor", + "{0} mlmd khr", + "{0} mln khr" + ], + "\\1 hour ago": [ + "{0} saacad kahor", + "{0} saacadood kahor", + "{0} scd khr" + ], + "\\1 minute ago": [ + "{0} daqiiqad kahor", + "{0} daqiiqadood kahor", + "{0} dqqd khr" + ], + "\\1 month ago": [ + "{0} bil kahor", + "{0} bil khr", + "{0} bilood kahor" + ], + "\\1 second ago": [ + "{0} ilbiriqsi kahor", + "{0} ilbrqsi khr" + ], + "\\1 week ago": [ + "{0} tdbd khr", + "{0} toddobaad kahor" + ], + "\\1 year ago": [ + "{0} sannad kahor", + "{0} sannadood kahor", + "{0} snd khr" + ], + "in \\1 day": [ + "{0} maalin", + "{0} maalmood", + "{0} mlmd", + "{0} mln" + ], + "in \\1 hour": [ + "{0} saacad", + "{0} saacadood", + "{0} scd" + ], + "in \\1 minute": [ + "{0} daqiidadood", + "{0} daqiiqad", + "{0} dqqd" + ], + "in \\1 month": [ + "{0} bil", + "{0} bilood" + ], + "in \\1 second": [ + "{0} ilbiriqsi", + "{0} ilbrqsi" + ], + "in \\1 week": [ + "{0} tdbd", + "{0} toddobaad" + ], + "in \\1 year": [ + "{0} sannad", + "{0} sannadood", + "{0} snd" ] }, "locale_specific": { diff --git a/dateparser_data/cldr_language_data/date_translation_data/sq.json b/dateparser_data/cldr_language_data/date_translation_data/sq.json index 5ac218ed4..655499e53 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/sq.json +++ b/dateparser_data/cldr_language_data/date_translation_data/sq.json @@ -25,11 +25,11 @@ "qershor" ], "july": [ - "kor", + "korr", "korrik" ], "august": [ - "gsh", + "gush", "gusht" ], "september": [ @@ -78,10 +78,12 @@ ], "am": [ "e paradites", - "paradite" + "paradite", + "pd" ], "pm": [ "e pasdites", + "md", "pasdite" ], "year": [ @@ -127,7 +129,8 @@ "këtë javë" ], "0 year ago": [ - "këtë vit" + "këtë vit", + "sivjet" ], "1 day ago": [ "dje" @@ -139,7 +142,8 @@ "javën e kaluar" ], "1 year ago": [ - "vitin e kaluar" + "vitin e kaluar", + "vjet" ], "in 1 day": [ "nesër" @@ -151,6 +155,7 @@ "javën e ardhshme" ], "in 1 year": [ + "mot", "vitin e ardhshëm" ] }, diff --git a/dateparser_data/cldr_language_data/date_translation_data/sr-Cyrl.json b/dateparser_data/cldr_language_data/date_translation_data/sr-Cyrl.json index b894802e0..36d465c4e 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/sr-Cyrl.json +++ b/dateparser_data/cldr_language_data/date_translation_data/sr-Cyrl.json @@ -75,10 +75,10 @@ "недеља" ], "am": [ - "пре подне" + "am" ], "pm": [ - "по подне" + "pm" ], "year": [ "г", @@ -86,12 +86,10 @@ "година" ], "month": [ - "м", "мес", "месец" ], "week": [ - "н", "нед", "недеља" ], @@ -101,6 +99,7 @@ ], "hour": [ "сат", + "сати", "ч" ], "minute": [ @@ -123,39 +122,54 @@ "овог минута" ], "0 month ago": [ + "овог мес", "овог месеца" ], "0 second ago": [ "сада" ], "0 week ago": [ + "ове н", + "ове нед", "ове недеље" ], "0 year ago": [ + "ове г", + "ове год", "ове године" ], "1 day ago": [ "јуче" ], "1 month ago": [ + "прошлог мес", "прошлог месеца" ], "1 week ago": [ + "прошле н", + "прошле нед", "прошле недеље" ], "1 year ago": [ + "прошле г", + "прошле год", "прошле године" ], "in 1 day": [ "сутра" ], "in 1 month": [ + "следећег мес", "следећег месеца" ], "in 1 week": [ + "следеће н", + "следеће нед", "следеће недеље" ], "in 1 year": [ + "следеће г", + "следеће год", "следеће године" ] }, @@ -240,14 +254,11 @@ "locale_specific": { "sr-Cyrl-BA": { "name": "sr-Cyrl-BA", - "september": [ - "септ" - ], - "tuesday": [ - "ут" + "monday": [ + "понедјељак" ], "wednesday": [ - "ср", + "сри", "сриједа" ], "sunday": [ @@ -255,18 +266,110 @@ ], "am": [ "прије подне" - ] + ], + "pm": [ + "по подне" + ], + "month": [ + "мјес", + "мјесец" + ], + "week": [ + "седм", + "седмица" + ], + "relative-type": { + "0 month ago": [ + "овог мјес", + "овог мјесеца" + ], + "0 week ago": [ + "ове с", + "ове седм", + "ове седмице" + ], + "1 month ago": [ + "прошлог мјес", + "прошлог мјесеца" + ], + "1 week ago": [ + "прошле с", + "прошле седм", + "прошле седмице" + ], + "in 1 month": [ + "сљедећег м", + "сљедећег мјес", + "сљедећег мјесеца" + ], + "in 1 week": [ + "сљедеће с", + "сљедеће седм", + "сљедеће седмице" + ], + "in 1 year": [ + "сљедеће г", + "сљедеће год", + "сљедеће године" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "прије {0} д", + "прије {0} дана" + ], + "\\1 hour ago": [ + "прије {0} сата", + "прије {0} сати", + "прије {0} ч" + ], + "\\1 minute ago": [ + "прије {0} мин", + "прије {0} минута" + ], + "\\1 month ago": [ + "прије {0} м", + "прије {0} мјес", + "прије {0} мјесеца", + "прије {0} мјесеци" + ], + "\\1 second ago": [ + "прије {0} с", + "прије {0} сек", + "прије {0} секунде", + "прије {0} секунди" + ], + "\\1 week ago": [ + "прије {0} с", + "прије {0} седм", + "прије {0} седмица", + "прије {0} седмице" + ], + "\\1 year ago": [ + "прије {0} г", + "прије {0} год", + "прије {0} година", + "прије {0} године" + ], + "in \\1 month": [ + "за {0} мјес", + "за {0} мјесец", + "за {0} мјесеци" + ], + "in \\1 week": [ + "за {0} с", + "за {0} седм", + "за {0} седмица", + "за {0} седмицу" + ] + } }, "sr-Cyrl-ME": { "name": "sr-Cyrl-ME", "september": [ "септ" ], - "tuesday": [ - "ут" - ], "wednesday": [ - "ср", "сриједа" ], "sunday": [ @@ -274,18 +377,15 @@ ], "am": [ "прије подне" + ], + "pm": [ + "по подне" ] }, "sr-Cyrl-XK": { "name": "sr-Cyrl-XK", "september": [ "септ" - ], - "tuesday": [ - "ут" - ], - "wednesday": [ - "ср" ] } } diff --git a/dateparser_data/cldr_language_data/date_translation_data/sr-Latn.json b/dateparser_data/cldr_language_data/date_translation_data/sr-Latn.json index 74ce8fd02..46321b6e1 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/sr-Latn.json +++ b/dateparser_data/cldr_language_data/date_translation_data/sr-Latn.json @@ -75,10 +75,10 @@ "nedelja" ], "am": [ - "pre podne" + "am" ], "pm": [ - "po podne" + "pm" ], "year": [ "g", @@ -86,12 +86,10 @@ "godina" ], "month": [ - "m", "mes", "mesec" ], "week": [ - "n", "ned", "nedelja" ], @@ -101,6 +99,7 @@ ], "hour": [ "sat", + "sati", "č" ], "minute": [ @@ -123,39 +122,54 @@ "ovog minuta" ], "0 month ago": [ + "ovog mes", "ovog meseca" ], "0 second ago": [ "sada" ], "0 week ago": [ + "ove n", + "ove ned", "ove nedelje" ], "0 year ago": [ + "ove g", + "ove god", "ove godine" ], "1 day ago": [ "juče" ], "1 month ago": [ + "prošlog mes", "prošlog meseca" ], "1 week ago": [ + "prošle n", + "prošle ned", "prošle nedelje" ], "1 year ago": [ + "prošle g", + "prošle god", "prošle godine" ], "in 1 day": [ "sutra" ], "in 1 month": [ + "sledećeg mes", "sledećeg meseca" ], "in 1 week": [ + "sledeće n", + "sledeće ned", "sledeće nedelje" ], "in 1 year": [ + "sledeće g", + "sledeće god", "sledeće godine" ] }, @@ -240,14 +254,11 @@ "locale_specific": { "sr-Latn-BA": { "name": "sr-Latn-BA", - "september": [ - "sept" - ], - "tuesday": [ - "ut" + "monday": [ + "ponedjeljak" ], "wednesday": [ - "sr", + "sri", "srijeda" ], "sunday": [ @@ -255,18 +266,110 @@ ], "am": [ "prije podne" - ] + ], + "pm": [ + "po podne" + ], + "month": [ + "mjes", + "mjesec" + ], + "week": [ + "sedm", + "sedmica" + ], + "relative-type": { + "0 month ago": [ + "ovog mjes", + "ovog mjeseca" + ], + "0 week ago": [ + "ove s", + "ove sedm", + "ove sedmice" + ], + "1 month ago": [ + "prošlog mjes", + "prošlog mjeseca" + ], + "1 week ago": [ + "prošle s", + "prošle sedm", + "prošle sedmice" + ], + "in 1 month": [ + "sljedećeg m", + "sljedećeg mjes", + "sljedećeg mjeseca" + ], + "in 1 week": [ + "sljedeće s", + "sljedeće sedm", + "sljedeće sedmice" + ], + "in 1 year": [ + "sljedeće g", + "sljedeće god", + "sljedeće godine" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "prije {0} d", + "prije {0} dana" + ], + "\\1 hour ago": [ + "prije {0} sata", + "prije {0} sati", + "prije {0} č" + ], + "\\1 minute ago": [ + "prije {0} min", + "prije {0} minuta" + ], + "\\1 month ago": [ + "prije {0} m", + "prije {0} mjes", + "prije {0} mjeseca", + "prije {0} mjeseci" + ], + "\\1 second ago": [ + "prije {0} s", + "prije {0} sek", + "prije {0} sekunde", + "prije {0} sekundi" + ], + "\\1 week ago": [ + "prije {0} s", + "prije {0} sedm", + "prije {0} sedmica", + "prije {0} sedmice" + ], + "\\1 year ago": [ + "prije {0} g", + "prije {0} god", + "prije {0} godina", + "prije {0} godine" + ], + "in \\1 month": [ + "za {0} mjes", + "za {0} mjesec", + "za {0} mjeseci" + ], + "in \\1 week": [ + "za {0} s", + "za {0} sedm", + "za {0} sedmica", + "za {0} sedmicu" + ] + } }, "sr-Latn-ME": { "name": "sr-Latn-ME", "september": [ "sept" ], - "tuesday": [ - "ut" - ], "wednesday": [ - "sr", "srijeda" ], "sunday": [ @@ -274,18 +377,15 @@ ], "am": [ "prije podne" + ], + "pm": [ + "po podne" ] }, "sr-Latn-XK": { "name": "sr-Latn-XK", "september": [ "sept" - ], - "tuesday": [ - "ut" - ], - "wednesday": [ - "sr" ] } } diff --git a/dateparser_data/cldr_language_data/date_translation_data/sr.json b/dateparser_data/cldr_language_data/date_translation_data/sr.json index 2ce5041b7..0a0b444f2 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/sr.json +++ b/dateparser_data/cldr_language_data/date_translation_data/sr.json @@ -75,10 +75,10 @@ "недеља" ], "am": [ - "пре подне" + "am" ], "pm": [ - "по подне" + "pm" ], "year": [ "г", @@ -86,12 +86,10 @@ "година" ], "month": [ - "м", "мес", "месец" ], "week": [ - "н", "нед", "недеља" ], @@ -101,6 +99,7 @@ ], "hour": [ "сат", + "сати", "ч" ], "minute": [ @@ -123,39 +122,54 @@ "овог минута" ], "0 month ago": [ + "овог мес", "овог месеца" ], "0 second ago": [ "сада" ], "0 week ago": [ + "ове н", + "ове нед", "ове недеље" ], "0 year ago": [ + "ове г", + "ове год", "ове године" ], "1 day ago": [ "јуче" ], "1 month ago": [ + "прошлог мес", "прошлог месеца" ], "1 week ago": [ + "прошле н", + "прошле нед", "прошле недеље" ], "1 year ago": [ + "прошле г", + "прошле год", "прошле године" ], "in 1 day": [ "сутра" ], "in 1 month": [ + "следећег мес", "следећег месеца" ], "in 1 week": [ + "следеће н", + "следеће нед", "следеће недеље" ], "in 1 year": [ + "следеће г", + "следеће год", "следеће године" ] }, diff --git a/dateparser_data/cldr_language_data/date_translation_data/ss.json b/dateparser_data/cldr_language_data/date_translation_data/ss.json new file mode 100644 index 000000000..5b377d76d --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/ss.json @@ -0,0 +1,105 @@ +{ + "name": "ss", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "ss-SZ": { + "name": "ss-SZ" + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ssy.json b/dateparser_data/cldr_language_data/date_translation_data/ssy.json new file mode 100644 index 000000000..56c14ccdf --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/ssy.json @@ -0,0 +1,101 @@ +{ + "name": "ssy", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/st.json b/dateparser_data/cldr_language_data/date_translation_data/st.json new file mode 100644 index 000000000..05a71926c --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/st.json @@ -0,0 +1,160 @@ +{ + "name": "st", + "date_order": "YMD", + "january": [ + "phe", + "phesekgong" + ], + "february": [ + "hlakola", + "kol" + ], + "march": [ + "hlakubele", + "ube" + ], + "april": [ + "mme", + "mmese" + ], + "may": [ + "mot", + "motsheanong" + ], + "june": [ + "jan", + "phupjane" + ], + "july": [ + "phupu", + "upu" + ], + "august": [ + "pha", + "phata" + ], + "september": [ + "leo", + "leotshe" + ], + "october": [ + "mph", + "mphalane" + ], + "november": [ + "pun", + "pundungwane" + ], + "december": [ + "tsh", + "tshitwe" + ], + "monday": [ + "mma", + "mmantaha" + ], + "tuesday": [ + "bed", + "labobedi" + ], + "wednesday": [ + "laboraru", + "rar" + ], + "thursday": [ + "labone", + "ne" + ], + "friday": [ + "hla", + "labohlane" + ], + "saturday": [ + "moq", + "moqebelo" + ], + "sunday": [ + "son", + "sontaha" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "st-LS": { + "name": "st-LS" + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/su-Latn.json b/dateparser_data/cldr_language_data/date_translation_data/su-Latn.json new file mode 100644 index 000000000..87f8fe07b --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/su-Latn.json @@ -0,0 +1,161 @@ +{ + "name": "su-Latn", + "date_order": "DMY", + "january": [ + "jan", + "januari" + ], + "february": [ + "péb", + "pébruari" + ], + "march": [ + "mar", + "maret" + ], + "april": [ + "apr", + "april" + ], + "may": [ + "méi" + ], + "june": [ + "jun", + "juni" + ], + "july": [ + "jul", + "juli" + ], + "august": [ + "ags", + "agustus" + ], + "september": [ + "sép", + "séptémber" + ], + "october": [ + "okt", + "oktober" + ], + "november": [ + "nop", + "nopémber" + ], + "december": [ + "dés", + "désémber" + ], + "monday": [ + "sen", + "senén" + ], + "tuesday": [ + "sal", + "salasa" + ], + "wednesday": [ + "reb", + "rebo" + ], + "thursday": [ + "kem", + "kemis" + ], + "friday": [ + "jum", + "jumaah" + ], + "saturday": [ + "sap", + "saptu" + ], + "sunday": [ + "minggu", + "mng" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "taun", + "tn" + ], + "month": [ + "sa", + "sasih" + ], + "week": [ + "mgg", + "minggu" + ], + "day": [ + "dinten" + ], + "hour": [ + "hr", + "j", + "jam" + ], + "minute": [ + "menit", + "mnt" + ], + "second": [ + "detik", + "dtk" + ], + "relative-type": { + "0 day ago": [ + "dinten ieu" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "taun ieu" + ], + "1 day ago": [ + "kamari" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "taun kamari" + ], + "in 1 day": [ + "énjing" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "taun payun" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/su.json b/dateparser_data/cldr_language_data/date_translation_data/su.json new file mode 100644 index 000000000..67ac3824e --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/su.json @@ -0,0 +1,161 @@ +{ + "name": "su", + "date_order": "DMY", + "january": [ + "jan", + "januari" + ], + "february": [ + "péb", + "pébruari" + ], + "march": [ + "mar", + "maret" + ], + "april": [ + "apr", + "april" + ], + "may": [ + "méi" + ], + "june": [ + "jun", + "juni" + ], + "july": [ + "jul", + "juli" + ], + "august": [ + "ags", + "agustus" + ], + "september": [ + "sép", + "séptémber" + ], + "october": [ + "okt", + "oktober" + ], + "november": [ + "nop", + "nopémber" + ], + "december": [ + "dés", + "désémber" + ], + "monday": [ + "sen", + "senén" + ], + "tuesday": [ + "sal", + "salasa" + ], + "wednesday": [ + "reb", + "rebo" + ], + "thursday": [ + "kem", + "kemis" + ], + "friday": [ + "jum", + "jumaah" + ], + "saturday": [ + "sap", + "saptu" + ], + "sunday": [ + "minggu", + "mng" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "taun", + "tn" + ], + "month": [ + "sa", + "sasih" + ], + "week": [ + "mgg", + "minggu" + ], + "day": [ + "dinten" + ], + "hour": [ + "hr", + "j", + "jam" + ], + "minute": [ + "menit", + "mnt" + ], + "second": [ + "detik", + "dtk" + ], + "relative-type": { + "0 day ago": [ + "dinten ieu" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "taun ieu" + ], + "1 day ago": [ + "kamari" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "taun kamari" + ], + "in 1 day": [ + "énjing" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "taun payun" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/sv.json b/dateparser_data/cldr_language_data/date_translation_data/sv.json index 89d971787..89dbd3c23 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/sv.json +++ b/dateparser_data/cldr_language_data/date_translation_data/sv.json @@ -99,6 +99,7 @@ "hour": [ "h", "tim", + "timmar", "timme" ], "minute": [ @@ -113,7 +114,8 @@ ], "relative-type": { "0 day ago": [ - "i dag" + "i dag", + "idag" ], "0 hour ago": [ "denna timme" @@ -122,8 +124,8 @@ "denna minut" ], "0 month ago": [ - "denna mån", - "denna månad" + "den här månaden", + "denna mån" ], "0 second ago": [ "nu" @@ -136,7 +138,8 @@ "i år" ], "1 day ago": [ - "i går" + "i går", + "igår" ], "1 month ago": [ "förra mån", @@ -150,7 +153,8 @@ "i fjol" ], "in 1 day": [ - "i morgon" + "i morgon", + "imorgon" ], "in 1 month": [ "nästa mån", @@ -178,19 +182,19 @@ "−{0} h" ], "\\1 minute ago": [ - "för {0} min sedan", + "för {0} min sen", "för {0} minut sedan", "för {0} minuter sedan", "−{0} min" ], "\\1 month ago": [ - "för {0} mån sedan", + "för {0} mån sen", "för {0} månad sedan", "för {0} månader sedan", "−{0} mån" ], "\\1 second ago": [ - "för {0} sek sedan", + "för {0} s sen", "för {0} sekund sedan", "för {0} sekunder sedan", "−{0} s" @@ -203,6 +207,7 @@ ], "\\1 year ago": [ "för {0} år sedan", + "för {0} år sen", "−{0} år" ], "in \\1 day": [ @@ -244,8 +249,7 @@ "name": "sv-AX" }, "sv-FI": { - "name": "sv-FI", - "date_order": "DMY" + "name": "sv-FI" } } } \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/sw.json b/dateparser_data/cldr_language_data/date_translation_data/sw.json index 760d8a5f6..27b3bc67e 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/sw.json +++ b/dateparser_data/cldr_language_data/date_translation_data/sw.json @@ -70,11 +70,9 @@ "jumapili" ], "am": [ - "am", - "asubuhi" + "am" ], "pm": [ - "mchana", "pm" ], "year": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/syr.json b/dateparser_data/cldr_language_data/date_translation_data/syr.json new file mode 100644 index 000000000..f3d56dce3 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/syr.json @@ -0,0 +1,197 @@ +{ + "name": "syr", + "date_order": "DMY", + "january": [ + "ܟܢܘܢ ܐܚܪܝܐ", + "ܟܢܘܢ ܒ" + ], + "february": [ + "ܫܒܛ" + ], + "march": [ + "ܐܕܪ" + ], + "april": [ + "ܢܝܣܢ" + ], + "may": [ + "ܐܝܪ" + ], + "june": [ + "ܚܙܝܪܢ" + ], + "july": [ + "ܬܡܘܙ" + ], + "august": [ + "ܐܒ" + ], + "september": [ + "ܐܝܠܘܠ" + ], + "october": [ + "ܬܫܪܝܢ ܐ", + "ܬܫܪܝܢ ܩܕܡܝܐ" + ], + "november": [ + "ܬܫܪܝܢ ܐܚܪܝܐ", + "ܬܫܪܝܢ ܒ" + ], + "december": [ + "ܟܢܘܢ ܐ", + "ܟܢܘܢ ܩܕܡܝܐ" + ], + "monday": [ + "ܬܪܝܢ", + "ܬܪܝܢܒܫܒܐ" + ], + "tuesday": [ + "ܬܠܬ", + "ܬܠܬܒܫܒܐ" + ], + "wednesday": [ + "ܐܪܒܥ", + "ܐܪܒܥܒܫܒܐ" + ], + "thursday": [ + "ܚܡܫ", + "ܚܡܫܒܫܒܐ" + ], + "friday": [ + "ܥܪܘ", + "ܥܪܘܒܬܐ" + ], + "saturday": [ + "ܫܒܬܐ" + ], + "sunday": [ + "ܚܕ", + "ܚܕܒܫܒܐ" + ], + "am": [ + "܏ܩܛ‌" + ], + "pm": [ + "܏ܒܛ‌" + ], + "year": [ + "ܫܢܬܐ" + ], + "month": [ + "ܝܪܚܐ" + ], + "week": [ + "ܫܒܐ", + "ܫܒܘܥܐ" + ], + "day": [ + "ܝܘܡܐ" + ], + "hour": [ + "ܫ̈ܥܐ", + "ܫܥܬܐ" + ], + "minute": [ + "ܩܛܝܢܬܐ" + ], + "second": [ + "ܪܦܦܐ" + ], + "relative-type": { + "0 day ago": [ + "ܐܕܝܘܡ" + ], + "0 hour ago": [ + "ܗܕܐ ܫܥܬܐ" + ], + "0 minute ago": [ + "ܗܢܐ ܩܛܝܢܬܐ" + ], + "0 month ago": [ + "ܗܢܐ ܝܪܚܐ" + ], + "0 second ago": [ + "ܗܫܐ" + ], + "0 week ago": [ + "ܗܕܐ ܫܒܘܥܐ" + ], + "0 year ago": [ + "ܗܕܐ ܫܢܬܐ" + ], + "1 day ago": [ + "ܐܬܡܠܝ" + ], + "1 month ago": [ + "ܝܪܚܐ ܕܕܥܒܪ" + ], + "1 week ago": [ + "ܫܒܘܥܐ ܕܕܥܒܪ" + ], + "1 year ago": [ + "ܐܫܬܩܕܝ" + ], + "in 1 day": [ + "ܝܘܡܐ ܕܐܬܐ" + ], + "in 1 month": [ + "ܝܪܚܐ ܕܐܬܐ" + ], + "in 1 week": [ + "ܫܒܘܥܐ ܕܐܬܐ" + ], + "in 1 year": [ + "ܫܢܬܐ ܐܚܪܬܐ" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "ܡ̣ܢ ܩܕܡ {0} ܝܘܡܢ̈ܐ" + ], + "\\1 hour ago": [ + "ܡ̣ܢ ܩܕܡ {0} ܫܥ̈ܐ" + ], + "\\1 minute ago": [ + "ܡ̣ܢ ܩܕܡ {0} ܩܛܝ̈ܢܐ" + ], + "\\1 month ago": [ + "ܡ̣ܢ ܩܕܡ {0} ܝܖ̈ܚܐ", + "ܡ̣ܢ ܩܕܡ {0} ܝܪ̈ܚܐ" + ], + "\\1 second ago": [ + "ܡ̣ܢ ܩܕܡ {0} ܖ̈ܦܦܐ" + ], + "\\1 week ago": [ + "ܡ̣ܢ ܩܕܡ {0} ܫܒ̈ܘܥܐ" + ], + "\\1 year ago": [ + "ܡ̣ܢ ܩܕܡ {0} ܫܢܝ̈ܐ" + ], + "in \\1 day": [ + "ܒ{0} ܝܘܡܢ̈ܐ" + ], + "in \\1 hour": [ + "ܒ{0} ܫܥ̈ܐ" + ], + "in \\1 minute": [ + "ܒ{0} ܩܛܝ̈ܢܐ" + ], + "in \\1 month": [ + "ܒ{0} ܝܪ̈ܚܐ" + ], + "in \\1 second": [ + "ܒ{0} ܪ̈ܦܦܐ" + ], + "in \\1 week": [ + "ܒ{0} ܫܒ̈ܘܥܐ" + ], + "in \\1 year": [ + "ܒ{0} ܫܢܝ̈ܐ" + ] + }, + "locale_specific": { + "syr-SY": { + "name": "syr-SY" + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/szl.json b/dateparser_data/cldr_language_data/date_translation_data/szl.json new file mode 100644 index 000000000..8c87b78b4 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/szl.json @@ -0,0 +1,137 @@ +{ + "name": "szl", + "date_order": "YMD", + "january": [ + "stycznia" + ], + "february": [ + "lutego" + ], + "march": [ + "marca" + ], + "april": [ + "kwietnia" + ], + "may": [ + "moja" + ], + "june": [ + "czyrwca" + ], + "july": [ + "lipca" + ], + "august": [ + "siyrpnia" + ], + "september": [ + "września" + ], + "october": [ + "października" + ], + "november": [ + "listopada" + ], + "december": [ + "grudnia" + ], + "monday": [ + "pyńdziałek" + ], + "tuesday": [ + "wtorek" + ], + "wednesday": [ + "strzoda" + ], + "thursday": [ + "sztwortek" + ], + "friday": [ + "piōntek" + ], + "saturday": [ + "sobota" + ], + "sunday": [ + "niydziela" + ], + "am": [ + "do połedniŏ" + ], + "pm": [ + "po połedniu" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ta.json b/dateparser_data/cldr_language_data/date_translation_data/ta.json index cf3692fb4..214f78241 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ta.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ta.json @@ -74,6 +74,7 @@ "ஞாயிறு" ], "am": [ + "am", "முற்பகல்" ], "pm": [ @@ -98,7 +99,8 @@ ], "hour": [ "ம", - "மணி" + "மணி", + "மணிநேரங்கள்" ], "minute": [ "நிமி", @@ -189,7 +191,7 @@ "{0} வா முன்", "{0} வார முன்", "{0} வாரங்களுக்கு முன்", - "{0} வாரத்திற்கு முன்பு" + "{0} வாரத்திற்கு முன்" ], "\\1 year ago": [ "{0} ஆ முன்", diff --git a/dateparser_data/cldr_language_data/date_translation_data/te.json b/dateparser_data/cldr_language_data/date_translation_data/te.json index cd42b1c92..5383409fd 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/te.json +++ b/dateparser_data/cldr_language_data/date_translation_data/te.json @@ -92,15 +92,15 @@ "వారము" ], "day": [ - "ది", - "దినం" + "దినం", + "రోజు" ], "hour": [ "గం", - "గంట" + "గంట", + "గంటలు" ], "minute": [ - "ని", "నిమి", "నిమిషము" ], @@ -128,6 +128,8 @@ "ఈ వారం" ], "0 year ago": [ + "ఈ సం", + "ఈ సంవ", "ఈ సంవత్సరం" ], "1 day ago": [ @@ -140,6 +142,8 @@ "గత వారం" ], "1 year ago": [ + "గత సం", + "గత సంవ", "గత సంవత్సరం" ], "in 1 day": [ @@ -152,6 +156,8 @@ "తదుపరి వారం" ], "in 1 year": [ + "తదుపరి సం", + "తదుపరి సంవ", "తదుపరి సంవత్సరం" ] }, @@ -209,7 +215,8 @@ "in \\1 second": [ "{0} సెక లో", "{0} సెకనులో", - "{0} సెకన్లలో" + "{0} సెకన్లలో", + "{0} సెకలో" ], "in \\1 week": [ "{0} వారంలో", @@ -217,6 +224,7 @@ ], "in \\1 year": [ "{0} సంలో", + "{0} సంల్లో", "{0} సంవత్సరంలో", "{0} సంవత్సరాల్లో" ] diff --git a/dateparser_data/cldr_language_data/date_translation_data/teo.json b/dateparser_data/cldr_language_data/date_translation_data/teo.json index def3c9aa7..746fa5e16 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/teo.json +++ b/dateparser_data/cldr_language_data/date_translation_data/teo.json @@ -96,7 +96,8 @@ "aparan" ], "hour": [ - "esaa" + "esaa", + "hr" ], "minute": [ "idakika" diff --git a/dateparser_data/cldr_language_data/date_translation_data/tg.json b/dateparser_data/cldr_language_data/date_translation_data/tg.json new file mode 100644 index 000000000..1bbd6f69c --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/tg.json @@ -0,0 +1,224 @@ +{ + "name": "tg", + "date_order": "DMY", + "january": [ + "янв", + "январ" + ], + "february": [ + "фев", + "феврал" + ], + "march": [ + "мар", + "март" + ], + "april": [ + "апр", + "апрел" + ], + "may": [ + "май" + ], + "june": [ + "июн" + ], + "july": [ + "июл" + ], + "august": [ + "авг", + "август" + ], + "september": [ + "сен", + "сентябр" + ], + "october": [ + "окт", + "октябр" + ], + "november": [ + "ноя", + "ноябр" + ], + "december": [ + "дек", + "декабр" + ], + "monday": [ + "душанбе", + "дшб" + ], + "tuesday": [ + "сешанбе", + "сшб" + ], + "wednesday": [ + "чоршанбе", + "чшб" + ], + "thursday": [ + "панҷшанбе", + "пшб" + ], + "friday": [ + "ҷмъ", + "ҷумъа" + ], + "saturday": [ + "шанбе", + "шнб" + ], + "sunday": [ + "якшанбе", + "яшб" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "с", + "сол" + ], + "month": [ + "м", + "моҳ" + ], + "week": [ + "ҳ", + "ҳафта" + ], + "day": [ + "рӯз" + ], + "hour": [ + "hr", + "соат", + "ст" + ], + "minute": [ + "дақ", + "дақиқа" + ], + "second": [ + "сон", + "сония" + ], + "relative-type": { + "0 day ago": [ + "имрӯз" + ], + "0 hour ago": [ + "соати ҷорӣ" + ], + "0 minute ago": [ + "дақиқаи ҷорӣ" + ], + "0 month ago": [ + "моҳи ҷ", + "моҳи ҷорӣ" + ], + "0 second ago": [ + "ҳозир" + ], + "0 week ago": [ + "ҳафтаи ҷ", + "ҳафтаи ҷорӣ" + ], + "0 year ago": [ + "соли ҷ", + "соли ҷорӣ" + ], + "1 day ago": [ + "дирӯз" + ], + "1 month ago": [ + "моҳи г", + "моҳи гузашта" + ], + "1 week ago": [ + "ҳафтаи г", + "ҳафтаи гузашта" + ], + "1 year ago": [ + "соли г", + "соли гузашта" + ], + "in 1 day": [ + "фардо" + ], + "in 1 month": [ + "моҳи о", + "моҳи оянда" + ], + "in 1 week": [ + "ҳафтаи о", + "ҳафтаи оянда" + ], + "in 1 year": [ + "соли о", + "соли оянда" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} рӯз пеш" + ], + "\\1 hour ago": [ + "{0} соат пеш", + "{0} ст пеш" + ], + "\\1 minute ago": [ + "{0} дақ пеш", + "{0} дақиқа пеш" + ], + "\\1 month ago": [ + "{0} м пеш", + "{0} моҳ пеш" + ], + "\\1 second ago": [ + "{0} сон пеш", + "{0} сония пеш" + ], + "\\1 week ago": [ + "{0} ҳ пеш", + "{0} ҳафта пеш" + ], + "\\1 year ago": [ + "{0} с пеш", + "{0} сол пеш" + ], + "in \\1 day": [ + "пас аз {0} рӯз" + ], + "in \\1 hour": [ + "пас аз {0} соат", + "пас аз {0} ст" + ], + "in \\1 minute": [ + "пас аз {0} дақ", + "пас аз {0} дақиқа" + ], + "in \\1 month": [ + "пас аз {0} м", + "пас аз {0} моҳ" + ], + "in \\1 second": [ + "пас аз {0} сон", + "пас аз {0} сония" + ], + "in \\1 week": [ + "пас аз {0} ҳ", + "пас аз {0} ҳафта" + ], + "in \\1 year": [ + "пас аз {0} с", + "пас аз {0} сол" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/th.json b/dateparser_data/cldr_language_data/date_translation_data/th.json index b0e2e20b9..c46029fb2 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/th.json +++ b/dateparser_data/cldr_language_data/date_translation_data/th.json @@ -78,9 +78,11 @@ "อา" ], "am": [ + "am", "ก่อนเที่ยง" ], "pm": [ + "pm", "หลังเที่ยง" ], "year": [ @@ -100,7 +102,6 @@ "ชั่วโมง" ], "minute": [ - "น", "นาที" ], "second": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/ti.json b/dateparser_data/cldr_language_data/date_translation_data/ti.json index 11ea5f0ee..a519add75 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ti.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ti.json @@ -52,7 +52,6 @@ "ሰኑይ" ], "tuesday": [ - "ሠሉስ", "ሰሉ", "ሰሉስ" ], @@ -62,8 +61,7 @@ ], "thursday": [ "ሓሙ", - "ሓሙስ", - "ኃሙስ" + "ሓሙስ" ], "friday": [ "ዓር", @@ -78,77 +76,124 @@ "ሰንበት" ], "am": [ - "ንጉሆ ሰዓተ" + "ቅቀ" ], "pm": [ - "ድሕር ሰዓት" + "ድቀ" ], "year": [ - "year" + "ዓመት" ], "month": [ - "month" + "ወርሒ" ], "week": [ - "week" + "ሰሙን" ], "day": [ - "day" + "መዓልቲ" ], "hour": [ - "hour" + "hr", + "ሰዓት" ], "minute": [ - "minute" + "ደቒ", + "ደቒቕ" ], "second": [ - "second" + "ካልኢት" ], "relative-type": { "0 day ago": [ - "today" + "ሎሚ" ], "0 hour ago": [ - "this hour" + "ኣብዚ ሰዓት" ], "0 minute ago": [ - "this minute" + "ኣብዚ ደቒቕ" ], "0 month ago": [ - "this month" + "ህሉው ወርሒ" ], "0 second ago": [ - "now" + "ሕጂ" ], "0 week ago": [ - "this week" + "ህሉው ሰሙን" ], "0 year ago": [ - "this year" + "ሎሚ ዓመት" ], "1 day ago": [ - "yesterday" + "ትማሊ" ], "1 month ago": [ - "last month" + "ዝሓለፈ ወርሒ" ], "1 week ago": [ - "last week" + "ዝሓለፈ ሰሙን" ], "1 year ago": [ - "last year" + "ዓሚ" ], "in 1 day": [ - "tomorrow" + "ጽባሕ" ], "in 1 month": [ - "next month" + "ዝመጽእ ወርሒ" ], "in 1 week": [ - "next week" + "ዝመጽእ ሰሙን" ], "in 1 year": [ - "next year" + "ንዓመታ" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "ቅድሚ {0} መዓልቲ", + "ኣብ {0} መዓልቲ" + ], + "\\1 hour ago": [ + "ቅድሚ {0} ሰዓት" + ], + "\\1 minute ago": [ + "ቅድሚ {0} ደቒቕ" + ], + "\\1 month ago": [ + "ቅድሚ {0} ወርሒ" + ], + "\\1 second ago": [ + "ቅድሚ {0} ካልኢት" + ], + "\\1 week ago": [ + "ቅድሚ {0} ሰሙን" + ], + "\\1 year ago": [ + "ቅድሚ {0} ዓ" + ], + "in \\1 day": [ + "ኣብ {0} መዓልቲ" + ], + "in \\1 hour": [ + "ኣብ {0} ሰዓት" + ], + "in \\1 minute": [ + "ኣብ {0} ደቒቕ" + ], + "in \\1 month": [ + "ኣብ {0} ወርሒ" + ], + "in \\1 second": [ + "ኣብ {0} ካልኢት" + ], + "in \\1 week": [ + "ኣብ {0} ሰሙን" + ], + "in \\1 year": [ + "ኣብ {0} ዓ" ] }, "locale_specific": { diff --git a/dateparser_data/cldr_language_data/date_translation_data/tig.json b/dateparser_data/cldr_language_data/date_translation_data/tig.json new file mode 100644 index 000000000..43adbffec --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/tig.json @@ -0,0 +1,101 @@ +{ + "name": "tig", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/tn.json b/dateparser_data/cldr_language_data/date_translation_data/tn.json new file mode 100644 index 000000000..45e7b6bb5 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/tn.json @@ -0,0 +1,160 @@ +{ + "name": "tn", + "date_order": "YMD", + "january": [ + "fer", + "ferikgong" + ], + "february": [ + "tlh", + "tlhakole" + ], + "march": [ + "mop", + "mopitlo" + ], + "april": [ + "mor", + "moranang" + ], + "may": [ + "mot", + "motsheganang" + ], + "june": [ + "see", + "seetebosigo" + ], + "july": [ + "phu", + "phukwi" + ], + "august": [ + "pha", + "phatwe" + ], + "september": [ + "lwe", + "lwetse" + ], + "october": [ + "dip", + "diphalane" + ], + "november": [ + "ngw", + "ngwanatsele" + ], + "december": [ + "sed", + "sedimonthole" + ], + "monday": [ + "mos", + "mosopulogo" + ], + "tuesday": [ + "labb", + "labobedi" + ], + "wednesday": [ + "laboraro", + "labr" + ], + "thursday": [ + "labn", + "labone" + ], + "friday": [ + "labotlhano", + "labt" + ], + "saturday": [ + "mat", + "matlhatso" + ], + "sunday": [ + "tsh", + "tshipi" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": { + "tn-BW": { + "name": "tn-BW" + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/to.json b/dateparser_data/cldr_language_data/date_translation_data/to.json index 65b8a6029..bb0ac0a4d 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/to.json +++ b/dateparser_data/cldr_language_data/date_translation_data/to.json @@ -33,8 +33,9 @@ "'aokosi" ], "september": [ - "sep", - "sepitema" + "sepitema", + "sēp", + "sēpitema" ], "october": [ "'oka", @@ -77,81 +78,98 @@ "sāpate" ], "am": [ - "am", "hengihengi", "hh" ], "pm": [ "ea", - "efiafi", - "pm" + "efiafi" ], "year": [ + "t", "ta'u" ], "month": [ + "mh", "māhina" ], "week": [ + "ui", "uike" ], "day": [ + "'a", "'aho" ], "hour": [ + "h", "houa" ], "minute": [ + "m", "miniti" ], "second": [ + "s", "sekoni" ], "relative-type": { "0 day ago": [ - "'ahó ni" + "'ahó ni", + "'ani" ], "0 hour ago": [ - "this hour" + "ko e houa 'eni" ], "0 minute ago": [ - "this minute" + "ko e miniti 'eni" ], "0 month ago": [ + "mhni", "māhiná ni" ], "0 second ago": [ "taimí ni" ], "0 week ago": [ - "uiké ni" + "uiké ni", + "uini" ], "0 year ago": [ - "ta'ú ni" + "ta'ú ni", + "tni" ], "1 day ago": [ + "'ane", "'aneafi" ], "1 month ago": [ + "mh'osi", "māhina kuo'osi" ], "1 week ago": [ + "ui'osi", "uike kuo'osi" ], "1 year ago": [ + "t'osi", "ta'u kuo'osi" ], "in 1 day": [ + "'apo", "'apongipongi" ], "in 1 month": [ + "mhha'u", "māhina kaha'u" ], "in 1 week": [ + "uiha'u", "uike kaha'u" ], "in 1 year": [ - "ta'u kaha'u" + "ta'u kaha'u", + "tha'u" ] }, "relative-type-regex": { diff --git a/dateparser_data/cldr_language_data/date_translation_data/tok.json b/dateparser_data/cldr_language_data/date_translation_data/tok.json new file mode 100644 index 000000000..4e2288fef --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/tok.json @@ -0,0 +1,139 @@ +{ + "name": "tok", + "date_order": "YMD", + "january": [ + "mun #1" + ], + "february": [ + "mun #2" + ], + "march": [ + "mun #3" + ], + "april": [ + "mun #4" + ], + "may": [ + "mun #5" + ], + "june": [ + "mun #6" + ], + "july": [ + "mun #7" + ], + "august": [ + "mun #8" + ], + "september": [ + "mun #9" + ], + "october": [ + "mun #10" + ], + "november": [ + "mun #11" + ], + "december": [ + "mun #12" + ], + "monday": [ + "suno esun #1" + ], + "tuesday": [ + "suno esun #2" + ], + "wednesday": [ + "suno esun #3" + ], + "thursday": [ + "suno esun #4" + ], + "friday": [ + "suno esun #5" + ], + "saturday": [ + "suno esun #6" + ], + "sunday": [ + "suno esun #7" + ], + "am": [ + "am", + "pi open suno" + ], + "pm": [ + "pi pini suno", + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/tpi.json b/dateparser_data/cldr_language_data/date_translation_data/tpi.json new file mode 100644 index 000000000..4f18403c5 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/tpi.json @@ -0,0 +1,137 @@ +{ + "name": "tpi", + "date_order": "YMD", + "january": [ + "janueri" + ], + "february": [ + "februeri" + ], + "march": [ + "mas" + ], + "april": [ + "epril" + ], + "may": [ + "me" + ], + "june": [ + "jun" + ], + "july": [ + "julai" + ], + "august": [ + "ogas" + ], + "september": [ + "septemba" + ], + "october": [ + "oktoba" + ], + "november": [ + "novemba" + ], + "december": [ + "desemba" + ], + "monday": [ + "mande" + ], + "tuesday": [ + "tunde" + ], + "wednesday": [ + "trinde" + ], + "thursday": [ + "fonde" + ], + "friday": [ + "fraide" + ], + "saturday": [ + "sarere" + ], + "sunday": [ + "sande" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/tr.json b/dateparser_data/cldr_language_data/date_translation_data/tr.json index a913750d6..fcb835640 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/tr.json +++ b/dateparser_data/cldr_language_data/date_translation_data/tr.json @@ -125,7 +125,8 @@ "şimdi" ], "0 week ago": [ - "bu hafta" + "bu hafta", + "bu hf" ], "0 year ago": [ "bu yıl" @@ -137,7 +138,8 @@ "geçen ay" ], "1 week ago": [ - "geçen hafta" + "geçen hafta", + "geçen hf" ], "1 year ago": [ "geçen yıl" @@ -149,7 +151,8 @@ "gelecek ay" ], "in 1 week": [ - "gelecek hafta" + "gelecek hafta", + "gelecek hf" ], "in 1 year": [ "gelecek yıl" diff --git a/dateparser_data/cldr_language_data/date_translation_data/trv.json b/dateparser_data/cldr_language_data/date_translation_data/trv.json new file mode 100644 index 000000000..d3dea7a1e --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/trv.json @@ -0,0 +1,101 @@ +{ + "name": "trv", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/trw.json b/dateparser_data/cldr_language_data/date_translation_data/trw.json new file mode 100644 index 000000000..9410c9f97 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/trw.json @@ -0,0 +1,101 @@ +{ + "name": "trw", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ts.json b/dateparser_data/cldr_language_data/date_translation_data/ts.json new file mode 100644 index 000000000..16a9e3c9c --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/ts.json @@ -0,0 +1,156 @@ +{ + "name": "ts", + "date_order": "YMD", + "january": [ + "sun", + "sunguti" + ], + "february": [ + "nyenyenyani", + "yan" + ], + "march": [ + "kul", + "nyenyankulu" + ], + "april": [ + "dzi", + "dzivamisoko" + ], + "may": [ + "mud", + "mudyaxihi" + ], + "june": [ + "kho", + "khotavuxika" + ], + "july": [ + "maw", + "mawuwani" + ], + "august": [ + "mha", + "mhawuri" + ], + "september": [ + "ndz", + "ndzhati" + ], + "october": [ + "nhl", + "nhlangula" + ], + "november": [ + "huk", + "hukuri" + ], + "december": [ + "n'w", + "n'wendzamhala" + ], + "monday": [ + "mus", + "musumbhunuku" + ], + "tuesday": [ + "bir", + "ravumbirhi" + ], + "wednesday": [ + "har", + "ravunharhu" + ], + "thursday": [ + "ne", + "ravumune" + ], + "friday": [ + "ravuntlhanu", + "tlh" + ], + "saturday": [ + "mug", + "mugqivela" + ], + "sunday": [ + "son", + "sonta" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/tt.json b/dateparser_data/cldr_language_data/date_translation_data/tt.json new file mode 100644 index 000000000..46bb276c9 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/tt.json @@ -0,0 +1,206 @@ +{ + "name": "tt", + "date_order": "DMY", + "january": [ + "гыйн", + "гыйнвар" + ], + "february": [ + "фев", + "февраль" + ], + "march": [ + "мар", + "март" + ], + "april": [ + "апр", + "апрель" + ], + "may": [ + "май" + ], + "june": [ + "июнь" + ], + "july": [ + "июль" + ], + "august": [ + "авг", + "август" + ], + "september": [ + "сент", + "сентябрь" + ], + "october": [ + "окт", + "октябрь" + ], + "november": [ + "нояб", + "ноябрь" + ], + "december": [ + "дек", + "декабрь" + ], + "monday": [ + "дүш", + "дүшәмбе" + ], + "tuesday": [ + "сиш", + "сишәмбе" + ], + "wednesday": [ + "чәр", + "чәршәмбе" + ], + "thursday": [ + "пәнҗ", + "пәнҗешәмбе" + ], + "friday": [ + "җом", + "җомга" + ], + "saturday": [ + "шим", + "шимбә" + ], + "sunday": [ + "якш", + "якшәмбе" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "ел" + ], + "month": [ + "ай" + ], + "week": [ + "атна" + ], + "day": [ + "көн" + ], + "hour": [ + "hr", + "сәг", + "сәгать" + ], + "minute": [ + "мин", + "минут" + ], + "second": [ + "с", + "секунд" + ], + "relative-type": { + "0 day ago": [ + "бүген" + ], + "0 hour ago": [ + "бу сәгатьтә" + ], + "0 minute ago": [ + "бу минутта" + ], + "0 month ago": [ + "бу айда" + ], + "0 second ago": [ + "хәзер" + ], + "0 week ago": [ + "бу атнада" + ], + "0 year ago": [ + "быел" + ], + "1 day ago": [ + "кичә" + ], + "1 month ago": [ + "узган айда" + ], + "1 week ago": [ + "узган атнада" + ], + "1 year ago": [ + "узган ел" + ], + "in 1 day": [ + "иртәгә" + ], + "in 1 month": [ + "киләсе айда" + ], + "in 1 week": [ + "киләсе атнада" + ], + "in 1 year": [ + "киләсе елда" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} көн элек" + ], + "\\1 hour ago": [ + "{0} сәг элек", + "{0} сәгать элек" + ], + "\\1 minute ago": [ + "{0} мин элек", + "{0} минут элек" + ], + "\\1 month ago": [ + "{0} ай элек" + ], + "\\1 second ago": [ + "{0} с элек", + "{0} секунд элек" + ], + "\\1 week ago": [ + "{0} атна элек" + ], + "\\1 year ago": [ + "{0} ел элек" + ], + "in \\1 day": [ + "{0} көннән" + ], + "in \\1 hour": [ + "{0} сәг", + "{0} сәгатьтән" + ], + "in \\1 minute": [ + "{0} мин", + "{0} минуттан" + ], + "in \\1 month": [ + "{0} айдан" + ], + "in \\1 second": [ + "{0} с", + "{0} секундтан" + ], + "in \\1 week": [ + "{0} атнадан" + ], + "in \\1 year": [ + "{0} елдан" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/twq.json b/dateparser_data/cldr_language_data/date_translation_data/twq.json index 4b6409a72..780cb5333 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/twq.json +++ b/dateparser_data/cldr_language_data/date_translation_data/twq.json @@ -94,7 +94,8 @@ "zaari" ], "hour": [ - "guuru" + "guuru", + "hr" ], "minute": [ "miniti" diff --git a/dateparser_data/cldr_language_data/date_translation_data/tyv.json b/dateparser_data/cldr_language_data/date_translation_data/tyv.json new file mode 100644 index 000000000..71c21b107 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/tyv.json @@ -0,0 +1,101 @@ +{ + "name": "tyv", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/tzm.json b/dateparser_data/cldr_language_data/date_translation_data/tzm.json index 1c1d4561d..69ec3fcb7 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/tzm.json +++ b/dateparser_data/cldr_language_data/date_translation_data/tzm.json @@ -96,6 +96,7 @@ "ass" ], "hour": [ + "hr", "tasragt" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/ug.json b/dateparser_data/cldr_language_data/date_translation_data/ug.json index ffe747a90..a2e1a3b76 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ug.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ug.json @@ -86,6 +86,7 @@ "كۈن" ], "hour": [ + "hr", "سائەت" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/uk.json b/dateparser_data/cldr_language_data/date_translation_data/uk.json index e0f1e321f..df31cb436 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/uk.json +++ b/dateparser_data/cldr_language_data/date_translation_data/uk.json @@ -17,19 +17,16 @@ "березня" ], "april": [ - "кві", "квіт", "квітень", "квітня" ], "may": [ - "тра", "трав", "травень", "травня" ], "june": [ - "чер", "черв", "червень", "червня" @@ -40,7 +37,6 @@ "липня" ], "august": [ - "сер", "серп", "серпень", "серпня" @@ -51,19 +47,16 @@ "вересня" ], "october": [ - "жов", "жовт", "жовтень", "жовтня" ], "november": [ - "лис", "лист", "листопад", "листопада" ], "december": [ - "гру", "груд", "грудень", "грудня" @@ -78,6 +71,7 @@ ], "wednesday": [ "середа", + "середу", "ср" ], "thursday": [ @@ -85,15 +79,18 @@ "чт" ], "friday": [ + "п'ятницю", "п'ятниця", "пт" ], "saturday": [ "сб", - "субота" + "субота", + "суботу" ], "sunday": [ "нд", + "неділю", "неділя" ], "am": [ @@ -107,10 +104,12 @@ "рік" ], "month": [ + "м", "міс", "місяць" ], "week": [ + "т", "тиж", "тиждень" ], @@ -120,7 +119,8 @@ ], "hour": [ "год", - "година" + "година", + "години" ], "minute": [ "хв", @@ -141,6 +141,7 @@ "цієї хвилини" ], "0 month ago": [ + "цього міс", "цього місяця" ], "0 second ago": [ @@ -150,36 +151,43 @@ "цього тижня" ], "0 year ago": [ - "цього року" + "цього року", + "цьогоріч" ], "1 day ago": [ "учора" ], "1 month ago": [ + "мин міс", "минулого місяця" ], "1 week ago": [ + "мин тижня", "минулого тижня" ], "1 year ago": [ + "минулого року", "торік" ], "in 1 day": [ "завтра" ], "in 1 month": [ + "наст міс", "наступного місяця" ], "in 1 week": [ + "наст тижня", "наступного тижня" ], "in 1 year": [ + "наст р", + "наст року", "наступного року" ] }, "relative-type-regex": { "\\1 day ago": [ - "{0} д тому", "{0} день тому", "{0} дн тому", "{0} дня тому" @@ -215,7 +223,7 @@ "{0} рік тому" ], "in \\1 day": [ - "за {0} д", + "за {0} дн", "через {0} день", "через {0} дн", "через {0} дня" diff --git a/dateparser_data/cldr_language_data/date_translation_data/und.json b/dateparser_data/cldr_language_data/date_translation_data/und.json new file mode 100644 index 000000000..0b083e3e9 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/und.json @@ -0,0 +1,101 @@ +{ + "name": "und", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/ur.json b/dateparser_data/cldr_language_data/date_translation_data/ur.json index 1d263702d..604b29163 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/ur.json +++ b/dateparser_data/cldr_language_data/date_translation_data/ur.json @@ -38,7 +38,7 @@ "دسمبر" ], "monday": [ - "سوموار" + "پیر" ], "tuesday": [ "منگل" @@ -78,7 +78,8 @@ "دن" ], "hour": [ - "گھنٹہ" + "گھنٹہ", + "گھنٹے" ], "minute": [ "منٹ" @@ -97,6 +98,7 @@ "اس منٹ" ], "0 month ago": [ + "اس ماہ", "اس مہینہ" ], "0 second ago": [ @@ -112,10 +114,12 @@ "گزشتہ کل" ], "1 month ago": [ - "پچھلے مہینہ" + "پچھلے مہینہ", + "گزشتہ ماہ" ], "1 week ago": [ - "پچھلے ہفتہ" + "پچھلے ہفتہ", + "گزشتہ ہفتے" ], "1 year ago": [ "گزشتہ سال" @@ -124,10 +128,13 @@ "آئندہ کل" ], "in 1 month": [ + "اگلا مہینہ", + "اگلے ماہ", "اگلے مہینہ" ], "in 1 week": [ - "اگلے ہفتہ" + "اگلے ہفتہ", + "اگلے ہفتے" ], "in 1 year": [ "اگلے سال" @@ -167,7 +174,6 @@ ], "in \\1 hour": [ "{0} گھنٹوں میں", - "{0} گھنٹہ میں", "{0} گھنٹے میں" ], "in \\1 minute": [ @@ -192,21 +198,9 @@ "locale_specific": { "ur-IN": { "name": "ur-IN", - "monday": [ - "پیر" - ], "relative-type": { - "0 month ago": [ - "اس ماہ" - ], - "1 month ago": [ - "گزشتہ ماہ" - ], "1 week ago": [ "گزشتہ ہفتہ" - ], - "in 1 month": [ - "اگلے ماہ" ] }, "relative-type-regex": { diff --git a/dateparser_data/cldr_language_data/date_translation_data/uz-Arab.json b/dateparser_data/cldr_language_data/date_translation_data/uz-Arab.json index d72c229cf..a45ecc889 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/uz-Arab.json +++ b/dateparser_data/cldr_language_data/date_translation_data/uz-Arab.json @@ -94,7 +94,8 @@ "day" ], "hour": [ - "hour" + "hour", + "hr" ], "minute": [ "minute" diff --git a/dateparser_data/cldr_language_data/date_translation_data/uz-Cyrl.json b/dateparser_data/cldr_language_data/date_translation_data/uz-Cyrl.json index 24f46bebd..5154d79b2 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/uz-Cyrl.json +++ b/dateparser_data/cldr_language_data/date_translation_data/uz-Cyrl.json @@ -93,6 +93,7 @@ "кун" ], "hour": [ + "hr", "соат" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/uz-Latn.json b/dateparser_data/cldr_language_data/date_translation_data/uz-Latn.json index f1a957bfb..701beabe1 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/uz-Latn.json +++ b/dateparser_data/cldr_language_data/date_translation_data/uz-Latn.json @@ -116,12 +116,14 @@ "shu daqiqada" ], "0 month ago": [ + "bu oy", "shu oy" ], "0 second ago": [ "hozir" ], "0 week ago": [ + "bu hafta", "shu hafta" ], "0 year ago": [ @@ -138,7 +140,7 @@ "o‘tgan hafta" ], "1 year ago": [ - "o'tgan yil", + "o‘'tgan yil", "o‘tgan yil" ], "in 1 day": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/uz.json b/dateparser_data/cldr_language_data/date_translation_data/uz.json index 220e5cf7e..5c0cdae17 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/uz.json +++ b/dateparser_data/cldr_language_data/date_translation_data/uz.json @@ -116,12 +116,14 @@ "shu daqiqada" ], "0 month ago": [ + "bu oy", "shu oy" ], "0 second ago": [ "hozir" ], "0 week ago": [ + "bu hafta", "shu hafta" ], "0 year ago": [ @@ -138,7 +140,7 @@ "o‘tgan hafta" ], "1 year ago": [ - "o'tgan yil", + "o‘'tgan yil", "o‘tgan yil" ], "in 1 day": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/ve.json b/dateparser_data/cldr_language_data/date_translation_data/ve.json new file mode 100644 index 000000000..ba8e6bc7d --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/ve.json @@ -0,0 +1,101 @@ +{ + "name": "ve", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/vec.json b/dateparser_data/cldr_language_data/date_translation_data/vec.json new file mode 100644 index 000000000..55f2e38ae --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/vec.json @@ -0,0 +1,167 @@ +{ + "name": "vec", + "date_order": "DMY", + "january": [ + "jen", + "jenaro" + ], + "february": [ + "feb", + "febraro" + ], + "march": [ + "mar", + "marso" + ], + "april": [ + "apr", + "aprile" + ], + "may": [ + "maj", + "majo" + ], + "june": [ + "jug", + "jugno" + ], + "july": [ + "luj", + "lujo" + ], + "august": [ + "ago", + "agosto" + ], + "september": [ + "set", + "setenbre" + ], + "october": [ + "oto", + "otobre" + ], + "november": [ + "nov", + "novenbre" + ], + "december": [ + "des", + "desenbre" + ], + "monday": [ + "lun", + "luni" + ], + "tuesday": [ + "mar", + "marti" + ], + "wednesday": [ + "mer", + "mèrcore" + ], + "thursday": [ + "zob", + "zoba" + ], + "friday": [ + "vèn", + "vènare" + ], + "saturday": [ + "sab", + "sabo" + ], + "sunday": [ + "dom", + "doménega" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "a", + "ano" + ], + "month": [ + "m", + "mez", + "meze" + ], + "week": [ + "s", + "set", + "setemana" + ], + "day": [ + "d", + "dì" + ], + "hour": [ + "hr", + "o", + "ora" + ], + "minute": [ + "m", + "men", + "menuto" + ], + "second": [ + "s", + "seg", + "segondo" + ], + "relative-type": { + "0 day ago": [ + "uncó" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "‘sto meze" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "‘sta setemana" + ], + "0 year ago": [ + "‘st'ano" + ], + "1 day ago": [ + "jeri" + ], + "1 month ago": [ + "el meze pasà" + ], + "1 week ago": [ + "la setemana pasada" + ], + "1 year ago": [ + "l'ano pasà" + ], + "in 1 day": [ + "doman" + ], + "in 1 month": [ + "el meze che vien" + ], + "in 1 week": [ + "la setemana che vien" + ], + "in 1 year": [ + "l'ano che vien" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/vmw.json b/dateparser_data/cldr_language_data/date_translation_data/vmw.json new file mode 100644 index 000000000..32bad1431 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/vmw.json @@ -0,0 +1,139 @@ +{ + "name": "vmw", + "date_order": "YMD", + "january": [ + "janeiru" + ], + "february": [ + "fevereiru" + ], + "march": [ + "marsu" + ], + "april": [ + "abril" + ], + "may": [ + "maiu" + ], + "june": [ + "junyu" + ], + "july": [ + "julyu" + ], + "august": [ + "agostu" + ], + "september": [ + "setembru" + ], + "october": [ + "outubru" + ], + "november": [ + "novembru" + ], + "december": [ + "dezembru" + ], + "monday": [ + "nihiku noolempwa" + ], + "tuesday": [ + "namaanli" + ], + "wednesday": [ + "namararu" + ], + "thursday": [ + "namaxexe" + ], + "friday": [ + "namathanu" + ], + "saturday": [ + "esaabadu" + ], + "sunday": [ + "ettiminku" + ], + "am": [ + "am", + "vaasisu" + ], + "pm": [ + "makaaripi", + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/vun.json b/dateparser_data/cldr_language_data/date_translation_data/vun.json index 821accca1..91754d8b7 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/vun.json +++ b/dateparser_data/cldr_language_data/date_translation_data/vun.json @@ -95,6 +95,7 @@ "mfiri" ], "hour": [ + "hr", "saa" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/wa.json b/dateparser_data/cldr_language_data/date_translation_data/wa.json new file mode 100644 index 000000000..b5bf0b92d --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/wa.json @@ -0,0 +1,101 @@ +{ + "name": "wa", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/wae.json b/dateparser_data/cldr_language_data/date_translation_data/wae.json index 11f6f0837..347c280b8 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/wae.json +++ b/dateparser_data/cldr_language_data/date_translation_data/wae.json @@ -96,7 +96,8 @@ "tag" ], "hour": [ - "schtund" + "schtund", + "stunde" ], "minute": [ "mínütta" diff --git a/dateparser_data/cldr_language_data/date_translation_data/wal.json b/dateparser_data/cldr_language_data/date_translation_data/wal.json new file mode 100644 index 000000000..adfdb8386 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/wal.json @@ -0,0 +1,101 @@ +{ + "name": "wal", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/wbp.json b/dateparser_data/cldr_language_data/date_translation_data/wbp.json new file mode 100644 index 000000000..af8b9288e --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/wbp.json @@ -0,0 +1,101 @@ +{ + "name": "wbp", + "date_order": "YMD", + "monday": [ + "mon" + ], + "tuesday": [ + "tue" + ], + "wednesday": [ + "wed" + ], + "thursday": [ + "thu" + ], + "friday": [ + "fri" + ], + "saturday": [ + "sat" + ], + "sunday": [ + "sun" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/wo.json b/dateparser_data/cldr_language_data/date_translation_data/wo.json new file mode 100644 index 000000000..4ea2eb363 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/wo.json @@ -0,0 +1,216 @@ +{ + "name": "wo", + "date_order": "DMY", + "january": [ + "sam", + "samwiyee" + ], + "february": [ + "few", + "fewriyee" + ], + "march": [ + "mar", + "mars" + ], + "april": [ + "awr", + "awril" + ], + "may": [ + "mee" + ], + "june": [ + "suw", + "suwe" + ], + "july": [ + "sul", + "sulet" + ], + "august": [ + "ut" + ], + "september": [ + "sàt", + "sàttumbar" + ], + "october": [ + "okt", + "oktoobar" + ], + "november": [ + "now", + "nowàmbar" + ], + "december": [ + "des", + "desàmbar" + ], + "monday": [ + "alt", + "altine" + ], + "tuesday": [ + "tal", + "talaata" + ], + "wednesday": [ + "àla", + "àlarba" + ], + "thursday": [ + "alx", + "alxamis" + ], + "friday": [ + "àjj", + "àjjuma" + ], + "saturday": [ + "ase", + "aseer" + ], + "sunday": [ + "dib", + "dibéer" + ], + "am": [ + "sub" + ], + "pm": [ + "ngo" + ], + "year": [ + "at" + ], + "month": [ + "we", + "weer" + ], + "week": [ + "ayu-b", + "ayu-bis" + ], + "day": [ + "fan" + ], + "hour": [ + "hr", + "waxt", + "wxt" + ], + "minute": [ + "sim", + "simili" + ], + "second": [ + "saa" + ], + "relative-type": { + "0 day ago": [ + "tay" + ], + "0 hour ago": [ + "ci waxtu wii" + ], + "0 minute ago": [ + "ci simili bii" + ], + "0 month ago": [ + "we wii", + "weer wii" + ], + "0 second ago": [ + "leegi" + ], + "0 week ago": [ + "ayu-b bii", + "ayu-bis bii" + ], + "0 year ago": [ + "ren" + ], + "1 day ago": [ + "démb" + ], + "1 month ago": [ + "we wi wees", + "weer wi weesu" + ], + "1 week ago": [ + "ayu-b bi wees", + "ayu-bis bi weesu" + ], + "1 year ago": [ + "daaw" + ], + "in 1 day": [ + "suba" + ], + "in 1 month": [ + "we wiy ñëw", + "weer wiy ñëw" + ], + "in 1 week": [ + "ayu-b ñëw", + "ayu-bis biy ñëw" + ], + "in 1 year": [ + "dewen" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} fan ci ginaaw" + ], + "\\1 hour ago": [ + "{0} wax ci ginaaw", + "{0} waxtu ci ginaaw" + ], + "\\1 minute ago": [ + "{0} sim ci ginaaw", + "{0} simili ci ginaaw" + ], + "\\1 month ago": [ + "{0} we ci ginaaw", + "{0} weer ci ginaaw" + ], + "\\1 second ago": [ + "{0} saa ci ginaaw" + ], + "\\1 week ago": [ + "{0} ayi-b ci ginaaw", + "{0} ayi-bis ci ginaaw" + ], + "\\1 year ago": [ + "{0} at ci ginaaw" + ], + "in \\1 day": [ + "fileek {0} fan" + ], + "in \\1 hour": [ + "fileek {0} wax", + "fileek {0} waxtu" + ], + "in \\1 minute": [ + "fileek {0} sim", + "fileek {0} simili" + ], + "in \\1 month": [ + "fileek {0} we", + "fileek {0} weer" + ], + "in \\1 second": [ + "fileek {0} saa" + ], + "in \\1 week": [ + "fileek {0} ayi-b", + "fileek {0} ayi-bis" + ], + "in \\1 year": [ + "fileek {0} at" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/xh.json b/dateparser_data/cldr_language_data/date_translation_data/xh.json new file mode 100644 index 000000000..c61bd5e1d --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/xh.json @@ -0,0 +1,182 @@ +{ + "name": "xh", + "date_order": "MDY", + "january": [ + "jan", + "janyuwari" + ], + "february": [ + "feb", + "februwari" + ], + "march": [ + "mat", + "matshi" + ], + "april": [ + "epr", + "epreli" + ], + "may": [ + "mey", + "meyi" + ], + "june": [ + "jun", + "juni" + ], + "july": [ + "jul", + "julayi" + ], + "august": [ + "aga", + "agasti" + ], + "september": [ + "sep", + "sept", + "septemba" + ], + "october": [ + "okt", + "okthoba", + "okthobha" + ], + "november": [ + "nov", + "novemba" + ], + "december": [ + "dis", + "disemba" + ], + "monday": [ + "mvu", + "mvulo" + ], + "tuesday": [ + "bin", + "lwesb", + "lwesibini" + ], + "wednesday": [ + "lwesithathu", + "tha" + ], + "thursday": [ + "lwesine", + "sin" + ], + "friday": [ + "hla", + "lwesihlanu" + ], + "saturday": [ + "mgq", + "mgqibelo" + ], + "sunday": [ + "caw", + "cawe" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "uny", + "unyaka" + ], + "month": [ + "iny", + "inyanga", + "nya" + ], + "week": [ + "ive", + "iveki", + "vek" + ], + "day": [ + "usuku" + ], + "hour": [ + "hr", + "iyure", + "yur" + ], + "minute": [ + "umz", + "umzuzu" + ], + "second": [ + "mzuzwa", + "umzuzwana", + "zuzwa" + ], + "relative-type": { + "0 day ago": [ + "namhlanje" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "kule nya", + "kule nyanga" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "ku;e veki", + "kule vek" + ], + "0 year ago": [ + "kulo nyak", + "kulo nyaka" + ], + "1 day ago": [ + "izolo" + ], + "1 month ago": [ + "inya ephel", + "inyanga ephel", + "inyanga ephelileyo" + ], + "1 week ago": [ + "kwiveki ephelileyo", + "vek ephel", + "veki ephel" + ], + "1 year ago": [ + "unyaka ophel", + "unyaka ophelileyo" + ], + "in 1 day": [ + "ngomso" + ], + "in 1 month": [ + "kwinya eza", + "kwinyanga eza", + "kwinyanga ezayo" + ], + "in 1 week": [ + "kwiveki ezayo", + "vek eza", + "veki eza" + ], + "in 1 year": [ + "kunyak oza", + "kunyaka ozayo", + "unyak oza" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/xnr.json b/dateparser_data/cldr_language_data/date_translation_data/xnr.json new file mode 100644 index 000000000..95124965e --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/xnr.json @@ -0,0 +1,153 @@ +{ + "name": "xnr", + "date_order": "DMY", + "january": [ + "जनवरी", + "जन॰" + ], + "february": [ + "फ़रवरी", + "फ़र॰" + ], + "march": [ + "मार्च" + ], + "april": [ + "अप्रैल" + ], + "may": [ + "मई" + ], + "june": [ + "जून" + ], + "july": [ + "जुलाई", + "जुल॰" + ], + "august": [ + "अगस्त", + "अग॰" + ], + "september": [ + "सितंबर", + "सित॰" + ], + "october": [ + "अक्तूबर", + "अक्तू॰" + ], + "november": [ + "नवंबर", + "नव॰" + ], + "december": [ + "दिसंबर", + "दिस॰" + ], + "monday": [ + "सोआर" + ], + "tuesday": [ + "मंगल", + "मंगलवार" + ], + "wednesday": [ + "बुध", + "बुधवार" + ], + "thursday": [ + "वीर", + "वीरवार" + ], + "friday": [ + "शुक्कर", + "शुक्करवार" + ], + "saturday": [ + "शनि", + "शनिच्चरवार" + ], + "sunday": [ + "तोआर" + ], + "am": [ + "भ्यागा" + ], + "pm": [ + "दपेहरा/संजा" + ], + "year": [ + "साल" + ], + "month": [ + "मीन्ना" + ], + "week": [ + "हफ्ता" + ], + "day": [ + "ध्याड़ा" + ], + "hour": [ + "hr", + "घंटा", + "घं॰" + ], + "minute": [ + "मिंट", + "मि॰" + ], + "second": [ + "सकिंट", + "स॰" + ], + "relative-type": { + "0 day ago": [ + "अज्ज" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "एह मीन्ना" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "एह हफ्ता" + ], + "0 year ago": [ + "एह साल" + ], + "1 day ago": [ + "पिछला कल" + ], + "1 month ago": [ + "पिछले मीन्ने" + ], + "1 week ago": [ + "पिछले हफ्ते" + ], + "1 year ago": [ + "पिछले साल" + ], + "in 1 day": [ + "अगले कल" + ], + "in 1 month": [ + "अगला मीन्ना" + ], + "in 1 week": [ + "अगले हफ्ते‘" + ], + "in 1 year": [ + "अगला साल" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/xog.json b/dateparser_data/cldr_language_data/date_translation_data/xog.json index b2eb9eaa5..9a06bb987 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/xog.json +++ b/dateparser_data/cldr_language_data/date_translation_data/xog.json @@ -96,7 +96,8 @@ "olunaku" ], "hour": [ - "essawa" + "essawa", + "hr" ], "minute": [ "edakiika" diff --git a/dateparser_data/cldr_language_data/date_translation_data/yav.json b/dateparser_data/cldr_language_data/date_translation_data/yav.json index 2dec2f135..aad395626 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/yav.json +++ b/dateparser_data/cldr_language_data/date_translation_data/yav.json @@ -96,6 +96,7 @@ "puɔ́sɛ́" ], "hour": [ + "hr", "kisikɛl," ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/yi.json b/dateparser_data/cldr_language_data/date_translation_data/yi.json index c193cd56f..fc6b4f77c 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/yi.json +++ b/dateparser_data/cldr_language_data/date_translation_data/yi.json @@ -85,6 +85,7 @@ "טאָג" ], "hour": [ + "hr", "שעה" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/yo.json b/dateparser_data/cldr_language_data/date_translation_data/yo.json index 656657a63..54a0defce 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/yo.json +++ b/dateparser_data/cldr_language_data/date_translation_data/yo.json @@ -3,75 +3,106 @@ "date_order": "DMY", "january": [ "oṣù ṣẹ́rẹ́", + "ṣẹ́", + "ṣẹ́r", "ṣẹ́rẹ́" ], "february": [ "oṣù èrèlè", + "èr", + "èrèl", "èrèlè" ], "march": [ "oṣù ẹrẹ̀nà", + "ẹr", + "ẹrẹ̀n", "ẹrẹ̀nà" ], "april": [ "oṣù ìgbé", + "ìg", + "ìgb", "ìgbé" ], "may": [ "oṣù ẹ̀bibi", + "ẹ̀b", + "ẹ̀bi", "ẹ̀bibi" ], "june": [ "oṣù òkúdu", + "òk", + "òkú", "òkúdu" ], "july": [ + "ag", + "agẹ", "agẹmọ", "oṣù agẹmọ" ], "august": [ "oṣù ògún", + "òg", + "ògú", "ògún" ], "september": [ + "ow", + "owe", "owewe", "oṣù owewe" ], "october": [ "oṣù ọ̀wàrà", + "ọ̀w", + "ọ̀wà", "ọ̀wàrà" ], "november": [ + "bé", + "bél", "bélú", "oṣù bélú" ], "december": [ "oṣù ọ̀pẹ̀", + "ọ̀p", + "ọ̀pẹ", "ọ̀pẹ̀" ], "monday": [ + "aj", "ajé", "ọjọ́ ajé" ], "tuesday": [ + "ìsẹ́g", "ìsẹ́gun", "ọjọ́ ìsẹ́gun" ], "wednesday": [ + "ọjọ́r", "ọjọ́rú" ], "thursday": [ + "ọjọ́b", "ọjọ́bọ" ], "friday": [ + "ẹt", "ẹtì", "ọjọ́ ẹtì" ], "saturday": [ + "àbám", "àbámẹ́ta", "ọjọ́ àbámẹ́ta" ], "sunday": [ + "àìk", "àìkú", "ọjọ́ àìkú" ], @@ -85,15 +116,17 @@ "ọdún" ], "month": [ - "osù" + "osù", + "oṣù" ], "week": [ - "ọ̀sè" + "ọ̀sẹ̀" ], "day": [ "ọjọ́" ], "hour": [ + "wkt", "wákàtí" ], "minute": [ @@ -113,40 +146,43 @@ "this minute" ], "0 month ago": [ - "this month" + "oṣù yìí" ], "0 second ago": [ "now" ], "0 week ago": [ - "this week" + "ọ̀sẹ̀ yìí" ], "0 year ago": [ - "this year" + "ọdún yìí", + "ọdúnǹí" ], "1 day ago": [ "àná" ], "1 month ago": [ - "last month" + "óṣù tó kọjá" ], "1 week ago": [ - "last week" + "ọ̀sẹ̀ tó kọjá" ], "1 year ago": [ - "last year" + "èṣín", + "ọdún tó kọjá" ], "in 1 day": [ "ọ̀la" ], "in 1 month": [ - "next month" + "óṣù tó ń bọ̀," ], "in 1 week": [ - "next week" + "ọ́sẹ̀ tó ń bọ̀" ], "in 1 year": [ - "next year" + "àmọ́dún", + "ọdún tó ńbọ̀" ] }, "locale_specific": { @@ -154,6 +190,8 @@ "name": "yo-BJ", "january": [ "oshù shɛ́rɛ́", + "shɛ́", + "shɛ́r", "shɛ́rɛ́" ], "february": [ @@ -161,6 +199,8 @@ ], "march": [ "oshù ɛrɛ̀nà", + "ɛr", + "ɛrɛ̀n", "ɛrɛ̀nà" ], "april": [ @@ -168,12 +208,15 @@ ], "may": [ "oshù ɛ̀bibi", + "ɛ̀b", + "ɛ̀bi", "ɛ̀bibi" ], "june": [ "oshù òkúdu" ], "july": [ + "agɛ", "agɛmɔ", "oshù agɛmɔ" ], @@ -185,6 +228,8 @@ ], "october": [ "oshù ɔ̀wàrà", + "ɔ̀w", + "ɔ̀wà", "ɔ̀wàrà" ], "november": [ @@ -192,23 +237,29 @@ ], "december": [ "oshù ɔ̀pɛ̀", + "ɔ̀p", + "ɔ̀pɛ", "ɔ̀pɛ̀" ], "monday": [ "ɔjɔ́ ajé" ], "tuesday": [ + "ìsɛ́g", "ìsɛ́gun", "ɔjɔ́ ìsɛ́gun" ], "wednesday": [ + "ɔjɔ́r", "ɔjɔ́rú" ], "thursday": [ + "ɔjɔ́b", "ɔjɔ́bɔ" ], "friday": [ "ɔjɔ́ ɛtì", + "ɛt", "ɛtì" ], "saturday": [ @@ -227,8 +278,11 @@ "year": [ "ɔdún" ], + "month": [ + "oshù" + ], "week": [ - "ɔ̀sè" + "ɔ̀sɛ̀" ], "day": [ "ɔjɔ́" @@ -240,8 +294,38 @@ "ìsɛ́jú ààyá" ], "relative-type": { + "0 month ago": [ + "oshù yìí" + ], + "0 week ago": [ + "ɔ̀sɛ̀ yìí" + ], + "0 year ago": [ + "ɔdún yìí", + "ɔdúnǹí" + ], + "1 month ago": [ + "óshù tó kɔjá" + ], + "1 week ago": [ + "ɔ̀sɛ̀ tó kɔjá" + ], + "1 year ago": [ + "èshín", + "ɔdún tó kɔjá" + ], "in 1 day": [ "ɔ̀la" + ], + "in 1 month": [ + "óshù tó ń bɔ̀," + ], + "in 1 week": [ + "ɔ́sɛ̀ tó ń bɔ̀" + ], + "in 1 year": [ + "àmɔ́dún", + "ɔdún tó ńbɔ̀" ] } } diff --git a/dateparser_data/cldr_language_data/date_translation_data/yrl.json b/dateparser_data/cldr_language_data/date_translation_data/yrl.json new file mode 100644 index 000000000..032fa4584 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/yrl.json @@ -0,0 +1,241 @@ +{ + "name": "yrl", + "date_order": "DMY", + "january": [ + "ye", + "yepé" + ], + "february": [ + "mk", + "mukũi" + ], + "march": [ + "ms", + "musapíri" + ], + "april": [ + "id", + "irũdí" + ], + "may": [ + "pu", + "pú" + ], + "june": [ + "py", + "pú-yepé" + ], + "july": [ + "pm", + "pú-mukũi" + ], + "august": [ + "ps", + "pú-musapíri" + ], + "september": [ + "pi", + "pú-irũdí" + ], + "october": [ + "yepé-putimaã", + "yp" + ], + "november": [ + "yepé-yepé", + "yy" + ], + "december": [ + "yepé-mukũi", + "ym" + ], + "monday": [ + "mur", + "murakipí" + ], + "tuesday": [ + "mmk", + "murakí-mukũi" + ], + "wednesday": [ + "mms", + "murakí-musapíri" + ], + "thursday": [ + "sup", + "supapá" + ], + "friday": [ + "yuk", + "yukuakú" + ], + "saturday": [ + "sau", + "saurú" + ], + "sunday": [ + "mit", + "mituú" + ], + "am": [ + "am" + ], + "pm": [ + "pm" + ], + "year": [ + "akayú" + ], + "month": [ + "yasí" + ], + "week": [ + "sẽm", + "sẽmãna" + ], + "day": [ + "ara" + ], + "hour": [ + "h", + "hura", + "hura-ita" + ], + "minute": [ + "min", + "minutu" + ], + "second": [ + "seg", + "segũdu" + ], + "relative-type": { + "0 day ago": [ + "wií" + ], + "0 hour ago": [ + "kuá hura" + ], + "0 minute ago": [ + "kuá minutu" + ], + "0 month ago": [ + "kuá yasí" + ], + "0 second ago": [ + "kuíri" + ], + "0 week ago": [ + "kuá sẽmãna" + ], + "0 year ago": [ + "kuá akayú" + ], + "1 day ago": [ + "kuesê" + ], + "1 month ago": [ + "yasí kuera" + ], + "1 week ago": [ + "sẽmãna kuera" + ], + "1 year ago": [ + "akayú kuera" + ], + "in 1 day": [ + "wirãdé" + ], + "in 1 month": [ + "amũ yasí" + ], + "in 1 week": [ + "amũ sẽmãna" + ], + "in 1 year": [ + "amũ akayú" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "aikué {0} ara", + "aikué {0} ara itá" + ], + "\\1 hour ago": [ + "aikué {0} h", + "aikué {0} h itá", + "aikué {0} hura", + "aikué {0} hura itá" + ], + "\\1 minute ago": [ + "aikué {0} min", + "aikué {0} min itá", + "aikué {0} minutu", + "aikué {0} minutu itá" + ], + "\\1 month ago": [ + "aikué {0} yasí", + "aikué {0} yasí itá" + ], + "\\1 second ago": [ + "aikué {0} seg", + "aikué {0} seg itá", + "aikué {0} segũdu", + "aikué {0} segũdu itá" + ], + "\\1 week ago": [ + "aikué {0} sẽm", + "aikué {0} sẽm itá", + "aikué {0} sẽmãna", + "aikué {0} sẽmãna itá" + ], + "\\1 year ago": [ + "aikué {0} akayú", + "aikué {0} akayú itá" + ], + "in \\1 day": [ + "{0} ara itá resê", + "{0} ara resê" + ], + "in \\1 hour": [ + "{0} h resê", + "{0} h resê itá", + "{0} hura resê", + "{0} hura resê itá" + ], + "in \\1 minute": [ + "{0} min resê", + "{0} min resê itá", + "{0} minutu resê", + "{0} minutu resê itá" + ], + "in \\1 month": [ + "{0} yasí itá resê", + "{0} yasí resê" + ], + "in \\1 second": [ + "{0} seg resê", + "{0} seg resê itá", + "{0} segũdu resê", + "{0} segũdu resê itá" + ], + "in \\1 week": [ + "{0} sẽm itá resê", + "{0} sẽm resê", + "{0} sẽmãna itá resê", + "{0} sẽmãna resê" + ], + "in \\1 year": [ + "{0} akayú itá resê", + "{0} akayú resê" + ] + }, + "locale_specific": { + "yrl-CO": { + "name": "yrl-CO" + }, + "yrl-VE": { + "name": "yrl-VE" + } + } +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/yue-Hans.json b/dateparser_data/cldr_language_data/date_translation_data/yue-Hans.json new file mode 100644 index 000000000..eea62f598 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/yue-Hans.json @@ -0,0 +1,199 @@ +{ + "name": "yue-Hans", + "date_order": "YMD", + "january": [ + "1月", + "一月" + ], + "february": [ + "2月", + "二月" + ], + "march": [ + "3月", + "三月" + ], + "april": [ + "4月", + "四月" + ], + "may": [ + "5月", + "五月" + ], + "june": [ + "6月", + "六月" + ], + "july": [ + "7月", + "七月" + ], + "august": [ + "8月", + "八月" + ], + "september": [ + "9月", + "九月" + ], + "october": [ + "10月", + "十月" + ], + "november": [ + "11月", + "十一月" + ], + "december": [ + "12月", + "十二月" + ], + "monday": [ + "周一", + "星期一" + ], + "tuesday": [ + "周二", + "星期二" + ], + "wednesday": [ + "周三", + "星期三" + ], + "thursday": [ + "周四", + "星期四" + ], + "friday": [ + "周五", + "星期五" + ], + "saturday": [ + "周六", + "星期六" + ], + "sunday": [ + "周日", + "星期日" + ], + "am": [ + "上午" + ], + "pm": [ + "下午" + ], + "year": [ + "年" + ], + "month": [ + "月" + ], + "week": [ + "周" + ], + "day": [ + "日" + ], + "hour": [ + "小时" + ], + "minute": [ + "分钟" + ], + "second": [ + "秒" + ], + "relative-type": { + "0 day ago": [ + "今日" + ], + "0 hour ago": [ + "呢个小时" + ], + "0 minute ago": [ + "呢分钟" + ], + "0 month ago": [ + "今个月" + ], + "0 second ago": [ + "宜家" + ], + "0 week ago": [ + "今个星期" + ], + "0 year ago": [ + "今年" + ], + "1 day ago": [ + "寻日" + ], + "1 month ago": [ + "上个月" + ], + "1 week ago": [ + "上星期" + ], + "1 year ago": [ + "旧年" + ], + "in 1 day": [ + "听日" + ], + "in 1 month": [ + "下个月" + ], + "in 1 week": [ + "下星期" + ], + "in 1 year": [ + "下年" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} 日前" + ], + "\\1 hour ago": [ + "{0} 小时前" + ], + "\\1 minute ago": [ + "{0} 分钟前" + ], + "\\1 month ago": [ + "{0} 个月前" + ], + "\\1 second ago": [ + "{0} 秒前" + ], + "\\1 week ago": [ + "{0} 个星期前" + ], + "\\1 year ago": [ + "{0} 年前" + ], + "in \\1 day": [ + "{0} 日后" + ], + "in \\1 hour": [ + "{0} 小时后" + ], + "in \\1 minute": [ + "{0} 分钟后" + ], + "in \\1 month": [ + "{0} 个月后" + ], + "in \\1 second": [ + "{0} 秒后" + ], + "in \\1 week": [ + "{0} 个星期后" + ], + "in \\1 year": [ + "{0} 年后" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/yue-Hant.json b/dateparser_data/cldr_language_data/date_translation_data/yue-Hant.json new file mode 100644 index 000000000..b12de2a1a --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/yue-Hant.json @@ -0,0 +1,180 @@ +{ + "name": "yue-Hant", + "date_order": "YMD", + "january": [ + "1月" + ], + "february": [ + "2月" + ], + "march": [ + "3月" + ], + "april": [ + "4月" + ], + "may": [ + "5月" + ], + "june": [ + "6月" + ], + "july": [ + "7月" + ], + "august": [ + "8月" + ], + "september": [ + "9月" + ], + "october": [ + "10月" + ], + "november": [ + "11月" + ], + "december": [ + "12月" + ], + "monday": [ + "星期一" + ], + "tuesday": [ + "星期二" + ], + "wednesday": [ + "星期三" + ], + "thursday": [ + "星期四" + ], + "friday": [ + "星期五" + ], + "saturday": [ + "星期六" + ], + "sunday": [ + "星期日" + ], + "am": [ + "上午" + ], + "pm": [ + "下午" + ], + "year": [ + "年" + ], + "month": [ + "月" + ], + "week": [ + "週" + ], + "day": [ + "日" + ], + "hour": [ + "小時" + ], + "minute": [ + "分鐘" + ], + "second": [ + "秒" + ], + "relative-type": { + "0 day ago": [ + "今日" + ], + "0 hour ago": [ + "呢個小時" + ], + "0 minute ago": [ + "呢分鐘" + ], + "0 month ago": [ + "今個月" + ], + "0 second ago": [ + "宜家" + ], + "0 week ago": [ + "今個星期" + ], + "0 year ago": [ + "今年" + ], + "1 day ago": [ + "尋日" + ], + "1 month ago": [ + "上個月" + ], + "1 week ago": [ + "上星期" + ], + "1 year ago": [ + "舊年" + ], + "in 1 day": [ + "聽日" + ], + "in 1 month": [ + "下個月" + ], + "in 1 week": [ + "下星期" + ], + "in 1 year": [ + "下年" + ] + }, + "relative-type-regex": { + "\\1 day ago": [ + "{0} 日前" + ], + "\\1 hour ago": [ + "{0} 小時前" + ], + "\\1 minute ago": [ + "{0} 分鐘前" + ], + "\\1 month ago": [ + "{0} 個月前" + ], + "\\1 second ago": [ + "{0} 秒前" + ], + "\\1 week ago": [ + "{0} 個星期前" + ], + "\\1 year ago": [ + "{0} 年前" + ], + "in \\1 day": [ + "{0} 日後" + ], + "in \\1 hour": [ + "{0} 小時後" + ], + "in \\1 minute": [ + "{0} 分鐘後" + ], + "in \\1 month": [ + "{0} 個月後" + ], + "in \\1 second": [ + "{0} 秒後" + ], + "in \\1 week": [ + "{0} 個星期後" + ], + "in \\1 year": [ + "{0} 年後" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/yue.json b/dateparser_data/cldr_language_data/date_translation_data/yue.json index f6e9b0923..922a8d819 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/yue.json +++ b/dateparser_data/cldr_language_data/date_translation_data/yue.json @@ -38,32 +38,25 @@ "12月" ], "monday": [ - "星期一", - "週一" + "星期一" ], "tuesday": [ - "星期二", - "週二" + "星期二" ], "wednesday": [ - "星期三", - "週三" + "星期三" ], "thursday": [ - "星期四", - "週四" + "星期四" ], "friday": [ - "星期五", - "週五" + "星期五" ], "saturday": [ - "星期六", - "週六" + "星期六" ], "sunday": [ - "星期日", - "週日" + "星期日" ], "am": [ "上午" diff --git a/dateparser_data/cldr_language_data/date_translation_data/za.json b/dateparser_data/cldr_language_data/date_translation_data/za.json new file mode 100644 index 000000000..c566a2011 --- /dev/null +++ b/dateparser_data/cldr_language_data/date_translation_data/za.json @@ -0,0 +1,139 @@ +{ + "name": "za", + "date_order": "YMD", + "january": [ + "ndwenit" + ], + "february": [ + "ndwenngeih" + ], + "march": [ + "ndwensam" + ], + "april": [ + "ndwenseiq" + ], + "may": [ + "ndwenngux" + ], + "june": [ + "ndwenloeg" + ], + "july": [ + "ndwencaet" + ], + "august": [ + "ndwenbet" + ], + "september": [ + "ndwengouj" + ], + "october": [ + "ndwencib" + ], + "november": [ + "ndwencib'it" + ], + "december": [ + "ndwencibngeih" + ], + "monday": [ + "singhgizit" + ], + "tuesday": [ + "singhgizngeih" + ], + "wednesday": [ + "singhgizsam" + ], + "thursday": [ + "singhgizseiq" + ], + "friday": [ + "singhgizhaj" + ], + "saturday": [ + "singhgizroek" + ], + "sunday": [ + "ngoenzsinghgiz" + ], + "am": [ + "am", + "banhaet" + ], + "pm": [ + "banringzgvaq", + "pm" + ], + "year": [ + "year" + ], + "month": [ + "month" + ], + "week": [ + "week" + ], + "day": [ + "day" + ], + "hour": [ + "hour", + "hr" + ], + "minute": [ + "minute" + ], + "second": [ + "second" + ], + "relative-type": { + "0 day ago": [ + "today" + ], + "0 hour ago": [ + "this hour" + ], + "0 minute ago": [ + "this minute" + ], + "0 month ago": [ + "this month" + ], + "0 second ago": [ + "now" + ], + "0 week ago": [ + "this week" + ], + "0 year ago": [ + "this year" + ], + "1 day ago": [ + "yesterday" + ], + "1 month ago": [ + "last month" + ], + "1 week ago": [ + "last week" + ], + "1 year ago": [ + "last year" + ], + "in 1 day": [ + "tomorrow" + ], + "in 1 month": [ + "next month" + ], + "in 1 week": [ + "next week" + ], + "in 1 year": [ + "next year" + ] + }, + "locale_specific": {} +} \ No newline at end of file diff --git a/dateparser_data/cldr_language_data/date_translation_data/zgh.json b/dateparser_data/cldr_language_data/date_translation_data/zgh.json index 39cfb14c1..ed0eb0e72 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/zgh.json +++ b/dateparser_data/cldr_language_data/date_translation_data/zgh.json @@ -96,6 +96,7 @@ "ⴰⵙⵙ" ], "hour": [ + "hr", "ⵜⴰⵙⵔⴰⴳⵜ" ], "minute": [ diff --git a/dateparser_data/cldr_language_data/date_translation_data/zh-Hant.json b/dateparser_data/cldr_language_data/date_translation_data/zh-Hant.json index f6a313957..cf6f7b9b2 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/zh-Hant.json +++ b/dateparser_data/cldr_language_data/date_translation_data/zh-Hant.json @@ -212,9 +212,6 @@ "1 day ago": [ "昨日" ], - "1 month ago": [ - "上月" - ], "1 week ago": [ "上星期" ], @@ -224,9 +221,6 @@ "in 1 day": [ "明日" ], - "in 1 month": [ - "下月" - ], "in 1 week": [ "下星期" ], @@ -253,7 +247,7 @@ ], "\\1 week ago": [ "{0} 星期前", - "{0}週前" + "{0}星期前" ], "\\1 year ago": [ "{0}年前" @@ -276,7 +270,7 @@ ], "in \\1 week": [ "{0} 星期後", - "{0}週後" + "{0}星期後" ], "in \\1 year": [ "{0}年後" @@ -311,9 +305,6 @@ "1 day ago": [ "昨日" ], - "1 month ago": [ - "上月" - ], "1 week ago": [ "上星期" ], @@ -323,9 +314,6 @@ "in 1 day": [ "明日" ], - "in 1 month": [ - "下月" - ], "in 1 week": [ "下星期" ], @@ -352,7 +340,7 @@ ], "\\1 week ago": [ "{0} 星期前", - "{0}週前" + "{0}星期前" ], "\\1 year ago": [ "{0}年前" @@ -375,7 +363,7 @@ ], "in \\1 week": [ "{0} 星期後", - "{0}週後" + "{0}星期後" ], "in \\1 year": [ "{0}年後" diff --git a/dateparser_data/cldr_language_data/date_translation_data/zu.json b/dateparser_data/cldr_language_data/date_translation_data/zu.json index 3dc90ca99..5a1daccc4 100644 --- a/dateparser_data/cldr_language_data/date_translation_data/zu.json +++ b/dateparser_data/cldr_language_data/date_translation_data/zu.json @@ -3,8 +3,7 @@ "date_order": "MDY", "january": [ "jan", - "januwari", - "umasingana" + "januwari" ], "february": [ "feb", @@ -97,6 +96,7 @@ "usuku" ], "hour": [ + "amahora", "ihora" ], "minute": [ diff --git a/dateparser_data/supplementary_language_data/date_translation_data/uk.yaml b/dateparser_data/supplementary_language_data/date_translation_data/uk.yaml index 9bfae097f..ae68cc782 100644 --- a/dateparser_data/supplementary_language_data/date_translation_data/uk.yaml +++ b/dateparser_data/supplementary_language_data/date_translation_data/uk.yaml @@ -39,10 +39,23 @@ sunday: march: - берез +april: + - кві +may: + - тра +june: + - чер +august: + - сер september: - верес +october: + - жов november: - листоп + - лис +december: + - гру year: - р @@ -146,12 +159,16 @@ relative-type: - післязавтра relative-type-regex: + \1 day ago: + - (\d+[.,]?\d*) д тому \1 hour ago: - (\d+[.,]?\d*) година тому \1 minute ago: - (\d+[.,]?\d*) хвилина тому \1 second ago: - (\d+[.,]?\d*) секунда тому + in \1 day: + - за (\d+[.,]?\d*) д simplifications: - од(на|ну|ні|ної|нієї|ин|ній): '1' @@ -185,4 +202,4 @@ simplifications: - кілька секунд: 44 секунди - кілька хвилин: 2 хвилини - опів на: 30 хвилин - - за чверть: 15 хвилин \ No newline at end of file + - за чверть: 15 хвилин diff --git a/dateparser_scripts/get_cldr_data.py b/dateparser_scripts/get_cldr_data.py index 6e227c819..9da7cc018 100644 --- a/dateparser_scripts/get_cldr_data.py +++ b/dateparser_scripts/get_cldr_data.py @@ -2,11 +2,12 @@ import os import shutil from collections import OrderedDict +from pathlib import Path import regex as re from dateparser_scripts.order_languages import _get_language_locale_dict -from dateparser_scripts.utils import get_dict_difference, get_raw_data +from dateparser_scripts.utils import get_dict_difference, get_raw_data, CLDR_JSON_DIR APOSTROPHE_LOOK_ALIKE_CHARS = [ "\N{RIGHT SINGLE QUOTATION MARK}", # '\u2019' @@ -30,8 +31,6 @@ PM_PATTERN = re.compile(r"^\s*[Pp]\s*\.?\s*[Mm]\s*\.?\s*$") PARENTHESIS_PATTERN = re.compile(r"[\(\)]") -cldr_dates_full_dir = "../raw_data/cldr_dates_full/main/" - def _filter_relative_string(relative_string): return ( @@ -46,18 +45,21 @@ def _filter_month_name(month_name): def _retrieve_locale_data(locale): - ca_gregorian_file = cldr_dates_full_dir + locale + "/ca-gregorian.json" - dateFields_file = cldr_dates_full_dir + locale + "/dateFields.json" - with open(ca_gregorian_file) as f: - cldr_gregorian_data = json.load(f, object_pairs_hook=OrderedDict) - with open(dateFields_file) as g: - cldr_datefields_data = json.load(g, object_pairs_hook=OrderedDict) + def load(scope, file_id): + file_path = CLDR_JSON_DIR / "cldr-json" / f"cldr-{scope}-full" / "main" / locale / f"{file_id}.json" + with file_path.open() as f: + return json.load(f, object_pairs_hook=OrderedDict) + + cldr_gregorian_data = load("dates", "ca-gregorian") + cldr_datefields_data = load("dates", "dateFields") + _units = load("units", "units") gregorian_dict = cldr_gregorian_data["main"][locale]["dates"]["calendars"][ "gregorian" ] date_fields_dict = cldr_datefields_data["main"][locale]["dates"]["fields"] + units = _units["main"][locale]["units"]["long"] json_dict = OrderedDict() @@ -287,6 +289,9 @@ def _retrieve_locale_data(locale): json_dict["day"] = [date_fields_dict[key]["displayName"] for key in day_keys] json_dict["hour"] = [date_fields_dict[key]["displayName"] for key in hour_keys] + hour_unit = units["duration-hour"]["displayName"] + if hour_unit not in json_dict["hour"]: + json_dict["hour"].append(hour_unit) json_dict["minute"] = [date_fields_dict[key]["displayName"] for key in minute_keys] diff --git a/dateparser_scripts/order_languages.py b/dateparser_scripts/order_languages.py index 39fa6affe..9fa68d9be 100644 --- a/dateparser_scripts/order_languages.py +++ b/dateparser_scripts/order_languages.py @@ -6,7 +6,7 @@ import requests from parsel import Selector -from dateparser_scripts.utils import get_raw_data +from dateparser_scripts.utils import get_raw_data, CLDR_JSON_DIR os.chdir(os.path.dirname(os.path.abspath(__file__))) @@ -15,14 +15,13 @@ def _get_language_locale_dict(): - cldr_dates_full_dir = "../raw_data/cldr_dates_full/main/" + cldr_dates_full_dir = CLDR_JSON_DIR / "cldr-json/cldr-dates-full/main/" available_locale_names = os.listdir(cldr_dates_full_dir) available_language_names = [ shortname for shortname in available_locale_names if not re.search(r"-[A-Z0-9]+$", shortname) ] - available_language_names.remove("root") language_locale_dict = {} for language_name in available_language_names: language_locale_dict[language_name] = [] @@ -106,7 +105,7 @@ def get_most_common_locales(): return old_common_locales return new_most_common_locales - territory_info_file = "../raw_data/cldr_core/supplemental/territoryInfo.json" + territory_info_file = CLDR_JSON_DIR / "cldr-json/cldr-core/supplemental/territoryInfo.json" with open(territory_info_file) as f: territory_content = json.load(f) territory_info_data = territory_content["supplemental"]["territoryInfo"] diff --git a/dateparser_scripts/utils.py b/dateparser_scripts/utils.py index a8ba6d1c5..e9ef5ec0d 100644 --- a/dateparser_scripts/utils.py +++ b/dateparser_scripts/utils.py @@ -1,38 +1,22 @@ import os import shutil from collections import OrderedDict +from pathlib import Path from git import Repo -def get_raw_data(): - cldr_version = "31.0.1" - raw_data_directory = "../raw_data" +CLDR_JSON_DIR = (Path(__file__).parent / "../cldr-json").resolve() - cldr_data = { - "dates_full": { - "url": "https://github.com/unicode-cldr/cldr-dates-full.git", - "dir": "{}/cldr_dates_full/".format(raw_data_directory), - }, - "core": { - "url": "https://github.com/unicode-cldr/cldr-core.git", - "dir": "{}/cldr_core/".format(raw_data_directory), - }, - "rbnf": { - "url": "https://github.com/unicode-cldr/cldr-rbnf.git", - "dir": "{}/cldr_rbnf/".format(raw_data_directory), - }, - } - if os.path.isdir(raw_data_directory): - # remove current raw data - shutil.rmtree(raw_data_directory) - os.mkdir(raw_data_directory) +def get_raw_data(): + cldr_version = "44.1.0" + url = "https://github.com/unicode-org/cldr-json.git" + if os.path.isdir(CLDR_JSON_DIR): + shutil.rmtree(CLDR_JSON_DIR) - for name, data in cldr_data.items(): - print('Clonning "{}" from: {}'.format(name, data["url"])) - repo = Repo.clone_from(data["url"], data["dir"], branch="master") - repo.git.co(cldr_version) + print(f'Clonning {url} @ {cldr_version} on {CLDR_JSON_DIR}...') + Repo.clone_from(url, CLDR_JSON_DIR, branch=cldr_version, depth=1) def get_dict_difference(parent_dict, child_dict): diff --git a/dateparser_scripts/write_complete_data.py b/dateparser_scripts/write_complete_data.py index e31703ee0..f7a5f1ed8 100644 --- a/dateparser_scripts/write_complete_data.py +++ b/dateparser_scripts/write_complete_data.py @@ -2,6 +2,7 @@ import os import shutil from collections import OrderedDict +from pathlib import Path import regex as re from ruamel.yaml import RoundTripLoader @@ -9,15 +10,15 @@ from dateparser_scripts.order_languages import avoid_languages from dateparser_scripts.utils import combine_dicts -cldr_date_directory = "../dateparser_data/cldr_language_data/date_translation_data/" -supplementary_directory = "../dateparser_data/supplementary_language_data/" +root = Path(__file__).parent.parent + +cldr_date_directory = root / "dateparser_data/cldr_language_data/date_translation_data" +supplementary_directory = root / "dateparser_data/supplementary_language_data" supplementary_date_directory = ( - "../dateparser_data/supplementary_language_data/date_translation_data/" + root / "dateparser_data/supplementary_language_data/date_translation_data" ) -translation_data_directory = "../dateparser/data/" -date_translation_directory = "../dateparser/data/date_translation_data/" - -os.chdir(os.path.dirname(os.path.abspath(__file__))) +translation_data_directory = root / "dateparser/data" +date_translation_directory = root / "dateparser/data/date_translation_data" cldr_languages = list( set(map(lambda x: x[:-5], os.listdir(cldr_date_directory))) - avoid_languages @@ -51,10 +52,10 @@ def _get_complete_date_translation_data(language): cldr_data = {} supplementary_data = {} if language in cldr_languages: - with open(cldr_date_directory + language + ".json") as f: + with open(cldr_date_directory / f"{language}.json") as f: cldr_data = json.load(f, object_pairs_hook=OrderedDict) if language in supplementary_languages: - with open(supplementary_date_directory + language + ".yaml") as g: + with open(supplementary_date_directory / f"{language}.yaml") as g: supplementary_data = OrderedDict(RoundTripLoader(g).get_data()) complete_data = combine_dicts(cldr_data, supplementary_data) if "name" not in complete_data: @@ -87,7 +88,7 @@ def write_complete_data(in_memory=False): shutil.rmtree(date_translation_directory) os.mkdir(date_translation_directory) - with open(supplementary_directory + "base_data.yaml") as f: + with open(supplementary_directory / "base_data.yaml") as f: base_data = RoundTripLoader(f).get_data() for language in all_languages: @@ -99,7 +100,7 @@ def write_complete_data(in_memory=False): ) out_text = ("info = " + translation_data + "\n").encode("utf-8") _write_file( - date_translation_directory + language + ".py", + date_translation_directory / f"{language}.py", out_text, "wb", in_memory, @@ -108,18 +109,19 @@ def write_complete_data(in_memory=False): init_text = ( "from dateparser.data import date_translation_data\n" - "from .languages_info import language_order, language_locale_dict\n" + "\n" + "from .languages_info import language_locale_dict, language_order\n" ) _write_file( - translation_data_directory + "__init__.py", + translation_data_directory / "__init__.py", init_text, "w", False, in_memory_result, ) _write_file( - date_translation_directory + "__init__.py", "", "w", False, in_memory_result + date_translation_directory / "__init__.py", "", "w", False, in_memory_result ) return in_memory_result diff --git a/docs/supported_locales.rst b/docs/supported_locales.rst index c2523236b..1fbc84708 100644 --- a/docs/supported_locales.rst +++ b/docs/supported_locales.rst @@ -55,7 +55,7 @@ et eu ewo fa 'fa-AF' -ff 'ff-CM', 'ff-GN', 'ff-MR' +ff fi fil fo 'fo-DK'