Mercurial > libervia-backend
diff sat/tools/utils.py @ 4033:5a42c7842556
core (plugins): implementation of XEP-0215 "External Service Discovery":
rel 418
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 07 Apr 2023 15:16:39 +0200 |
parents | 8179cff7ef5c |
children | 524856bd7b19 |
line wrap: on
line diff
--- a/sat/tools/utils.py Fri Apr 07 14:59:01 2023 +0200 +++ b/sat/tools/utils.py Fri Apr 07 15:16:39 2023 +0200 @@ -173,6 +173,7 @@ @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)