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.

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.

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-4.3.0.tar.gz (47.5 kB view details)

Uploaded Source

Built Distribution

zope.datetime-4.3.0-py2.py3-none-any.whl (43.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file zope.datetime-4.3.0.tar.gz.

File metadata

  • Download URL: zope.datetime-4.3.0.tar.gz
  • Upload date:
  • Size: 47.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/None requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.10

File hashes

Hashes for zope.datetime-4.3.0.tar.gz
Algorithm Hash digest
SHA256 14abedf650c0f09518851d226d8a78500167e97a8435a1c4b1018954c1e8bcf3
MD5 ab2d457cfd3e12ad69a8dfb6ffddc969
BLAKE2b-256 14beed179f05fdf4cfaa2665d7548bcea0f6b09591cd3ffb19a477fce99c552b

See more details on using hashes here.

File details

Details for the file zope.datetime-4.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: zope.datetime-4.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 43.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/None requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.10

File hashes

Hashes for zope.datetime-4.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a2749b4b35d93be36b91ad380b7e1ad2a6af331663ee2eb680baead1a680df18
MD5 520809971b3a69ee3cde250b638d2285
BLAKE2b-256 a5cc3c2f844d3b9229378ac659ee77c2a8900e26258f8b85160bb90028e9c1cd

See more details on using hashes here.

Supported by

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