Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Python library to parse dates in the formats in the ISO 8601 standard.
Python
branch: master

Fixes #3

latest commit de3577c0cf
Anders Hovmöller authored
Failed to load latest commit information.
LICENSE Create LICENSE
README.md Update README.md
__init__.py added __init__ to make it easy to use this module as a git submodule
iso8601.py Fixes #3

README.md

ISO8601

Implementation of (most of) the ISO 8601 specification. Just call iso8601.parse() with your string in any format and it will be auto detected.

Supports

  • Naive times
  • Timezone information (specified as offsets or as Z for 0 offset)
  • Year
  • Year-month
  • Year-month-date
  • Year-week
  • Year-week-weekday
  • Year-ordinal day
  • Hour
  • Hour-minute
  • Hour-minute
  • Hour-minute-second
  • Hour-minute-second-microsecond
  • All combinations of the three "families" above!

Not supported formats

  • Time durations
  • Time intervals
  • Repeating intervals
Something went wrong with that request. Please try again.