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

WeekView header date is different from the calendar view #48

Closed
vradchuk opened this issue Mar 4, 2022 · 4 comments · Fixed by #52
Closed

WeekView header date is different from the calendar view #48

vradchuk opened this issue Mar 4, 2022 · 4 comments · Fixed by #52

Comments

@vradchuk
Copy link

vradchuk commented Mar 4, 2022

Looks like the WeekView header date is one week after the calendar view.
Is it expected behavior?

For example https://drive.google.com/file/d/1G0RH_Khm8PFCoTcHXyZKrmso4goOd3Tx/view?usp=sharing

@PRBaraiya
Copy link
Collaborator

Hello @vradchuk , I am not able to reproduce this issue. If possible, please share the code snippet that can produce this issue.

@vradchuk
Copy link
Author

vradchuk commented Mar 7, 2022

Hello, @PRBaraiya
You can see it even on your example here: https://simformsolutionspvtltd.github.io/flutter_calendar_view/#/
Just select Week and observer calendar header and weekdays.

@PRBaraiya
Copy link
Collaborator

@vradchuk Here, is what I see in my browser,
Screenshot 2022-03-08 at 10 15 27 AM
.

Is there any steps that you performed to produce this issue? If so please share it here.

@PRBaraiya
Copy link
Collaborator

Ok, got the problem. Its setting one week ahead of whatever is selected while changing the week programmatically using jumpToWeek method. @vradchuk Am I correct? or there is something I'm missing?

PRBaraiya pushed a commit that referenced this issue Mar 15, 2022
- Update week calculation logic.
PRBaraiya pushed a commit that referenced this issue Mar 15, 2022
- Update week calculation logic.
@PRBaraiya PRBaraiya linked a pull request Mar 15, 2022 that will close this issue
PRBaraiya pushed a commit that referenced this issue Mar 15, 2022
- Update week calculation logic.
vatsaltanna pushed a commit that referenced this issue Mar 16, 2022
- Update week calculation logic.

Co-authored-by: Parth Baraiya <parthbaraiya19.pb@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants