Use UTC for xep_0082.date.

This commit is contained in:
Lance Stout 2011-12-09 23:59:33 -08:00
parent efe1b9f5a9
commit 16c72e8efd

View file

@ -87,7 +87,7 @@ def date(year=None, month=None, day=None):
month -- Integer value of the month
day -- Integer value of the day of the month.
"""
today = dt.datetime.today()
today = dt.datetime.utcnow()
if year is None:
year = today.year
if month is None: