Skip to main content

Zope datetime

Project description

zope.datetime

Latest release Supported Python versions CI status Coverage Documentation Status

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

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

CHANGES

6.0 (2025-09-12)

  • Replace pkg_resources namespace with PEP 420 native namespace.

5.1 (2025-02-14)

  • Add support for Python 3.12, 3.13.

  • Drop support for Python 3.7, 3.8.

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zope_datetime-6.0.tar.gz (50.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zope_datetime-6.0-py3-none-any.whl (42.8 kB view details)

Uploaded Python 3

File details

Details for the file zope_datetime-6.0.tar.gz.

File metadata

  • Download URL: zope_datetime-6.0.tar.gz
  • Upload date:
  • Size: 50.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for zope_datetime-6.0.tar.gz
Algorithm Hash digest
SHA256 c110ff575fbfbac9dc549d825b6a673c8023a047a9f8a9594b8aa56ab1472513
MD5 242bdb77fed96a2b30d6432dde33a9fa
BLAKE2b-256 8d2048c3611863f6cf6ce497f631d9fbbd5a56f50d802753093190a90a6537ac

See more details on using hashes here.

File details

Details for the file zope_datetime-6.0-py3-none-any.whl.

File metadata

  • Download URL: zope_datetime-6.0-py3-none-any.whl
  • Upload date:
  • Size: 42.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for zope_datetime-6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b0aee3da0a44ec9fc42ce717bf21370a00c32ca082c3d4f5513f3b7c5cbfbe72
MD5 68ab545567d76d0c022e9c22162c3120
BLAKE2b-256 e9716cc1f2164cd98c3d2b87e81db7502b941d66099aaf4503c34aab54ff3650

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page