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

SwiftExample app: First row of days starts with the last week of the last month in some cases #548

Closed
h-bomb opened this issue Jan 17, 2017 · 1 comment

Comments

@h-bomb
Copy link

h-bomb commented Jan 17, 2017

In the SwiftExample app, if you navigate to a month where the first day of the month lands on a Sunday, the first row of days starts with the last week of the last month but should start with the first day of the currently selected month. See attached screen capture.

Steps to reproduce:

  1. Launch the latest version of SwiftExample.
  2. Select FSCalendarScope. (Note that the issue exists in other options, as well.)
  3. Navigate to a month where where the first day of the month lands on a Sunday. Example: January 2017, October 2017

Results:

The first row of days starts with the last week of the last month.

Expected:

The first row of days should start with the first day of the currently selected month.

screen shot 2017-01-17 at 11 10 16 am

  • Tested in: iPad 2 Air / iOS 10.0.2 device, iPad Pro 9.7" / iOS 10.2 simulator
  • Xcode 8.1.2
  • FSCalendar 2.7.0 / development branch
  • Issue discovered in SwiftExample
@WenchaoD
Copy link
Owner

@h-bomb Actually I made this symmetric on purpose. I though it looks better, isn't it?

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

No branches or pull requests

2 participants