day8 / day8/re-com

Select previous month, with minimum date setting

Open
#155 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Clojure
Stars
823
Forks
142
PR merge metrics
No merged PRs in 30d

Description

The datepeaker is only letting go back to previous months if the difference of the configured minimum date is greater than one month.

If I am in June, 30.
He only enable to back to previous month if my minimum date is in April month.
If my minimum date is: May 5, 2017, let's say I want to select any date greater than this, do not let me go back.

Only if I select 05/30 and then select again the datepeaker, they allow me select any date greader then May 5, doing the correct validate.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the datepicker component and reproduce the issue with a minimum date of May 5 while viewing June 30. The fix is done when navigating to the previous month remains possible, while dates earlier than May 5 are still rejected without requiring a prior date selection.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.