zope.datetime


Namezope.datetime JSON
Version 5.0.0 PyPI version JSON
download
home_pagehttp://github.com/zopefoundation/zope.datetime
SummaryZope datetime
upload_time2023-04-25 06:14:12
maintainer
docs_urlNone
authorZope Foundation and Contributors
requires_python>=3.7
licenseZPL 2.1
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ===================
 ``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.

The documentation is hosted at https://zopedatetime.readthedocs.io/


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

5.0.0 (2023-04-25)
==================

- Drop support for Python 2.7, 3.5, 3.6.

- Add support for Python 3.10, 3.11.


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.

            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/zopefoundation/zope.datetime",
    "name": "zope.datetime",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "Zope Foundation and Contributors",
    "author_email": "zope-dev@zope.dev",
    "download_url": "https://files.pythonhosted.org/packages/f5/c7/bfb29f9747b487c6bd88dad6a5dad80bb6e92e91341fc648b1ee4998ff08/zope.datetime-5.0.0.tar.gz",
    "platform": null,
    "description": "===================\n ``zope.datetime``\n===================\n\n.. image:: https://img.shields.io/pypi/v/zope.datetime.svg\n        :target: https://pypi.python.org/pypi/zope.datetime/\n        :alt: Latest release\n\n.. image:: https://img.shields.io/pypi/pyversions/zope.datetime.svg\n        :target: https://pypi.org/project/zope.datetime/\n        :alt: Supported Python versions\n\n.. image:: https://github.com/zopefoundation/zope.datetime/workflows/tests/badge.svg\n        :target: https://github.com/zopefoundation/zope.datetime/actions?query=workflow%3Atests\n        :alt: CI status\n\n.. image:: https://coveralls.io/repos/github/zopefoundation/zope.datetime/badge.svg?branch=master\n        :target: https://coveralls.io/github/zopefoundation/zope.datetime?branch=master\n        :alt: Coverage\n\n.. image:: https://readthedocs.org/projects/zopedatetime/badge/?version=latest\n        :target: https://zopedatetime.readthedocs.io/en/latest/\n        :alt: Documentation Status\n\nFunctions to parse and format date/time strings in common formats.\n\nThe documentation is hosted at https://zopedatetime.readthedocs.io/\n\n\n=========\n CHANGES\n=========\n\n5.0.0 (2023-04-25)\n==================\n\n- Drop support for Python 2.7, 3.5, 3.6.\n\n- Add support for Python 3.10, 3.11.\n\n\n4.3.0 (2021-02-26)\n==================\n\n- Drop support for Python 3.4.\n\n- Add support for Python 3.7, 3.8 and 3.9.\n\n- Prevent a ``DeprecationWarning`` in Python 3.8+ when using a parameter for\n  ``iso8601_date``, ``rfc850_date``, or ``rfc1123_date`` which has to be\n  converted via its ``__int__`` method.\n\n\n4.2.0 (2017-08-14)\n==================\n\n- Remove support for guessing the timezone name when a timestamp\n  exceeds the value supported by Python's ``localtime`` function. On\n  platforms with a 32-bit ``time_t``, this would involve parsed values\n  that do not specify a timezone and are past the year 2038. Now the\n  underlying exception will be propagated. Previously an undocumented\n  heuristic was used. This is not expected to be a common issue;\n  Windows, as one example, always uses a 64-bit ``time_t``, even on\n  32-bit platforms. See\n  https://github.com/zopefoundation/zope.datetime/issues/4\n\n- Use true division on Python 2 to match Python 3, in case certain\n  parameters turn out to be integers instead of floating point values.\n  This is not expected to be user-visible, but it can arise in\n  artificial tests of internal functions.\n\n- Add support for Python 3.5 and 3.6.\n\n- Drop support for Python 2.6, 3.2 and 3.3.\n\n\n4.1.0 (2014-12-26)\n==================\n\n- Add support for PyPy and PyPy3.\n\n- Add support for Python 3.4.\n\n- Add support for testing on Travis.\n\n\n4.0.0 (2013-02-19)\n==================\n\n- Add support for Python 3.2 and 3.3.\n\n- Drop support for Python 2.4 and 2.5.\n\n\n3.4.1 (2011-11-29)\n==================\n\n- Add test cases from LP #139360 (all passed without modification to\n  the ``parse`` function).\n\n- Remove unneeded ``zope.testing`` dependency.\n\n\n3.4.0 (2007-07-20)\n==================\n\n- Initial release as a separate project.\n",
    "bugtrack_url": null,
    "license": "ZPL 2.1",
    "summary": "Zope datetime",
    "version": "5.0.0",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "44b18648b63d8e00e302e43426bb91a10449f8115d31b8401c45556981f5d0a8",
                "md5": "b61536056976ddbc77ace6ab59e45a11",
                "sha256": "b3c0574585fdf77fb2825b6137c2013cf23bb1dba16a2fe83c7d2f70842daea0"
            },
            "downloads": -1,
            "filename": "zope.datetime-5.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b61536056976ddbc77ace6ab59e45a11",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 43374,
            "upload_time": "2023-04-25T06:14:10",
            "upload_time_iso_8601": "2023-04-25T06:14:10.232790Z",
            "url": "https://files.pythonhosted.org/packages/44/b1/8648b63d8e00e302e43426bb91a10449f8115d31b8401c45556981f5d0a8/zope.datetime-5.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f5c7bfb29f9747b487c6bd88dad6a5dad80bb6e92e91341fc648b1ee4998ff08",
                "md5": "a66b88217f8ec19ff7d4ac63b41876d1",
                "sha256": "c0d03970ea62b8db23694423d866e53778e6646ce8595f7b16ae6a185b69cec0"
            },
            "downloads": -1,
            "filename": "zope.datetime-5.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "a66b88217f8ec19ff7d4ac63b41876d1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 48845,
            "upload_time": "2023-04-25T06:14:12",
            "upload_time_iso_8601": "2023-04-25T06:14:12.206001Z",
            "url": "https://files.pythonhosted.org/packages/f5/c7/bfb29f9747b487c6bd88dad6a5dad80bb6e92e91341fc648b1ee4998ff08/zope.datetime-5.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-25 06:14:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "zopefoundation",
    "github_project": "zope.datetime",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "zope.datetime"
}
        
Elapsed time: 0.16896s