FullCalendar user-defined number of days per week - javascript

Our customer would like our app to have a per-user setting that allows each user to decide the number of days they see in the "week" view of FullCalendar.
Most want to see 10 days (instead of 7). Any suggestions how to accomplish this?

Related

unable to display a single year using #nivo/calendar

I'd like to leverage #nivo/calendar to display a year's worth of data (every single day of the year). All my dates are within the valid range. If I set the start date to 2016-01-01 (where YYY-MM-DD), I get two year calendars (2015+2016). Setting it to 2016-01-02 fixes the issue (shows only 2016), but then I missing data for the first day of the year. I have a hunch this is some sort of timezone bug.
Has anyone run into this issue?
from="2016-01-02" // setting from to 2016-01-01 causes bug where two years are shown instead of one
to="2016-12-31"
You can see the issue here:
https://codesandbox.io/s/nivo-calendar-single-year-forked-lemu8i

Datepicker custom selection Javascript / jQuery

I need to make the datepicker like this:
just a brief intro, my project is to make something like employee holiday request.
so that the employee can apply their day-off request, but here's what my boss ask for the requirement. Sunday, and world official holiday need to be automatically added when the user picked the previous date or after.
Ex : 25 December is Christmas day.
Then I (as the employee) lets say pick 24th Dec and 26th Dec as my day-off. Then I may not skipped 25th December, it needs to be calculated as well.
That means I already used my 3 days off chance(my office only allow 12 days day-off in a year).
Sorry for the long explanation, I'm a newbie. I just want to know is this possible and if so, how? can you at least show me the trick. THANK YOU SO SO MUCH

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.

Is there a Javascript date picker that allows me to select multiple dates based on a weekday?

I would like to able to select all Wednesdays in a given month by clicking on the day in the calendar UI. For example to schedule a meeting that occurs on every Wednesday. I would like the user to be able to just click on a day name rather than clicking every specific date.
I was wondering if anyone is aware of a Javascript date picker library that already has this feature or is this something I will have to write myself?
I've looked at a few multidate pickers available out there (http://multidatespickr.sourceforge.net/ for example) and they all have a feature to select a RANGE or the entire week however it seems that none of them support selection based on a specific week day.

Categories