Skip to content

calendarCurrentPageDidChange not showing correct Date #246

@lynchjbrendan

Description

@lynchjbrendan

Hi all,

I've been messing with the calendar and have come across an issue in calendarCurrentPageDidChange not showing the correct Date. Here is an example. Today is 30th March 2016. so it shows March 2016 on launch. I am printing the calendar.currentPage variable here:

calendarCurrentPageDidChange: 2016-02-01 00:00:00 +0000 <-scroll to Feb from March
calendarCurrentPageDidChange: 2016-03-01 00:00:00 +0000 <- scroll back to March from Feb
calendarCurrentPageDidChange: 2016-03-31 23:00:00 +0000 <- now scroll to April!?! (is currently displaying April on screen)

Also at this point, if i select a date, it is wrong by one day. in didSelectDate, I selected 20th April. this is what shows:
(Date Selected: 2016-04-19 23:00:00 +0000)

Am i overlooking something here or is this actually unusual behaviour? Thanks!

I am using Swift 2.2, Xcode 7.3. iphone 6 with ios 9.3. I have tested in objective C using your example project, it doesn't seem to be an issue there at all

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions