fullcalendar is adding minutes to my start time - fullcalendar

Has anyone using fullCalendar by Adam Shaw seen this before? The start time showing up in the calendar gets minutes added, however, when I click on the event and get the popup, I see the correct time.
For example, there are 3 events on different days and all of them have start time of 9:00a but when the calendar (weekly, daily or monthly) gets displayed, all times have 8 minutes added to them so it reads 9:08a
When I click on any of the events and I get the popup, the start time shows correctly 9:00a.
I have checked the database where these events are being read from and they are correct. Any help/suggestions will be greatly appreciated.
Thank you.

Related

Google Tag Manager - track user with no activity

I am trying to create a trigger that will run after 20 seconds of no user activiry on page.
It works simply in theory but I couldnt find any solution of how to do that.
By no activity i mean no click ( gtm.click ) happening in that time.
Thanks a lot for your help :)
I would advise you to create a Timer trigger. You'll specify a name for the event that's used when it elapses (defaults to "gtm.timer", the interval at which it fires (in milliseconds) and an optional limit to cap how many times it fires (leaving it blank means it won't ever stop firing each interval).
You're describing a scenario where it should fire a single time at 20 seconds, so you'd want to configure it as in the following:

Google calendar links and wrong start/end times

I have a rather strange problem. I'm trying to create URLs for Google Calendar items and everything is working fine, except when I add a timezone, the event start and end times are 5 minutes off. I can't for the life of me figure out what's wrong. Example:
http://www.google.com/calendar/event?action=TEMPLATE&text=Sample+Event&dates=20210511T1400/20210511T1500&ctz=America/New_York&location=&details=&sf=true
As you can you see from the URL, it should be 2PM and 3PM but when you actually go to the page, it's 5 minutes past the hour.
Anyone got any ideas?
Well finally found the answer. I was just missing the seconds from the time in the URL. That was messing it up. For example:
http://www.google.com/calendar/event?action=TEMPLATE&text=Sample+Event&dates=20210511T140000/20210511T150000&ctz=America/New_York&location=&details=&sf=true

Display event in a cell that starts at midnight (night shifts)

Good afternoon,
I´m developing a calendar using FullCalendar scheduler and my client needs to see night shifts of a date that starts beyond 00:00 of the next day. I already know that nextDayThreshold allows to display events that occurs between two days establishing a time end limit but FullCalendar displays an event in the next day when it starts at 00:00.
One solution could be to create non standard Event fields like realStart and realEnd to store real dates and using start and event standard fields for visual representation but it has many unwanted effects. Ideas please?

Fullcalendar: start day at 8AM instead of midnight

We are use the Fullcalendar plugin for booking our events
Al lot of the events take place around midnight so often we see events starting at 22:00 and ending at 4:00. It is possible to insert these in Fullcalendar in the week view but it is a little tricky. It would make more sense to us to start the days at 8 in the morning and end at 8 in the morning so events will usually be visible in a single day.
I did not find this option in the documentation, so I would like to know if there is an existing implementation that does this job or else find a hint where I would start to enhance Fullcalendar to make this possible.
It is possible using the minTime and maxTime by setting them as the following.
minTime: "08:00:00",
maxTime: "32:00:00",
Here is a codepen showing this.
However it is quite buggy. If you try to put a small event into the time that would be the next day after 12PM, then the calendar does not really know what to do and the even will be be out of view. If the event is at least long enough to bring it to the next day past 8AM then it will be visible across both days. Due to the bugs with this method I would suggest using the calendar with its default minTime and maxTimes is the best approach.

fullcalendar - events offset by 2 days

I am experiencing a very odd problem and I cannot reproduce it!
I have around 70 users using my app which has the calendar display events.
The events are loaded into the calendar from a PHP function which populates the eventsource.
On 68 of the users everything displays perfectly.
On 2 users, the events are displayed 2 days ahead of the actual event in the calendar.
i.e. Easter monday is an event that I am displaying and it displays in their calendar on the 23rd April instead of the 21st.
I have tried to reproduce this on my PC but am unable.
Any suggestions would be greatly appreciated.
Regards
Col

Resources