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

Current day showing incorrectly when using showOnlyCurrentMonthDate #181

Closed
callumclift opened this issue Nov 10, 2019 · 0 comments · Fixed by #182
Closed

Current day showing incorrectly when using showOnlyCurrentMonthDate #181

callumclift opened this issue Nov 10, 2019 · 0 comments · Fixed by #182

Comments

@callumclift
Copy link

callumclift commented Nov 10, 2019

Version of flutter_calendar_carousel

latest version 1.4.6

Expected behavior

Current day should be showing correctly

Actual behavior

Current day is showing as one day behind the current day

Steps to reproduce the behavior

When you set the bool showOnlyCurrentMonthDate to true the calendar is showing the current date as one day behind what it should be. In the attached image the current day is showing as Saturday the 10th November when in fact the actual day today is Sunday the 10th November so the weekday appears to be one day behind:

Screenshot 2019-11-10 at 10 08 18

If you move the calendar forward one month then go back to the original month the correct date is then showing as seen below. Is this something that could possible be fixed? Ideally i'd like to restrict the calendar to the just current selected month.

Screenshot 2019-11-10 at 10 29 35

sagarzala123 added a commit to sagarzala123/flutter_calendar_carousel that referenced this issue Nov 13, 2019
hyochan pushed a commit that referenced this issue Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant