Comments (2)
I will take a look! This may be an issue with the underlying date parser.
On Fri, Jun 10, 2016 at 01:45 Virgile Audi [email protected] wrote:
Hi !
I just wanted to start by thanking you for datefinder, exactly what I was
looking.I think I found a small bug but couldn't understand how to fix it in the
source code.When parsing strings such as:
list(datefinder.find_dates('2 months'))[0]
it parses months as minutes, i.e. :
datetime.datetime(2016, 6, 10, 8, 31, 41, 469126)
If you could have a look at it, it'd be great ! Thanks a lot again !
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#22, or mute the thread
https://github.com/notifications/unsubscribe/AAszJFY-MihYVn-5_RgFl7qYTtYaqrzYks5qKSQRgaJpZM4IyvdT
.
from datefinder.
Looking back at this, it looks like you are trying to capture spans of time, rather than specific dates. I'll be tracking this as #171
from datefinder.
Related Issues (20)
- Major Bug while detecting day in year starting dates HOT 1
- Broken in 0.7.3 : date not detected with specific surrounding text HOT 1
- Can't find specific dates in %d.%m.%Y format HOT 2
- "On <month_name>" gives a weirdly extracted date value HOT 1
- Reference Date
- strict mode fills in and return incomplete dates (that are not supposed to be dates)
- Searching "Date: Tue, 23 Apr 1996 13:28:27 -0400" fails to obtain date HOT 3
- "French 75" is identified as date due to the presence if 75
- Datefind mistakenly identifies "pre-qualification may" as a date resulting in the date list as "on may"
- update print in example to Python 3
- Release version 0.7.4?
- UnknownTimezoneWarning warning HOT 1
- "datefinder" fails with this text "25/7//2023".
- REPLACEMENTS not comprehensive enough?
- Fails to detect correct day if text is '9.6 20:30'.
- Failed To detect the Date : 2022 05 October if Strict is True.
- Fails to detect date if text is '2023-10-04 decision' or '2023-10-04 novel'
- Detects datetime.datetime(2015, 12, 18, 0, 0) when given " 2015 " HOT 2
- Something wrong with no english strin months?
- find_dates fails when there's a number after a date HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datefinder.