Timezone handling changes

Anki 2.1.22+ and AnkiMobile 2.0.57+ contain an optional change to the way Anki calculates the elapsed number of days. This change addresses some corner cases where timezone changes (including daylight savings) could cause Anki to move back or forward a day, and addresses cards being unburied / daily counts being reset for some users when syncing with AnkiWeb.

For most users, the new calculation should produce the same number of elapsed days as the old calculation. For some users, enabling this code may move Anki forward or back by one day, but this will only happen once, and Anki should be more robust against timezone changes afterwards.

Please make sure you are running the above-mentioned versions prior to enabling the new code. If any of your Anki clients have not been updated yet, you won't be able to sync them while this feature is enabled. AnkiDroid does not currently support these changes.

To enable the new calculation, please make sure:

  • your devices are in sync
  • you're running Anki 2.1.22
  • the 2.1 scheduler is enabled in the preferences screen

Then to enable the new timezone code, please check the 'new timezone' checkbox.

Please close the window and sync, then sync your other devices to complete the process.

If you notice any problems with the new handling, please let us know.