Mercurial > libervia-backend
view tests/_files/README @ 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 | a6ea53248c14 |
children |
line wrap: on
line source
Those files are used for testing, and use big compression level on purpose. They are personal work from Jérôme Poisson and can be re-used under the licence CC By-SA 4.0 Note that this licence only apply to this dir and its subdirectories. This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.