question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Req - Max Date Rage

See original GitHub issue

Thanks for this awesome library!

Is there any possibility of adding a limit on the date range that is valid? Specifically, I don’t want to be able to set a year like 12/31/9999. It would be great to validate that the year is within some bounds.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
humodevcommented, May 29, 2019

There’s a bug when min is not added. I get a cannot read property split from undefined could we have min as an optional value?

2reactions
nosircommented, Dec 16, 2018

Thanks for the like. I guess the difficult part here is, when one sets a max date: 2019-10-31, and as soon as the user types 2019-11, the lib shall detect that and revise the value to 2019-10 I will have a look

Read more comments on GitHub >

github_iconTop Results From Across the Web

sql - selecting max date in range, excluding multiple other ...
I am selecting the MAX(Date) within a range. However, I have a table, bfShow, where each show has its own date-range (stored as...
Read more >
Solved: How to get max date - Designer - Alteryx Community
Hi All,. I have set of columns from each file I used for a device with a set of dates but I need...
Read more >
Creating max date available as default filter - Question & Answer
Currently I am using Top 1 date basis max date available to default it to latest date ... Relative to max date -...
Read more >
Select Max date in a given range - Tableau Community
The formula MAX(Order Date) gives me the max order date in the database, which is correct, but what is the formula to find...
Read more >
[Feature request] Min/Max date ranges that disable arrows ...
[Feature request] Min/Max date ranges that disable arrows, hide invalid months/years. #628. Open. Billiam opened this issue on Jul 20, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found