summaryrefslogtreecommitdiff
path: root/lib/subunit/python/iso8601/README
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-12-31 18:48:41 +0100
committerJelmer Vernooij <jelmer@samba.org>2010-01-16 19:53:49 +1300
commitb6b46b4978dcaffa0cd9803c43b8a5f1c19e227e (patch)
tree478630ad4dd780bf0e68b2cad61d6b0cb26b8823 /lib/subunit/python/iso8601/README
parent2e38cb2cbb7520b2630ed85c3df2eb678c737fda (diff)
downloadsamba-b6b46b4978dcaffa0cd9803c43b8a5f1c19e227e.tar.gz
samba-b6b46b4978dcaffa0cd9803c43b8a5f1c19e227e.tar.bz2
samba-b6b46b4978dcaffa0cd9803c43b8a5f1c19e227e.zip
subunit: Import new version.
Diffstat (limited to 'lib/subunit/python/iso8601/README')
-rw-r--r--lib/subunit/python/iso8601/README26
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/subunit/python/iso8601/README b/lib/subunit/python/iso8601/README
new file mode 100644
index 0000000000..5ec9d45597
--- /dev/null
+++ b/lib/subunit/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.