mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-23 19:19:53 +00:00
Use UTC for xep_0082.date.
This commit is contained in:
parent
efe1b9f5a9
commit
16c72e8efd
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue