Skip to content

[pull] master from scrapinghub:master - #98

Merged
pull[bot] merged 1 commit into
zanachka:masterfrom
scrapinghub:master
Jul 29, 2026
Merged

[pull] master from scrapinghub:master#98
pull[bot] merged 1 commit into
zanachka:masterfrom
scrapinghub:master

Conversation

@pull

@pull pull Bot commented Jul 29, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

* Improve Czech (cs) language data (#1172)

- Add month locative/dative forms (lednu, únoru, březnu, dubnu, květnu,
  červnu, červenci, srpnu, říjnu, prosinci) for dates like "v lednu 2023"
- Add July abbreviation "črv"
- Fix "za měsíc/týden/rok" not parsing: add accusative simplification
  patterns (previous patterns only matched instrumental -em forms)
- Add tests covering the new expressions

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>

* Do not read the day as a two-digit year after the year position (Close #519)

In year-first date orders (e.g. YMD, used by the Japanese locale),
parse_number tried the %y directive on every two-digit number, so in
"4月20日 18:10" the day 20 was consumed as the year 2020 and the day was
silently filled from the current date.

If a component that the date order places after the year has already
been found, the year position in the date string has already been
passed, so a two-digit number is now read as a year only if it cannot
be any other component (e.g. 99 in "4-99").

---------

Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@pull pull Bot locked and limited conversation to collaborators Jul 29, 2026
@pull pull Bot added the ⤵️ pull label Jul 29, 2026
@pull
pull Bot merged commit 06ca032 into zanachka:master Jul 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant