summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-12-09 23:59:33 -0800
committerLance Stout <lancestout@gmail.com>2011-12-09 23:59:33 -0800
commit16c72e8efda387299b81c8bcde6fe4838ac65680 (patch)
tree8c045e60f4648fb9db4f3ed57b3e8948cb26c872 /sleekxmpp/plugins
parentefe1b9f5a90fb445f765ee26aac671056a065ecb (diff)
downloadslixmpp-16c72e8efda387299b81c8bcde6fe4838ac65680.tar.gz
slixmpp-16c72e8efda387299b81c8bcde6fe4838ac65680.tar.bz2
slixmpp-16c72e8efda387299b81c8bcde6fe4838ac65680.tar.xz
slixmpp-16c72e8efda387299b81c8bcde6fe4838ac65680.zip
Use UTC for xep_0082.date.
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r--sleekxmpp/plugins/xep_0082.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0082.py b/sleekxmpp/plugins/xep_0082.py
index d3c4cc56..b1bb0263 100644
--- a/sleekxmpp/plugins/xep_0082.py
+++ b/sleekxmpp/plugins/xep_0082.py
@@ -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: