Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Searching "Date: Tue, 23 Apr 1996 13:28:27 -0400" fails to obtain date #184

Open
glenstewart opened this issue Jan 15, 2023 · 3 comments
Open

Comments

@glenstewart
Copy link

Great tool - thanks for working on it! I ran into one condition where it seemingly should work, but doesn't:

These are simple, small HTML files...
1.htm: "text": "Date: Tue, 23 Apr 1996 13:28:27 -0400",
20.htm: "text": "Date: Thu, 28 Mar 1996 19:27:29 -0500",
7.htm: "text": "Date: Fri, 16 Aug 1996 10:33:56 PST",

datefinder returns an empty result, using the latest code obtained with pip.

@glenstewart
Copy link
Author

It's the prefix "Date: " that's causing the problem. "Tue, 23 Apr 1996 13:28:27 -0400" itself works fine.

So odd.

@pravsripad
Copy link

I can reproduce this as well. It is the string "Date" followed by colon ":" anywhere in the string that seems to be the issue. With colon and String "Date" separately anywhere else, the results are as expected.

@FANGOD
Copy link

FANGOD commented Oct 23, 2023

generated At Time 2023-10-23T08:20:02+00:00 on same too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants