Google Calendar ICS to include the day before - google-calendar-api

This is for a custody calendar which shows who has the kids and when. There is a situation revolving around several holidays that happen on x Monday of every year. The custody terms give a parent time on that Monday as well as the Sunday before. For example, MLK day is celebrated on the third Monday of January every year. Since it's possible for January to begin on a Monday, I can not begin the calendar event on the third Sunday as it will displace the event by a week.
Is there a way to trigger the event on the third Monday but include the Sunday before within the ICS file?
I'm not sure where to begin here. I have not been able to find anything relevant while searching for a solution.

Related

Business hours for specific Dates in full calendar

I am using fullcalendar to let users book an appointment with clients at specific availability set by the clients. So have to disable the fullcalendar when the client is not available. Currently I am able to set multiple business hours for whole calendar i.e. all the years and months.
But I am not able set for specific chunks of date ranges. I need to set different business hours for different date ranges in full calendar. For example from 5th Jan 2016 to 25th Jan 2016 i want to set business hours 08:00 AM to 06:00 PM after that date I want to set business hours 09:00 AM to 08:00 PM for 1st Feb to 15th Feb. Remaining Date should be disabled for creating event for whole year and above specified date and time should be enabled to create event.
I tried many options but it seems there aren't enough options to fulfill my requirement. So calling for some help if someone can.

FullCalendar slotLabelInterval count

I am working on a web page that has FullCalendar in it. I would like to make the agendaWeek-view show time from 06:00 to 22:00 with interval of 4 hours. The 06:00-22:00 time works as it should but how can I change the interval count to start from 06:00? It starts counting from 00:00 and now the first visible time label is 08:00 but I want it to be 06:00. In short, the calendar starts from 06:00 with no time labels on it until at 08:00.
I can't be sure because you have not posted any code but I think this is what you are looking for. slotDuration will let you change the interval where the calendar will display times. So if you set slotDuration: '04:00:00' it will only show a time interval every 4 hours. See an example here.

How to represent days in timeline tree for Neo4j/graphDB

In reading this blog, this reference, and reviewing the answer to this question, I'm confused as to how one can represent distinct days in a timeline tree. In both cases they show a limited number of days on the example database and my thought is that this model cannot hold if you wanted to model an entire year or an unbounded temporal calendar period.
I am reading these examples such that the 'day' nodes are merely just the number of the day '1', '2', .. '31'. As every month has a day labeled '1', '2', etc, how do you traverse the path when you connect all days to months?
For example, in the attached modified drawing, month 12 and month 1 BOTH have days 1, 2 and 31 in them. When I look at event 2, how do I know if this took place on 12/31 or 1/31? I'd like to model all days for all months and using the template (as I understand it) creates ambiguous paths on the graph that do not allow for discrete temporal queries.
Or should a 'days' entity be a more unique number that represents the number of the day for that YEAR where the attribute for that number is the number of the day in the month?
As it stands I do not understand how you can create a complete timeline tree for an entire year as it is modeled in the above links.
The modified drawing shares the day nodes between months and that's why it's difficult to know whether event 2 took place on 12/31/2010 or 1/1/2011
The timetree for a single year, with a resolution of Day, will have 365/366 day nodes. So the Day node with value 31 is not shared by both January and December, but January and December have their own Day 31 nodes. In other words a day node relates to exactly one month, and a month node relates to exactly one year.
Then you can follow the path from the event back up to the root without having it diverge at month.
Peter's blog post referenced above shows the crossing of December into January but does not share the Day node 31- you can see that he's able to answer all your queries above.
To create the timeline, GraphAware has a module that maintains the timeline for you and helps you attach events as well- http://graphaware.com/neo4j/2014/08/20/graphaware-neo4j-timetree.html
Disclaimer: I work at GraphAware

Google Analytics showing less monthly visitors than yesterday

I typically use GA by selecting the first day of the month then selecting the current day and viewing my results for the current month. At this point I have no special filters or anything, just the vanilla setup. I check GA daily and have noticed on occasion that GA will occasionally show me lower monthly visits than the previous day checked. It's as if GA is revising it's data first showing me X monthly visitors only to change those numbers to X-Y the next day.
Yesterday I got a decent spike in traffic and was happily watching new visits/page counts come in from a specific domain that linked to my site. I also have regular users that access my site directly. I wake up this morning and all the traffic from yesterday is gone. I am seeing data come in for today, but yesterday shows 0 visitors and 0 page views. Any idea what is happening?
[SFMPE] In the last two days I also noticed similar changes. On Wednesday I saw 1600 visitors in GA for Tuesday, but on Thursday only 600 for Tuesday. On Thursday I saw 1600 visitors for Wednesday, today (Firday) only 600. Today (Friday) I see 1600 visitors for yesterday. I guess tomorrow it will change to 600 again. Meanwhile Awstats shows increase in traffic: 1200 on Tuesday, 2400 on Wednesday, 4000 on Thursday. I also noticed some sort of robot activity (spammy meaningless comments-flow with links) so I think it's up to that, and GA just made some second cleaning.
Not sure.

how to include days of previous month in a calendar

I have a calendar for day view, month view and week view. In month view all the days in the particular month (month which user selects) will be displayed in a grid. Suppose if a month begins by wednesday/thursday then the cells of monday, tuesday remains blank. Instead I need to display last two days of previous month and similarly if the month ends on monday/tuesday then the remaining cells should be filled with starting dates of succeeding month. pls provide code for this functionality..... thanx in advance... :-)
Why don't you try using a premade control like the ASP .Net calendar control or jquery UI's DatePicker?
http://jqueryui.com/demos/datepicker/
I am not sure what your requirements are. Maybe there is a control out there that can work for you?
If you want to do this yourself, how are you programming it? Can you explain a little more of how you are creating this control?

Resources