jsumners / jsumners/feedparser

Fails to parse dates of format: 10/04/2014 03:45:49

Open
#424 0 comments 0 reactions 0 assignees View on GitHub

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

  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. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.