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

Support expired/known methods looking at day (timezoned) of next review date only #4

Open
rgravina opened this issue Nov 8, 2012 · 0 comments

Comments

@rgravina
Copy link
Owner

rgravina commented Nov 8, 2012

Normally, the next review date is calculated as some number of days after the review timestamp.

It's convenient for users to review words at the same time every day (morning, night etc.). To do this, all words expiring on e.g. 2012-12-01 should appear in the expired list at exactly 2012-12-01 00:00.

This also implies we know the timezone of the user, as midnight differs based on the timezone the user is in.

The User model should supply the users timezone. A setting for this should also exist in Chuhi (demo app using this gem).

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

1 participant