scrapinghub / scrapinghub/dateparser

YYYY/MM/DD HH:mm:ss +TZ such as 2021/06/05 19:36:22 -5:00 not detected

Open
#935 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

Hi! Love your project!

Whilst checking some binkp servers for TIME strings that should be RFC822 compliant per binkp 1.0 spec, I came across this one which is fairly common, yet dateparser does not support it: 2021/06/05 19:36:22 -5:00 (year, zero-padded month, zero-padded day, 24hs HH:MM:ss and UTC-5 timezone.

I was surprised.

Willing to help if given a bit of orientation on the code.

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

No files or tests are named in the issue. Start by locating dateparser's handling of numeric date formats and timezone offsets, then find nearby tests for formatted timestamps. Done means the exact string "2021/06/05 19:36:22 -5:00" parses successfully with the intended date and offset.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.