diff options
author | Lance Stout <lancestout@gmail.com> | 2011-12-09 23:59:33 -0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-12-09 23:59:33 -0800 |
commit | 16c72e8efda387299b81c8bcde6fe4838ac65680 (patch) | |
tree | 8c045e60f4648fb9db4f3ed57b3e8948cb26c872 /sleekxmpp/plugins | |
parent | efe1b9f5a90fb445f765ee26aac671056a065ecb (diff) | |
download | slixmpp-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.py | 2 |
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: |