jsumners / jsumners/feedparser
Fails to parse dates of format: 10/04/2014 03:45:49
Open
Nobody has claimed this yet.
auto-migrated
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
What steps will reproduce the problem?
1. Parse a feed with dates like this: <pubDate>10/04/2014 03:45:49</pubDate>
What is the expected output? What do you see instead?
'published_parsed' is None
Expected 'published_parsed' to contain a time.struct_time(tm_year=2014,
tm_mon=4, tm_mday=10, tm_hour=3, tm_min=45, tm_sec=49, tm_wday=3, tm_yday=100,
tm_isdst=-1)
(as produced by time.strptime("10/04/2014 03:45:49", "%d/%m/%Y %H:%M:%S")
What version of the product are you using? On what operating system?
5.1.3
Original issue reported on code.google.com by bendi...@gmail.com on 10 Apr 2014 at 11:11
Contributor guide
No contributing guide indexed for this repository
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. Reproduce the problem with a feed containing 10/04/2014 03:45:49 and compare the parsed result with time.strptime(..., "%d/%m/%Y %H:%M:%S"). Done means published_parsed contains the expected time.struct_time values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100