how to set duration businessHours - fullcalendar

I'm trying to make my calendar using the fullcalendar api. But I don't find how to set the duration for the settings businessHours. I would like to get a different view businessHours on the different week or another month.
Thanks.

Related

Microsoft Graph API get calendar changes in a time interval, filter by lastModifiedDateTime

Im trying to get the modified or created events in the calendar, after a specific date.
Following documentation link, i can use this url to get the events of this year.
https://graph.microsoft.com/v1.0/me/calendarview?startDateTime=2020-01-01T00:00:00&endDateTime=2021-01-01T00:00:00
Since i want to get only the modified or created events after a specific date im trying to use filter and lastModifiedDateTime attibute, by this way
https://graph.microsoft.com/v1.0/me/calendarview?startDateTime=2020-01-01T00:00:00&endDateTime=2021-01-01T00:00:00&$filter=lastModifiedDateTime%20gt%202020-10-01T00:00:00z
trying to get the events which were modified this month, i get a empty response, not even errors.
I also tried this way documentation link using
https://graph.microsoft.com/v1.0/me/calendarView/delta?startDateTime=2020-01-01T00:00:00&endDateTime=2021-01-01T00:00:00&lastModifiedDateTime%20gt%202020-10-01T00:00:00z
but it returns all the events of the year and does not filter by lastModifiedDateTime.
There are any proper way to get the modified or created calendar events after a specific date?
Looks like calendarView does not work properly with filter, a working alternative is filter list events, Documentation Link
A working url looks like this : https://graph.microsoft.com/v1.0/me/calendar/events?$filter=lastModifiedDateTime%20gt%20" + date + "z"

zettwerk.fullcalendar - Is it possible to limit selection to one day in whole-day selections/month view?

I'm using zettwerk.fullcalendar in a Plone Site and I am trying to restrict 'day' selections (i.e. Month View seletions and whole day selections) to 1 day.
Other questions mention enableConstract and selectConstraint.
How to limit timeslot selection to one day in Fullcalendar Jquery?
So I tried two approaches, in setting defaultCalendarOptions, I added:
'enableConstraint':{'start':'00:01',
'end':'23:59'
}
I could still select multiple days, so I tried:
'selectConstraint':{'start':'00:00',
'end':'23:59',
}
Unfortunately, that did not work either.
Is it possible or is selectConstraint/enableConstraint only for limiting the selection of hours?
The version of fullcalendar being used by zettwerk.fullcalendar is 1.6.4.

Create multi-date google calendar event through URL

I'm trying to build an URL which will direct the user to their Google Calendar and will show the create event page with predefined values. I've managed to build the URL that will create an event only for a particular day. My problem is how can i add multiple dates in the same URL?
My generated URL is as follow:
https://www.google.com/calendar/render?action=TEMPLATE&text=New+Dynamic+Event&dates=20141204T073000Z/20141204T100000Z&details=Calendar+Details&location=My+Event+Location&followup=https://www.google.com/calendar&scc=1&sf=true&output=xml
This will create an event on 2014/12/04. How can i add more dates to this URL so that the event will be created on multiple days?
You cannot create multi date event in google calendar but you can insert the same event on different dates. Also, you can try using recurring events. However these type of events has patterns like weekly,monthly..
If you just provide the day date parts like
&dates=20170127/20170129
then this will raise the form with dates 2017-01-27 until 2017-01-28, and the 'all-day' box checked.
One day must be added to the date range.

How to display the calendar according to event data startdate

I have a event data which contains startdate and end date , i want to see the calendar holding that event,now what is happening is it is showing the current week calendar ,but if my event having previous week satrtdate means i have to go to previous week and and i can able to see the event data in calendar..but i want to focus that date calendar at first shot itself..pls do the needful its urgent, i think i have to change something in fullcalendar.js but i dont know where to change pls do needful
Check the documentation for FullCalendar... http://arshaw.com/fullcalendar/docs/current_date/
This shows parameters that can be set to get the calendar to initate at a particular date.. by default it will always start at todays date.

2 or more months view or even a year view in FullCalendar?

Is there any way to set up fullcalendar to display a given number of months, or even a full year?
you can try my fork which has this feature :
https://github.com/tpruvot/fullcalendar
http://epsy.ath.cx/fullcalendar-yearview/demos/year.html

Resources