scrapinghub / scrapinghub/dateparser

Turkish Language Support - March

Open
#1,098 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.9k
Forks
520
Avg merge
22h 56m
Merged PRs (30d)
6

Description

The parser does not parse "Mart", the Turkish word for "March", correctly.

For example, 20 Mart 2001 is parsed as 2001-11-20 00:00:00-09:30, but it should be 2001-03-20 00:00:00.

As can be seen below, this issue does not persist with other months, and it is specific to Mart.

Screen Shot 2022-11-16 at 20 16 35

I believe the reason for this is MART - Marquesas Time.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Turkish input "20 Mart 2001" and compare it with the parser's handling of other Turkish month names. Trace the Turkish month parsing entry point and verify that the result uses March and the expected date representation; add regression coverage if the existing parser tests provide a suitable location.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
localization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.