-
Notifications
You must be signed in to change notification settings - Fork 81
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
How to use, Once times days, minutes #30
Comments
Hi webserveis, Thanks, glad you're using it. The time limits in Once work with a sliding window of time, not calendar days. If you want to show your rating dialog every three days it could be the following (where your 'X' is 3 in this case):
This however will show your rating dialog immediately, then in 3 days and again in 3 more days... So perhaps you could do something like this:
Where |
I want to show the rate dialog every day not every 24 hours ,what should I do ? |
@LyCharlie hmm, well if there's a enough demand I may extend the library to allow this (I've avoided it as human times are fiddly) In the mean time you could do the following:
(Date comparison stolen from: http://stackoverflow.com/a/22442659/798464) Hope that helps |
You folks happy? If so I'll close the issue. Thanks for your input/questions 😄 |
Great library,
Since I can use for each X days run a process?
I have done with total times the ap runs, it works correctly
But I try to do the equivalent but time units
The text was updated successfully, but these errors were encountered: