summaryrefslogtreecommitdiff
path: root/iso8601/iso8601.py
Commit message (Collapse)AuthorAgeFilesLines
* fix class reference for iso8601.Utc in module docstringfix-module-docstringFelix Schwarz2016-02-121-1/+1
| | | | | | | | | The reference to "iso8601.iso8601.Utc" is not wrong but not what Utc.__repr__() actually returns (since 29752e308996). In Python 3.2+ we use Python's UTC implementation (so we get a different __repr__() output) but I guess that won't confuse users too much.
* Export FixedOffset in __all__Julien Danjou2016-01-261-1/+2
| | | | Fixes #20
* Fix FixedOffset comparisonJulien Danjou2015-11-181-3/+1
| | | | Fixes #19
* Do not use custom timezone implementation on Python ? 3.2Julien Danjou2015-11-081-49/+55
| | | | | | | Python ? 3.2 has a timezone class that we can use directly for FixedOffset and UTC. Fixes #17
* Remove debug loggingQuentin Pradet2015-10-301-5/+0
|
* Add support for , as separator for fractional partLinus Wallgren2015-07-011-1/+1
|
* Adding API reference to docsMichael Twomey2014-02-271-2/+14
|
* Fix parsing of YYYY-MM and add YYYYMichael Twomey2014-02-271-20/+33
| | | | | | Fixes #14 (https://bitbucket.org/micktwomey/pyiso8601/issue/14/regression-yyyy-mm-no-longer-parses) Bump version to 1.10
* tests: fix remaining testsJulien Danjou2014-02-181-3/+2
|
* Raise error on YYYYMM or YYMMDDJulien Danjou2014-02-181-8/+10
|
* Raise error when parsing year with wrong number for yearsjulien2014-02-181-16/+20
| | | | Closes #12
* Fix for regression when parsing microsecondsDavanum Srinivas2013-10-181-1/+1
|
* Handle negative timezone offsets correctly0.1.6Michael Twomey2013-10-181-0/+1
| | | | | | | | | | I had dropped the negative minutes in a braino and had incorrectly updated tests to match. I've added a isoformat field to the tests, so I can correctly assert they formatted date looks right. Thanks to Jonathan Lange for reporting this and a patch. Fixes #8
* Handle compact date formatMichael Twomey2013-10-171-1/+1
| | | | | | Thanks to rvandolson@esri.com Fixes #6
* Z always specifies UTC nowMichael Twomey2013-10-171-1/+1
| | | | | | Thanks to vfaronov Fixes #5
* Fix pickling / deepcopy of returned datetime objectsMichael Twomey2013-10-171-0/+5
| | | | | | Thanks to fogathmann and john@openlearning.com Fixes #3
* Fix microsecond rounding issuesMichael Twomey2013-10-171-2/+4
| | | | | | Thanks to nielsenb@jetfuse.net Fixes #2
* Rewrote the regex, large parts of the code and testsMichael Twomey2013-10-161-25/+87
| | | | Added more tests to cover more of the spec and fixed many edge cases.
* Correctly raise ParseError for more invalid inputsMichael Twomey2013-10-151-3/+6
| | | | | | Fixes #1 Thanks to manish.tomar
* Make the inclusion of seconds optional in the date format.Chris Down2013-09-081-5/+7
| | | | | | ISO 8601 specifies that the inclusion of seconds in the date format is optional. To accommodate this, if the seconds are not included, it is considered to be 0.
* Applied python 3 support patch from ↵Michael Twomey2013-08-291-1/+8
| | | | | | https://code.google.com/p/pyiso8601/issues/detail?id=23 Also updated to use tox and py.test
* Importing r23 / 0.1.4 from https://code.google.com/p/pyiso8601/Michael Twomey2013-08-291-0/+102