Mercurial > libervia-backend
comparison sat_frontends/tools/xmltools.py @ 3878:32087d7c25d4
tools (datetime, utils): fix incorrect use of naive object:
`tools.datetime.format_datetime` was expecting aware datetime objects while
`tools.utils.xmpp_date` was returning naive datetime objects. A check has been added to
the former one, and latter one has been modified to return aware datetime objects.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 31 Aug 2022 13:11:26 +0200 |
parents | be6d91572633 |
children | 524856bd7b19 |
comparison
equal
deleted
inserted
replaced
3877:00212260f659 | 3878:32087d7c25d4 |
---|