core (plugins): implementation of XEP-0215 "External Service Discovery":
rel 418
This commit is contained in:
parent
ef70ccaedb
commit
9b47e8c890
1 changed files with 334 additions and 2 deletions
|
|
@ -173,6 +173,7 @@ def parse_xmpp_date(
|
|||
@param with_time: if True, ``xmpp_date_str`` must be a datetime, otherwise if must be
|
||||
a time profile.
|
||||
@return: datetime converted to unix time
|
||||
@raise ValueError: the format is invalid
|
||||
"""
|
||||
if with_time:
|
||||
dt = xmpp_datetime.parse_datetime(xmpp_date_str)
|
||||
|
|
|
|||
Loading…
Reference in a new issue