From 16c72e8efda387299b81c8bcde6fe4838ac65680 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Fri, 9 Dec 2011 23:59:33 -0800 Subject: [PATCH] Use UTC for xep_0082.date. --- sleekxmpp/plugins/xep_0082.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sleekxmpp/plugins/xep_0082.py b/sleekxmpp/plugins/xep_0082.py index d3c4cc5..b1bb026 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: