Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boxed/iso8601
Python library to parse dates in the formats in the ISO 8601 standard.
https://github.com/boxed/iso8601
Last synced: 15 days ago
JSON representation
Python library to parse dates in the formats in the ISO 8601 standard.
- Host: GitHub
- URL: https://github.com/boxed/iso8601
- Owner: boxed
- License: mit
- Created: 2013-03-02T13:28:05.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-07-02T07:00:12.000Z (over 6 years ago)
- Last Synced: 2024-10-04T12:48:40.323Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 27
- Watchers: 6
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
.. image:: https://travis-ci.org/boxed/iso8601.svg?branch=master
:target: https://travis-ci.org/boxed/iso8601ISO8601
=======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