]> git.openstreetmap.org Git - osqa.git/blob - forum/utils/time.py
Tried to fix OSQA 266, Emails sent from the cron job are not using the website locale.
[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)