adambard / adambard/schengencalc
Calculation of last 180 days is incorrect.
- Linguagem predominante
- JavaScript
- Estrelas
- 9
- Forks
- 4
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
Calculator is considering last 181 days (includes current date) instead of 180. https://ec.europa.eu/assets/home/visa-calculator/calculator.htm?lang=fr considers last 180 days instead.
For example check with dates:
First entrance: `09/19/2016 — 11/06/2016`
Second entrance: `02/05/2017 — 05/05/2017`
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Start by locating the JavaScript entry point for the Schengen visa calculator and the calculation logic that handles the rolling date range. Reproduce the issue with the two entrance ranges in the report and compare the result with a 180-day window that excludes the current date. Done means the example and related boundary cases calculate the same 180-day period as the referenced calculator.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- javascript
- Domínio
- frontend
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 45/100