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

[BUG]: new cards appear at wrong time #13388

Closed
4 tasks done
abrasive opened this issue Mar 3, 2023 · 4 comments
Closed
4 tasks done

[BUG]: new cards appear at wrong time #13388

abrasive opened this issue Mar 3, 2023 · 4 comments

Comments

@abrasive
Copy link

abrasive commented Mar 3, 2023

Checked for duplicates?

  • This issue is not a duplicate

What are the steps to reproduce this bug?

Set "start of next day" to 0 hours past midnight

Expected behaviour

New cards appear at 00:00 local time

Actual behaviour

New cards don't appear until 11:00 local time.

With the same setting on Anki desktop, the same cards appear at 00:00 local time.

Debug info

AnkiDroid Version = 2.16alpha92

Android Version = 12

Manufacturer = samsung

Model = SM-G970F

Hardware = exynos9820

Webview User Agent = Mozilla/5.0 (Linux; Android 12; SM-G970F Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/110.0.5481.153 Mobile Safari/537.36

ACRA UUID = 08944ea3-e8f2-4d2c-a37d-4580aa3409cc

New schema = true

Scheduler = std3

Crash Reports Enabled = true

DatabaseV2 Enabled = true

(Optional) Anything else you want to share?

Same issue occurred with the default setting of day start at midnight+4h but I wasn't able to determine exactly when the new cards popped - it was certainly in the afternoon.

The time zone on my device is UTC+11.
The Android clock shows the correct local time.
Seems almost as if the UTC-to-local correction is being applied twice?

Both Anki desktop and AnkiDroid are set to use V3 scheduler.
Legacy timezone handling is disabled on Anki.
New timezone handling is enabled on AnkiDroid.

The only potentially related issue I can find is #5637.

Research

  • I am reporting a bug specific to AnkiDroid (Android app)
  • I have checked the manual and the FAQ and could not find a solution to my issue
  • (Optional) I have confirmed the issue is not resolved in the latest alpha release (instructions)
@welcome
Copy link

welcome bot commented Mar 3, 2023

Hello! 👋 Thanks for logging this issue. Please remember we are all volunteers here, so some patience may be required before we can get to the issue. Also remember that the fastest way to get resolution on an issue is to propose a change directly, https://github.com/ankidroid/Anki-Android/wiki/Contributing

@dae
Copy link
Contributor

dae commented Mar 3, 2023

Can you reproduce it with the latest alpha?

@mikehardy
Copy link
Member

This should be fixed with alpha94 - 93 specifically fixed it (but had a different issue...) 94 should be good on all counts here.
Going to close this pre-emptively, but if course can reopen if alpha94 doesn't work in this case

@abrasive
Copy link
Author

abrasive commented Mar 5, 2023

Confirming this was fixed in alpha94. Sorry it took a few days to test. Many thanks to all involved 🙏🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants