CalVis: Fixing Missing Events in Month View on the Last Day of Month

Recently we had an issue with CalVis (a Google Calendar visualization) where events for the last day of the month would not get displayed. So I threw on the old troubleshooting hat and started to poke around, the solution is a quick one:

Assuming you already have the source code downloaded and in use, you will have to modify the following line (at line 934, or around there)

// endDate.setDate(endDate.getDate() + 1); // old
endDate.setDate(endDate.getDate() + 2); // new

What the heck is CalVis: Calvis is a Google Calendar visualization UI, it’s javascript based, easy to setup and allows you to do some basic customization. Here is an example of a recent project where I used CalVis.

Related posts

  1. Learn Everything About Google Analytics

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
<pre lang="" line="" escaped="">

Previous post:

Next post: