Skip to content

Today date does not update after changing device date #600

@h-bomb

Description

@h-bomb

If you change the device's date then return to the calendar, today (day color and/or selection) does not update.

Device(s): All
FSCalendar version: current (v2.7.2) / master branch
Occurs in sample project: Yes
Xcode version: 8.2.1

Steps to reproduce:

  1. Launch the v2.7.2 Swift sample app.
  2. Select any calendar project that shows today and note the selected / color of today.
  3. Place the app in the background, go to Settings > General > Date & Time, toggle Set Automatically to off and change the date to a different date.
  4. Return to the Swift sample app.

Result:

The calendar does not update today's date (selection or color).

Expected:

The calendar should always reflect the correct date for today. If today was selected before putting the app in background, the correct today day should be selected and today color updated. If a different date was selected before putting the app in the background, only the today day color should be updated (the last selected date should still be selected, but the selection color should be the non-today color.)

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