react-native-calendars icon indicating copy to clipboard operation
react-native-calendars copied to clipboard

How to adjust TimelineList interval/minutes?

Open bpetrovbg opened this issue 1 year ago • 4 comments

Description

I'm using the react-native-calendars library in my React Native project to display a timeline view with events scheduled throughout the day. By default, the time intervals on the left side of the timeline are set to 30 minutes, as shown in the image:

image

Expected Behavior

I'd like to modify these time intervals to display every 15 minutes instead of the default 30-minute intervals. I need more control over how these intervals are displayed to better match my scheduling needs.

Observed Behavior

I could not find anything in the documentation, this feature seems crutial for a calendar, is it missing?

Other info

https://stackoverflow.com/questions/78927773/how-to-adjust-time-intervals-in-react-native-calendars-to-less-than-1-hour-30-mi

bpetrovbg avatar Oct 21 '24 15:10 bpetrovbg

I'm also encountering a similar challenge. In my case, I need to adjust the timeline intervals to better suit my app's scheduling requirements, but I haven't found a way to modify the default 30-minute intervals either.

kaloyan-ivanov avatar Oct 22 '24 09:10 kaloyan-ivanov

similar issue if there is any alternate or any one find any solution?

muneeb-urr-rehman avatar Nov 14 '24 14:11 muneeb-urr-rehman

similar issue if there is any alternate or any one find any solution?

we had to extend the library ourselves, but it is still under development, I am not sure if we are ready to propose a PR...

bpetrovbg avatar Dec 19 '24 12:12 bpetrovbg

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 25 '25 00:04 stale[bot]