Metadata-Version: 2.1
Name: zope.datetime
Version: 4.3.0
Summary: Zope datetime
Home-page: http://github.com/zopefoundation/zope.datetime
Author: Zope Foundation and Contributors
Author-email: zope-dev@zope.org
License: ZPL 2.1
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development
Requires-Dist: setuptools
Requires-Dist: six
Provides-Extra: docs
Requires-Dist: Sphinx ; extra == 'docs'
Requires-Dist: sphinx-rtd-theme ; extra == 'docs'
Provides-Extra: test
Requires-Dist: zope.testrunner ; extra == 'test'

===================
 ``zope.datetime``
===================

.. image:: https://img.shields.io/pypi/v/zope.datetime.svg
        :target: https://pypi.python.org/pypi/zope.datetime/
        :alt: Latest release

.. image:: https://img.shields.io/pypi/pyversions/zope.datetime.svg
        :target: https://pypi.org/project/zope.datetime/
        :alt: Supported Python versions

.. image:: https://github.com/zopefoundation/zope.datetime/workflows/tests/badge.svg
        :target: https://github.com/zopefoundation/zope.datetime/actions?query=workflow%3Atests
        :alt: CI status

.. image:: https://coveralls.io/repos/github/zopefoundation/zope.datetime/badge.svg?branch=master
        :target: https://coveralls.io/github/zopefoundation/zope.datetime?branch=master
        :alt: Coverage

.. image:: https://readthedocs.org/projects/zopedatetime/badge/?version=latest
        :target: https://zopedatetime.readthedocs.io/en/latest/
        :alt: Documentation Status

Functions to parse and format date/time strings in common formats.

Documentation is hosted at https://zopedatetime.readthedocs.io/


=========
 CHANGES
=========

4.3.0 (2021-02-26)
==================

- Drop support for Python 3.4.

- Add support for Python 3.7, 3.8 and 3.9.

- Prevent a ``DeprecationWarning`` in Python 3.8+ when using a parameter for
  ``iso8601_date``, ``rfc850_date``, or ``rfc1123_date`` which has to be
  converted via its ``__int__`` method.


4.2.0 (2017-08-14)
==================

- Remove support for guessing the timezone name when a timestamp
  exceeds the value supported by Python's ``localtime`` function. On
  platforms with a 32-bit ``time_t``, this would involve parsed values
  that do not specify a timezone and are past the year 2038. Now the
  underlying exception will be propagated. Previously an undocumented
  heuristic was used. This is not expected to be a common issue;
  Windows, as one example, always uses a 64-bit ``time_t``, even on
  32-bit platforms. See
  https://github.com/zopefoundation/zope.datetime/issues/4

- Use true division on Python 2 to match Python 3, in case certain
  parameters turn out to be integers instead of floating point values.
  This is not expected to be user-visible, but it can arise in
  artificial tests of internal functions.

- Add support for Python 3.5 and 3.6.

- Drop support for Python 2.6, 3.2 and 3.3.


4.1.0 (2014-12-26)
==================

- Add support for PyPy and PyPy3.

- Add support for Python 3.4.

- Add support for testing on Travis.


4.0.0 (2013-02-19)
==================

- Add support for Python 3.2 and 3.3.

- Drop support for Python 2.4 and 2.5.


3.4.1 (2011-11-29)
==================

- Add test cases from LP #139360 (all passed without modification to
  the ``parse`` function).

- Remove unneeded ``zope.testing`` dependency.


3.4.0 (2007-07-20)
==================

- Initial release as a separate project.


