scrapinghub / dateparser

python parser for human readable dates
BSD 3-Clause "New" or "Revised" License
2.56k stars 465 forks source link

Updated Czech localization #1172

Open TheXer opened 1 year ago

TheXer commented 1 year ago

In some cases, there's some inconsistencies with Czech grammar. For example, in English:

In a month will output a correct datetime object - 1 month from now. But in Czech za měsíc won't print anything, but příští měsíc will. Both are correct Czech sentences.

The same proposed changes applies to za týden (in a week), za hodinu (in a hour), příští rok (next year).

Added new words: In two days - pozítří Two days ago - předevčírem Last year - loni or vloni

And finally, added some new declensions of initial words.

Gallaecio commented 1 year ago

Please, see https://dateparser.readthedocs.io/en/latest/contributing.html#guidelines-for-editing-translation-data