Problem with calendar when event time is 12:00am

When I have an event at 12:00 am and I try to load a databound calendar, I get this error:

_3[_17] is undefined
http://localhost:8080/OHACarerPortal/com.andago.ada.piloto.gwt.PortalCuidador.Application/sc/modules/ISC_Calendar.js
Line 76

If I set the event on every other hour, I get it correctly rendered. It happens too if I have an event at some time and I move it to 12:00am.

This was fixed a while ago, get the latest.

I’m using SmartGWT 1.1. Is it corrected there or do I have to get a nightly?

I’ve tried with the 1.2-SNAPSHOT from http://smartgwtsnap.rorschach.de and I get the same error.

I tried it and its working fine. I updated the CalendarEvent record used in the DataBoundCalendar showcase calendar to

new CalendarEvent(1, "Meeting", "Shareholders meeting: monthly forecast report", new Date(year, month, start + 2, 0, 0, 0), new Date(year, month, start + 2, 5, 0, 0))

and it shows correctly as start time of 12am. If you’re still having issues, you need to post a standalone testcase with an onModuleLoad().

Sanjiv

Actually this is still broken. Goto the Simple Calendar sample

http://www.smartclient.com/smartgwt/showcase/#simple_calendar_category

and create an event that starts at 12 AM and ends at 12:05 AM. You will notice it takes up the entire column