diff options
author | Gerhard Weis <gweis@gmx.at> | 2009-02-09 10:37:45 +1000 |
---|---|---|
committer | Gerhard Weis <gweis@gmx.at> | 2009-02-09 10:37:45 +1000 |
commit | f950b7ae031d7a4c1e0a2211d4fdaed016dbc345 (patch) | |
tree | 200655bbd9a70b1285d480c141072a3d28eaf884 | |
parent | 40a99905da4df23a4d68753258c0354abd8ab932 (diff) | |
download | isodate-f950b7ae031d7a4c1e0a2211d4fdaed016dbc345.tar.gz |
* minor fixes for docutils in documentation files
-rw-r--r-- | CHANGES.txt | 4 | ||||
-rw-r--r-- | README.txt | 45 | ||||
-rw-r--r-- | TODO.txt | 4 |
3 files changed, 25 insertions, 28 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 6b32ae1..dcb9df3 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,5 +1,4 @@ - CHANGES ======= @@ -12,6 +11,5 @@ CHANGES 0.3.0 (2009-1-05) ------------------ -- Initial release - +- Initial release @@ -33,8 +33,8 @@ Currently there are four parsing methods available. parses an ISO 8601 duration string into a *timedelta* or *Duration* object. * parse_tzinfo: - parses the time zone info part of an ISO 8601 string into a - *tzinfo* object. + parses the time zone info part of an ISO 8601 string into a + *tzinfo* object. As ISO 8601 allows to define durations in years and months, and *timedelta* does not handle years and months, this module provides a *Duration* class, @@ -45,26 +45,27 @@ There are also ISO formating methods for all supported data types. Each *xxx_isoformat* method accepts a format parameter. The default format is always the ISO 8601 expanded format. This is the same format used by *datetime.isoformat*: - * time_isoformat: - Intended to create ISO time strings with default format - *hh:mm:ssZ*. - * date_isoformat: - Intended to create ISO date strings with default format - *yyyy-mm-dd*. - * datetime_isoformat: - Intended to create ISO date-time strings with default format - *yyyy-mm-ddThh:mm:ssZ*. - * duration_isoformat: - Intended to create ISO duration strings with default format - *PnnYnnMnnDTnnHnnMnnS*. - * tz_isoformat: - Intended to create ISO time zone strings with default format - *hh:mm*. - * strftime: - A re-implementation mostly compatible with Python's *strftime*, but - supports only those format strings, which can also be used for dates - prior 1900. This method also understands how to format *datetime* and - *Duration* instances. + + * time_isoformat: + Intended to create ISO time strings with default format + *hh:mm:ssZ*. + * date_isoformat: + Intended to create ISO date strings with default format + *yyyy-mm-dd*. + * datetime_isoformat: + Intended to create ISO date-time strings with default format + *yyyy-mm-ddThh:mm:ssZ*. + * duration_isoformat: + Intended to create ISO duration strings with default format + *PnnYnnMnnDTnnHnnMnnS*. + * tz_isoformat: + Intended to create ISO time zone strings with default format + *hh:mm*. + * strftime: + A re-implementation mostly compatible with Python's *strftime*, but + supports only those format strings, which can also be used for dates + prior 1900. This method also understands how to format *datetime* and + *Duration* instances. Installation: ------------- @@ -1,5 +1,4 @@ - TODOs ===== @@ -10,7 +9,7 @@ not complete. Missing features: ----------------- - * time formating does not allow to create fractional representations. + * time formating does not allow to create fractional representations. * parser for ISO intervals. Documentation: @@ -37,4 +36,3 @@ Documentation: - when is a Duration negative? - normalize Durations. months [00-12] and years ]-inf,+inf[ - |