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

an instant item covers another half-hour item at the same begin time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 3.1.2
    • 3.1.1
    • Security Level: Jimmy
    • None

      Steps to Reproduce

      after fixing ZKCAL-117, an instant item (the one with the same begin and end time) is visible but it will cover another half-hour item

      LocalDateTime day6 = day1.plusDays(5);
              DefaultCalendarItem instantItem = new DefaultCalendarItem.Builder()
                      .withBegin(day6)
                      .withEnd(day6)
                      .withSclass("instant")
                      .withZoneId(defaultZoneId)
                      .build();
              model.add(instantItem);
              DefaultCalendarItem halfHourItem = new DefaultCalendarItem.Builder()
                      .withBegin(day6)
                      .withEnd(day6.plusMinutes(30))
                      .withZoneId(defaultZoneId)
                      .withSclass("half-hour")
                      .build();
              model.add(halfHourItem);
      

      Current Result

      one item totally covers another item, so the end users cannot see 2 items in a time slot

      Expected Result

      instant item should shrink its width and another item should shrink its width and shift to the right. Just like 2 overlapping items.

            hawk hawk
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: