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

Add support for "\d units later" #1154

Merged
merged 1 commit into from Mar 16, 2023
Merged

Add support for "\d units later" #1154

merged 1 commit into from Mar 16, 2023

Conversation

RadhiFadlillah
Copy link
Contributor

Currently dateparser able to parse "5 hours ago", but unable to parse its opposite: "5 hours later". So, I created this PR to add support for "\d {unit}s later" in English language, where unit is all supported units by dateparser, i.e. year, decade, month, week, day, hour, minute and second.

@Gallaecio
Copy link
Member

Nice.

@serhii73 serhii73 merged commit 4749e3e into scrapinghub:master Mar 16, 2023
8 checks passed
@serhii73
Copy link
Collaborator

Thanks

@RadhiFadlillah RadhiFadlillah deleted the unit-later branch March 16, 2023 14:04
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

Successfully merging this pull request may close these issues.

None yet

3 participants