Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calendar: Today becomes selected day on calendar in current month instead of provided day #5064

Closed
jalalhobbs opened this issue Apr 9, 2021 · 2 comments · Fixed by #5226
Closed
Assignees
Labels
team: pathway For Pathway issues type: regression bug ↩️ [2] Velocity rating (Fibonacci)

Comments

@jalalhobbs
Copy link

Describe the bug
Calendar initialized with day in current month will select today instead of provided day.

To Reproduce

Steps to reproduce the behavior:
example-only-calendar.html:
$('.calendar').calendar({ day: 21, month: 3, year: 2021, ... });
(Today being any day in April 2021 besides the 21st)

Create calendar using object containing year, month, day in current month where day isn't today's date.

This will be shown on April 9, 2021:
image

Expected behavior
The day provided to calendar should be highlighted/selected.
image

Version
Tested in ids-enterprise v4.38.x and v4.50.x.

Platform

  • Infor Application/Team Name: Infor Pathway
  • Browser Name: chrome
  • Browser Version: Version 89.0.4389.114 (Official Build) (64-bit)
@tmcconechy tmcconechy added [2] Velocity rating (Fibonacci) type: bug 🐛 team: pathway For Pathway issues labels Apr 9, 2021
@tmcconechy
Copy link
Member

To reproduce go to https://master-enterprise.demo.design.infor.com/components/calendar/test-specific-month.html and notice it has todays day selected.

@nganotice
Copy link

The issue is now resolved.

Tested on: https://main-enterprise.demo.design.infor.com/components/calendar/test-provided-date.html

Screen Shot 2021-06-03 at 4 04 04 PM

Moving this ticket to Done. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team: pathway For Pathway issues type: regression bug ↩️ [2] Velocity rating (Fibonacci)
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

5 participants