]> git.openstreetmap.org Git - osqa.git/blob - forum/utils/time.py
Resolves Jira OSQA-682, do not use the MAX_VOTES_PER_DAT setting, but the can_vote_co...
[osqa.git] / forum / utils / time.py
1 import datetime
2
3 def one_day_from_now():
4     return datetime.datetime.now() + datetime.timedelta(days=1)