]> git.openstreetmap.org Git - osqa.git/blob - forum/utils/time.py
#OSQA-574, we make an attempt to import the with statement from the __future__ packag...
[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)