diff options
| author | Robert Collins <robertc@robertcollins.net> | 2009-07-20 20:08:11 +1000 |
|---|---|---|
| committer | Robert Collins <robertc@robertcollins.net> | 2009-07-20 20:08:11 +1000 |
| commit | e617f7cb78e375ecd3bb0df18633a3a5f05e1d02 (patch) | |
| tree | 1ee2158e0d74a35b4a7390c7024dcea086982791 /python/iso8601/README | |
| parent | 83e2424fbb77ca1ea6cf4b3fefddd10616b4e95c (diff) | |
| download | subunit-git-e617f7cb78e375ecd3bb0df18633a3a5f05e1d02.tar.gz | |
Support microsecond times.
Diffstat (limited to 'python/iso8601/README')
| -rw-r--r-- | python/iso8601/README | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/python/iso8601/README b/python/iso8601/README new file mode 100644 index 0000000..5ec9d45 --- /dev/null +++ b/python/iso8601/README @@ -0,0 +1,26 @@ +A simple package to deal with ISO 8601 date time formats. + +ISO 8601 defines a neutral, unambiguous date string format, which also +has the property of sorting naturally. + +e.g. YYYY-MM-DDTHH:MM:SSZ or 2007-01-25T12:00:00Z + +Currently this covers only the most common date formats encountered, not +all of ISO 8601 is handled. + +Currently the following formats are handled: + +* 2006-01-01T00:00:00Z +* 2006-01-01T00:00:00[+-]00:00 + +I'll add more as I encounter them in my day to day life. Patches with +new formats and tests will be gratefully accepted of course :) + +References: + +* http://www.cl.cam.ac.uk/~mgk25/iso-time.html - simple overview + +* http://hydracen.com/dx/iso8601.htm - more detailed enumeration of + valid formats. + +See the LICENSE file for the license this package is released under. |
