Enterprise: Calendar: Incorrect duration value after adding/editing event with All Day unchecked

Created on 13 Nov 2019  路  4Comments  路  Source: infor-design/enterprise

Describe the bug
Calendar: Incorrect duration value after adding/editing event with All Day unchecked.

To Reproduce
Steps to reproduce the behavior:

  1. Go to http://4230-beta0-enterprise.demo.design.infor.com/components/calendar/example-index.html#
  2. Select November 11, 2019
  3. Click + icon at the top right, then click "Add Event(Modal)"
  4. In the Request Time Off modal, uncheck All Day checkbox
  5. Select dates: from 11/11/2019 to 11/13/2019
  6. Select time: from 12:00 AM to 12:00 PM
  7. Click Submit button
  8. See issue: "2 Days 60 Days" will be displayed in the duration

Expected behavior
Duration should display correct value, eg. "3 Days".

Version

  • ids-enterprise: v4.15.0 to v4.23.0-beta0

Screenshots
image

Platform

  • All OS and browsers

Additional context
This is also happening when editing an event.

type

All 4 comments

QA Failed. Unable to create multiple days event. Tested in http://4230-rc0-enterprise.demo.design.infor.com/components/calendar/example-index.html#

Steps:

  • Select November 11, 2019
  • Click + icon at the top right, then click "Add Event(Modal)"
  • In the Request Time Off modal, uncheck All Day checkbox
  • Select dates: from 11/11/2019 to 11/13/2019
  • Select time: from 12:00 AM to 12:00 PM
  • Click Submit button

See issue: Created event is only on November 11
image

I noticed that the duration is inconsistent, the value changes after focusing out from the created event. I also noticed that "All Day" is checked when you open the event, I think this affects the changing of duration. See attached video below.

Tested in http://4230-rc1-enterprise.demo.design.infor.com/components/calendar/example-index.html
calendar-duration

This last issue is covered by https://github.com/infor-design/enterprise/issues/3153 so will just fix that after all. SO taking this problem to that issue

Was this page helpful?
0 / 5 - 0 ratings