diff options
-rw-r--r-- | slixmpp/plugins/xep_0202/stanza.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/plugins/xep_0202/stanza.py b/slixmpp/plugins/xep_0202/stanza.py index d97b2fb2..4c7a0229 100644 --- a/slixmpp/plugins/xep_0202/stanza.py +++ b/slixmpp/plugins/xep_0202/stanza.py @@ -123,5 +123,5 @@ class EntityTime(ElementBase): if not isinstance(value, dt.datetime): date = xep_0082.parse(value) date = date.astimezone(tzutc()) - value = xep_0082.format_datetime(date)[:-1] + value = xep_0082.format_datetime(date) self._set_sub_text('utc', value) |