~bzr/ubuntu/hardy/subunit/bzr-ppa

« back to all changes in this revision

Viewing changes to python/iso8601/iso8601/README

  • Committer: Robert Collins
  • Date: 2009-12-15 10:22:23 UTC
  • mfrom: (64.24.1 upstream)
  • Revision ID: robertc@robertcollins.net-20091215102223-n07u9q3s618b8gfm
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
A simple package to deal with ISO 8601 date time formats.
 
2
 
 
3
ISO 8601 defines a neutral, unambiguous date string format, which also
 
4
has the property of sorting naturally.
 
5
 
 
6
e.g. YYYY-MM-DDTHH:MM:SSZ or 2007-01-25T12:00:00Z
 
7
 
 
8
Currently this covers only the most common date formats encountered, not
 
9
all of ISO 8601 is handled.
 
10
 
 
11
Currently the following formats are handled:
 
12
 
 
13
* 2006-01-01T00:00:00Z
 
14
* 2006-01-01T00:00:00[+-]00:00
 
15
 
 
16
I'll add more as I encounter them in my day to day life. Patches with 
 
17
new formats and tests will be gratefully accepted of course :)
 
18
 
 
19
References:
 
20
 
 
21
* http://www.cl.cam.ac.uk/~mgk25/iso-time.html - simple overview
 
22
 
 
23
* http://hydracen.com/dx/iso8601.htm - more detailed enumeration of
 
24
  valid formats.
 
25
 
 
26
See the LICENSE file for the license this package is released under.