Enterprise: Calendar: Incorrect date/time format in duration

Created on 11 Sep 2019  路  6Comments  路  Source: infor-design/enterprise

Describe the bug
Incorrect date/time format in duration when 'All Day' is unchecked

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://4210-beta1-enterprise.demo.design.infor.com/components/calendar/example-index.html
  2. Create an event from September 15 to 21
  3. Uncheck 'All Day'
  4. Verify Duration in the right side panel

Expected behavior
Should display a correct date/time format

Version

  • ids-enterprise: 4.21 beta1

Screenshots
image

Platform

  • All

Additional context
Add any other context about the problem here.

[3] type

All 6 comments

tested on 4.22 rc0 and it seems fine. see screenshot
However, hours are not computed accordingly i.e (you use 7 hrs or less). Lastly, when all day is unchecked and duration of event is 1 day only, there's no duration displayed.
image

This may be a time zone issue similar to https://github.com/infor-design/enterprise/issues/2768

This issue still exists in 4.250 beta 0
https://4250-beta0-enterprise.demo.design.infor.com/components/calendar/example-index.html#
Observations are as follows:

  1. If you uncheck All Day within a single day it will display a CORRECT duration of date and time
    image
  1. But if you uncheck All Day and select multiple days it will display an INCORRECT duration of time. Noticed that only a single day is counted as 12hrs. 24hrs x 2 + 12 = 60
    image

  2. Lastly, When you set 23-hour duration it will display an INCORRECT duration of time. It's 47 hours if you make it 2 days. The same issue noted above in no.2
    image

image

This bug is not fixed yet not sure when we will have time

Noted on that @tmcconechy . I just put some observations because of the UI change for reference.

This issue is now resolved. Moving this ticket to the Done column.

Was this page helpful?
0 / 5 - 0 ratings