Google calendar links and wrong start/end times - wordpress

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

Related

WordPress saves posts in wrong timezone

Whenever I try to save a post in the future, the time will detract 2 hours. This seems to be a timezone issue, but I cannot figure out what causes this.
My server timezone is set to Europe/Amsterdam, as well as my WordPress timezone.
If I want to save a post for 18:00 today, it gets saved as 16:00.
Can anyone point me in the right direction as to where to look?
What time zone are you in? Does it happen to be 2 hours apart?

How far back can I retrieve time entries for using the end point GET /workspaces/{workspaceId}/user/{userId}/time-entries?

Using the end point
GET /workspaces/{workspaceId}/user/{userId}/time-entries
I'm only able to retrieve time entries for a user going back about 14 days.
Am I able to retrieve older entries through the API?
I have tried the API using no start time, and using a start time 30 days ago and there are no results older than 2019-08-16T19:00:00Z (today is 2019-08-28)
I also tried emailing support#clockify.me and they told me to create an issue here.
I expected to be able to retrieve more than the last two weeks worth of entries.
Jovana from Clockify Support got back to me and the issue was default page size was too small. I added the parameter pageSize=10000 to allow me to retrieve more than a few days worth of entries.
Example
https://api.clockify.me/api/v1/workspaces/{0}/user/{1}/time-entries?page-size=10000

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.

How long should it take until a new Universal Analytics property starts collecting data?

I set up a new Universal Analytics property about 1 hour ago and added the code to my page. Everything looks fine and the same code is working well on other pages.
However, I cannot see any real-time data in the reports. If I only change the property ID in my code an leave everything else the same real-time data immediately shows up.
Does it take some time and if so how much until a property starts collecting data?
Well then ... it just started reporting data. Hope this post at least helps some others while being too impatient.
Took about 60 Minutes until it started to collect data.
If you have correctly installed the tracking snippet, collection will start immediately and you can verify in real time reports, assuming you are not filtering your own visits. Data won't appear in standard reports, however, for up to 24 hours (and you could even get data in as short as 1 hour as you have observed).

fullcalendar is adding minutes to my start time

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.

Resources