Skip to content
This repository has been archived by the owner on May 30, 2019. It is now read-only.

[Portuguese] - keywords "próximo" and "que vem" not interpreted #161

Open
vinicius-martins opened this issue Oct 14, 2016 · 2 comments
Open

Comments

@vinicius-martins
Copy link

Hi guys,
first of all, thanks for this wonderfull work that you're doing here.
I'm missing the understanding of the keywords listed above. Here in brazil they're often used.
They express something like "next ..." .
For example : "próximo mês" or "mês que vem" might be recognized as " next month" , it fits for years, weeks and months the same way.

thk a lot

@vinicius-martins vinicius-martins changed the title [Portugese] - keywords "próximo" and "que vem" not interpreted [Portuguese] - keywords "próximo" and "que vem" not interpreted Oct 14, 2016
@BeatrizHerculano
Copy link

The same occurs to "semana passada", "mês passado", that express something like "past month", "past week".

@gnardari
Copy link
Contributor

gnardari commented Jan 2, 2017

Just sent a pull request #199 fixing it.

Some of the rules expected a prefix that wasn't necessary, breaking some use cases. The tests also had the prefix, hiding the issue.

Examples:

next week
semana passada - failed
na semana passada - worked

next month
mês que vem - failed
no mês que vem - worked

l5t pushed a commit that referenced this issue Jan 28, 2017
* #98, #101, Holidays

* removing unnecessary prefix for cycle rules
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants