Tempora

Latest version: v5.7.0

Safety actively analyzes 688053 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 7

4.0.1

======

- Refreshed package metadata.

4.0.0

======

- Removed ``strptime`` function in favor of
`datetime.datetime.strptime <https://docs.python.org/3/library/datetime.html#datetime.datetime.strptime>`_. If passing
a ``tzinfo`` parameter, instead invoke `.replace(tzinfo=...)`
on the result.
- Deprecated ``divide_timedelta`` and ``divide_timedelta_float``
now that Python supports this functionality natively.
- Deprecated ``Parser`` class. The
`dateutil.parser <https://dateutil.readthedocs.io/en/stable/parser.html>`_
provides more sophistication.

3.0.0

======

- 10: ``strftime`` now reverts to the stdlib behavior for
``%u``. Use tempora 2.1 or later and the ``%µ`` for
microseconds.

2.1.1

======

- 8: Fixed error in ``PeriodicCommandFixedDelay.daily_at``
when timezone is more than 12 hours from UTC.

2.1.0

======

- 9: Fixed error when date object is passed to ``strftime``.
- 11: ``strftime`` now honors upstream expectation of
rendering date values on time objects and vice versa.
- 10: ``strftime`` now honors ``%µ`` for rendering just
the "microseconds" as ``%u`` supported previously.
In a future, backward-incompatible release, the
``%u`` behavior will revert to the behavior as found
in stdlib.

2.0.0

======

* Require Python 3.6 or later.
* Removed DatetimeConstructor.

Page 4 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.