scrapinghub / scrapinghub/dateparser
YYYY/MM/DD HH:mm:ss +TZ such as 2021/06/05 19:36:22 -5:00 not detected
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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