Skip to main content

ISO 8601 utility functions

Project description

This package collects together functions supporting the data formats described in ISO 8601. Time zone support is provided by the pytz package.

The following functions are provided in the zc.iso8601.parse module:

date(s)

Parse a date value that does not include time information. Returns a Python date value.

datetime(s)

Parse a date-time value that does not include time-zone information. Returns a Python datetime value.

datetimetz(s)

Parse a date-time value that includes time-zone information. Returns a Python datetime value in the UTC timezone.

Changes

0.2.0 (2011-10-10)

Added date function, for completeness.

0.1.0 (2008-05-12)

Initial release.

Project details


Download files

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

Source Distribution

zc.iso8601-0.2.0.tar.gz (6.6 kB view details)

Uploaded Source

File details

Details for the file zc.iso8601-0.2.0.tar.gz.

File metadata

  • Download URL: zc.iso8601-0.2.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for zc.iso8601-0.2.0.tar.gz
Algorithm Hash digest
SHA256 761d757a73066aa2b316a3c02dbccb155cde005318a2cf7fa494d9b6560e9da3
MD5 b10c3cbe533f979db8ec9fd886a81ac0
BLAKE2b-256 a2984d1d1d8e2501a16f13acfba82d9759cb4f46546efbbae1a3631f1244b75d

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