Fullcalendar select specific period of time in an event slot - javascript

Is their a way to select a specific time in an event? For example, the time slot is from 8AM - 12Am and someone wants to schedule from 10AM to 11AM.
Can anyone give some advises on how to do this ?

Related

Stripe set subscription to end on a particular date

I have a subscription plan which I am initiating using stripe subscriptions.
It is billed monthly.
So if a person subscribed at 9 PM on Dec 7th, he/she should be able to use the product till the midnight of Jan 7th on the next cycle.
And then the cycle should keep on going for the next cycles as well.
My idea here is that, if a person subscribes to a product in the morning of a day, he/she should not get cancelled out towards the evening and all of the next month. He/She should probably get the entire day of their last cycle date.
And the same should be carried out for the next cycle as well.

Kendo Scheduler not firing change event when you reselect

I am having an issue with the kendo scheduler, the change event is not firing in a particular case.
When I select the calendar, let's Monday 23rd July to Friday 27th July. The change event fires with
Selection between 7/23/2018 12:00 AM and 7/27/2018 12:00 AM
Which is perfect, now if change my selection to be just Friday 27th July, the change event will not fire. Note that the change event will fire if I pick any other date that was previously selected. I need that change event to fire so I can update the dates that get sent back to the server. I don't know how to work around this.
It is the same scenario in their demo site: https://demos.telerik.com/kendo-ui/scheduler/events
Any help is appreciated. Thanks.
This is happening in the Month view

how to hide times from fullcalendar other than businessHours

I am working on fullcalendar plugin. I am facing an issue hiding other times than businessHours. My Calendar starts with 12 AM and i want to start it from the businessHour lets say, 10:00 AM to 07:00 PM
i also want to know can we reload fullcalendar. I have to give choice if user want to see in timeSlot of 15 mins or 30 mins Whenever user clicks on that fullcalendar needs to be reloaded with the setting done by user.
Please help me fixing these.
Thanks,
Amod

Opening hours / fullcalendar for an "anonymous" week

I'd like to use full calendar to let users create opening hours for weekdays (Monday to Sunday, and if possible holidays). What fullcalendar already does, but it's not for a particular week in time so it should not have dates. So, questions:
any ideas to not attach to a particular week? My best idea so far is to pick a particular week in time and hide dates.
any idea to show an 8th day for holidays?
i used the agendaweek view for the the week, and save the data without the date
start hour
end hour
weekday
then for every week i claculate the date and add to it the hour.
maybe fullcalendar is'nt the best thing for that.

How to visibly disable past timeslots for Day view jQuery fullcalendar

Is their a configurable way to visibly disable the past timeslots for the current day in the Day view of jQuery fullcalendar?
I'm displaying business hours 9:00 AM to 6:00 PM for the day. Consider the time now is 12:30 PM, I need to block users to book any events prior to 12:30 PM. Also the disabled timeslots has to be greyed out and unselectable. I can write the select callback validating the time selected. But need a visual effect to let the user feel that the past timeslots are not selectable.
Welcoming custom scripts too.
You could use eventAfterAllRender and append a css class to all slots which have passed.
It should be easy to work out how many rows you need to apply the class to (time of day in minutes / 30). Add the disabled css class to the td's and style with whatever you feel like.
This obviously won't actually disable the slots though and you will need to use the dayClick callback to disable past times

Categories