scrapinghub/dateparser

Add support for other words ("decade", "fortnight", "century"...)

Open

#725 aberto em 25 de jun. de 2020

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)Python (443 forks)batch import
good first issue

Métricas do repositório

Stars
 (2.318 stars)
Métricas de merge de PR
 (Mesclagem média 397d 12h) (13 fundiu PRs em 30d)

Description

There are some words that can be added to the library:

  • Decade: 10 years (2 decade --> 20 years, ...)
  • Fortnight: 14 days (Example: "a fortnight ago")
  • Century: 100 years (Example: "a century ago", "two centuries ago")

It's not necessary to put them all in a unique PR, you can submit just one of them. Just take in mind that it should support "next decade", "last decade", "a decade ago", "in a decade", but also "two decades ago".

Guia do colaborador