Comments (7)
Update: I didn't set the markedDates to 'interactive.'
But the middle dates still do not fill in. Does this mean I would have to supply all the dates in a date range to have them all filled in? Is there any easier way to do this, especially if someone wants to select a range that spans many months.
Thanks again.
from react-native-calendars.
Hi, yes, currently you have to mark each day and do the day range calculations inside your app
from react-native-calendars.
@tautvilas Rats. But totally understandable. I know this is outside the scope of your component, but I'm sure you're very familiar with the options to do the ranges. I think moment.range OR d3-time. From a performance standpoint, would you suggest either (or something different?). No worries if you dont have time to respond.
from react-native-calendars.
Yes there were several requests to do this range calculation logic in this component, but currently I think it makes sense not to do it here. I want this component to stay date-library agnostic. You can choose any date library you want and use it in your project. I think moment.js is a pretty good lib to use these days.
from react-native-calendars.
@tautvilas Thanks for being so responsive. You've done a great job with this and I appreciate it! Went with moment.js and its working great.
from react-native-calendars.
Thanks for your support :)
from react-native-calendars.
https://github.com/lazaronixon/react-native-date-range-picker
from react-native-calendars.
Related Issues (20)
- Make AgendaList scroll to today by default HOT 3
- There is a way to handle with week change in <weekCalendar /> HOT 1
- Types are wrong with AgendaSchedule hardcoded
- Webpack loader errors in solito nextjs app HOT 1
- React Native Calendars height is fixed by default
- React Native Calendars height is fixed by default cannot be changed why?Is there any way to decrease the height of calendar? HOT 1
- Add StandWithPalentine banner
- How will manually pick a date to start from ? HOT 1
- setNativeProps is not a function when pressing the knob of Agenda (tested with chrome)
- Asking a question regarding day header styling HOT 1
- ExpandableCalendar
- Performance : limit rerender of calendar
- March 31 missing in Calendar
- Expandable calendar height issue: Last week of month is not shown with customized design HOT 4
- Invariant Violation: requireNativeComponent: "RNSVGSvgView" was not found in the UIManager got this issue every time when trying to install react-native-calender
- Create Event similar to IOS calendars with Timeline compoenent, on LongPress where backgorundColor changes and reflects selectedTime of 1h?
- Facing date selection change issue on Expandable calendar week change
- im facing issue while long pressing on timeline im getting a day befores date,as an event
- Expandable calendar always shows the first day auto selected HOT 8
- How to get Data inside AgendaList
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-calendars.