Skip to content

Commit

Permalink
Update cz (#1151)
Browse files Browse the repository at this point in the history
Co-authored-by: Valeriy Mukhtarulin <valeriymukhtarulin@tuta.io>
  • Loading branch information
serhii73 and Valeriy Mukhtarulin committed Mar 14, 2023
1 parent 7cd3b80 commit b6ff377
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dateparser/data/date_translation_data/cs.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"february": [
"úno",
"únor",
"února"
"února",
"únr"
],
"march": [
"bře",
Expand All @@ -36,7 +37,8 @@
"července",
"červenec",
"čvc",
"Črc"
"Črc",
"črv"
],
"august": [
"srp",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ sunday:
- Ned
- Neděli

february:
- únr
june:
- Čer
july:
- Črc
- črv

year:
- roků
Expand Down
2 changes: 2 additions & 0 deletions tests/test_date_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,8 @@ def test_stringified_datetime_should_parse_fine(self):
param('pon 16. čer 2014 10:07:43', datetime(2014, 6, 16, 10, 7, 43)),
param('13 Srpen, 2014', datetime(2014, 8, 13)),
param('čtv 14. lis 2013 12:38:43', datetime(2013, 11, 14, 12, 38, 43)),
param('14Unr\'21', datetime(2021, 2, 14)),
param('02Bre\'21', datetime(2021, 3, 2)),
# Thai dates
param('ธันวาคม 11, 2014, 08:55:08 PM', datetime(2014, 12, 11, 20, 55, 8)),
param('22 พฤษภาคม 2012, 22:12', datetime(2012, 5, 22, 22, 12)),
Expand Down

0 comments on commit b6ff377

Please sign in to comment.