You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The initialDateTime option is not honored when opening in full-day, full-week, or timeline. The full-year does display the requested year, but not at the month or day requested. This is true whether or not the viewToOpenOnFirstLoad is set.
To Reproduce
Steps to reproduce the behavior:
Enter an initialDateTime other than today in the calendar options.
Open the calendar page.
Click on full-day, full-week, or timeline view.
Expected behavior
I expect the calendar to open to the initialDateTime I entered into the options until the user navigates away from that date.
I expect the initialDateTime to show if the viewToOpenOnFirstLoad is set.
Screenshots
This is using the calendar.js.html test file.
initialDateTime and viewToOpenOnFirstLoad is set
result of above options
commenting out the viewToOpenOnFirstLoad
Month view does show initialDateTime
clicking on the week view shows the current week
Desktop (please complete the following information):
OS: Windows 10
Browser: Chrome, also happens in Firefox
Version: 2.10.14
Smartphone (please complete the following information):
not using a smartphone
Additional context
The calendar is a nice, lightweight option but unfortunately I'm working under certain constraints that make it vital to fix this. I have no problems with fixing it myself so I'll come back to it a little later.
The text was updated successfully, but these errors were encountered:
Description
The initialDateTime option is not honored when opening in full-day, full-week, or timeline. The full-year does display the requested year, but not at the month or day requested. This is true whether or not the viewToOpenOnFirstLoad is set.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the calendar to open to the initialDateTime I entered into the options until the user navigates away from that date.
I expect the initialDateTime to show if the viewToOpenOnFirstLoad is set.
Screenshots
This is using the calendar.js.html test file.
initialDateTime and viewToOpenOnFirstLoad is set
result of above options
commenting out the viewToOpenOnFirstLoad
Month view does show initialDateTime
clicking on the week view shows the current week
Desktop (please complete the following information):
Smartphone (please complete the following information):
not using a smartphone
Additional context
The calendar is a nice, lightweight option but unfortunately I'm working under certain constraints that make it vital to fix this. I have no problems with fixing it myself so I'll come back to it a little later.
The text was updated successfully, but these errors were encountered: