Uploaded image for project: 'ZK Calendar'
  1. ZK Calendar
  2. ZKCAL-21

Set a DateFormatter to the calendar has ClassCastException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.1.1
    • 2.1.0
    • None

      calendars.setDateFormatter(new SimpleDateFormatter());

      java.lang.ClassCastException: java.util.LinkedHashMap$Entry cannot be cast to java.util.TimeZone
      at org.zkoss.calendar.impl.Util.packCaptionByTimeOfDay(Util.java:95)
      at org.zkoss.calendar.Calendars.rendererDayData(Calendars.java:1008)
      at org.zkoss.calendar.Calendars.renderProperties(Calendars.java:975)

            TonyQ TonyQ
            jimmyshiau jimmyshiau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: