Frontmatter
| id | 4915 |
| title | calendar.view.MainContainer: regression bug => the DateSelector jumps from null to today to july 2023 |
| state | Closed |
| labels | bug |
| assignees | tobiu |
| createdAt | Sep 15, 2023, 11:18 AM |
| updatedAt | Sep 30, 2023, 1:16 PM |
| githubUrl | https://github.com/neomjs/neo/issues/4915 |
| author | tobiu |
| commentsCount | 5 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Sep 30, 2023, 1:16 PM |
calendar.view.MainContainer: regression bug => the DateSelector jumps from null to today to july 2023

can you please assign me this task?

hi @Kwamecody,
sure, if you want to give it a try. the process is to create a fork and send a pull request with related changes. feel free to jump into the slack channel, in case you have not done so already.
best regards!

noted with thanks.
On Wed, Sep 27, 2023 at 4:00 PM Tobias Uhlig @.***> wrote:
hi @Kwamecody https://github.com/Kwamecody,
sure, if you want to give it a try. the process is to create a fork and send a pull request with related changes. feel free to jump into the slack channel, in case you have not done so already.
best regards!
— Reply to this email directly, view it on GitHub https://github.com/neomjs/neo/issues/4915#issuecomment-1737680402, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2SFCF3LKWVTRXT3JYHYMW3X4RERTANCNFSM6AAAAAA4ZQO4Q4 . You are receiving this because you were assigned.Message ID: @.***>

Hello @tobiu ,
I trust this message finds you well. I wanted to provide you with a transparent update on the progress of the calendar component bug investigation.
I've conducted a comprehensive review of all methods within the MainContainer that set or update the date. Additionally, I've closely examined portions of the code where date manipulation occurs, especially focusing on the connection between the model's currentDate and the date selector in MainContainer.
Despite multiple attempts and thorough analysis, I'm currently facing challenges in pinpointing the root cause of the issue that results in the date jumping from None to today to July 2023.
Regrettably, at this point,I believe it would be ideal to consider reassigning the task to another person.
Thank you.

no worries, this one was non-trivial. i got a fix running locally now.
this includes an animation, which was not there earlier.
not sure yet, how the
new Date()gets intocurrentDateof the MainViewModel.