Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get each data of range selection #5

Closed
Shawnfoto opened this issue Dec 15, 2020 · 3 comments
Closed

How to get each data of range selection #5

Shawnfoto opened this issue Dec 15, 2020 · 3 comments

Comments

@Shawnfoto
Copy link

Shawnfoto commented Dec 15, 2020

I selected 1/1~1/5, but it only showed 1/1, 1/5 on the form of dates.
May I ask how to get each data(1/1, 1/2, 1/3, 1/4, 1/5) of range selection?

@shahabyazdi
Copy link
Owner

shahabyazdi commented Dec 15, 2020

In range mode, only the start and end dates are given, because the user may select a whole year and it is not optimal to store the whole year in memory.
You can use a for loop like this example to get each days

@Shawnfoto
Copy link
Author

Thank you.

@shahabyazdi
Copy link
Owner

You're welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants