Open sebastianclaustrophobia opened 4 months ago
This is not an issue but by design.
However, this is going to be updated and changed in a future version, which is currently in development.
I will keep you posted on the progress.
Thank you for the prompt response.
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.