Skip to main content

Simple module to parse ISO 8601 dates

Project description

Simple module to parse ISO 8601 dates

This module parses the most common forms of ISO 8601 date strings (e.g. 2007-01-14T20:34:22+00:00) into datetime objects.

Changes

0.1.2

  • Adding ParseError to __all__ in iso8601 module, allows people to import it. Addresses issue 7.

  • Be a little more flexible when dealing with dates without leading zeroes. This violates the spec a little, but handles more dates as seen in the field. Addresses issue 6.

  • Allow date/time separators other than T.

0.1.1

  • When parsing dates without a timezone the specified default is used. If no default is specified then UTC is used. Addresses issue 4.

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

iso8601-0.1.2.tar.gz (4.2 kB view details)

Uploaded Source

Built Distributions

iso8601-0.1.2-py2.5.egg (7.2 kB view details)

Uploaded Egg

iso8601-0.1.2-py2.4.egg (7.2 kB view details)

Uploaded Egg

File details

Details for the file iso8601-0.1.2.tar.gz.

File metadata

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

File hashes

Hashes for iso8601-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0230345877848683df9da52f297ad7a5fddec696b11dcdcfd7cf98cc0d5d9893
MD5 e58bc221c1d08494ce243913b33b2a0e
BLAKE2b-256 da7808a5b13b1292ebb460fb1dbd83fc1b34579c6f91a41c89ad3cd76d2c4c04

See more details on using hashes here.

File details

Details for the file iso8601-0.1.2-py2.5.egg.

File metadata

  • Download URL: iso8601-0.1.2-py2.5.egg
  • Upload date:
  • Size: 7.2 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for iso8601-0.1.2-py2.5.egg
Algorithm Hash digest
SHA256 49188bfc5030dc98226f7e9ccdc608afc07a63e5272371db2f963664dc52c75f
MD5 d7534bb430b83c88ef05d0608adbee51
BLAKE2b-256 39afae868dd49ce0a82b3ed5689b4325d4a4ad1134ca036c0dc80280884c4a2e

See more details on using hashes here.

File details

Details for the file iso8601-0.1.2-py2.4.egg.

File metadata

  • Download URL: iso8601-0.1.2-py2.4.egg
  • Upload date:
  • Size: 7.2 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for iso8601-0.1.2-py2.4.egg
Algorithm Hash digest
SHA256 2cea1a4988eda5fd5753cc49d846910f2b7b2e694ab618da698cfec6cc11ccc4
MD5 e4aaf7ee7f448821c729de9c09e242fb
BLAKE2b-256 cc5fbd66974ecaa4d68f209bf2e800046f3f855fb64769bee119e021874be65d

See more details on using hashes here.

Supported by

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