1
0
Fork 0
mirror of https://github.com/correl/SleekXMPP.git synced 2025-04-01 01:05:56 -09:00

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: