]> git.openstreetmap.org Git - osqa.git/blob - forum/utils/time.py
Fixes an error reported in http://meta.osqa.net/questions/5274/why-does-unique-email...
[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)