Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    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:

    Code:
    _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.

    #2
    This was fixed a while ago, get the latest.

    Comment


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

      Comment


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

        Comment


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

          Code:
          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

          Comment


            #6
            Actually this is still broken. Goto the Simple Calendar sample

            http://www.smartclient.com/smartgwt/...endar_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

            Comment

            Working...
            X