summaryrefslogtreecommitdiff
path: root/iso8601
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-182-3/+5
| | | | 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-012-1/+2
|
* Adding API reference to docsMichael Twomey2014-02-271-2/+14
|
* Fix parsing of YYYY-MM and add YYYYMichael Twomey2014-02-272-20/+38
| | | | | | Fixes #14 (https://bitbucket.org/micktwomey/pyiso8601/issue/14/regression-yyyy-mm-no-longer-parses) Bump version to 1.10
* Bumping to 0.1.9 and releasing.Michael Twomey2014-02-261-0/+1
|
* tests: fix remaining testsJulien Danjou2014-02-182-5/+4
|
* Raise error on YYYYMM or YYMMDDJulien Danjou2014-02-182-10/+12
|
* Raise error when parsing year with wrong number for yearsjulien2014-02-182-18/+23
| | | | Closes #12
* test: fix test cases on errorjulien2014-02-181-11/+12
| | | | | | | The syntax used on pytest.mark.parametrize was wrong and therefore the argument "invalid_date" was passed as a tuple: whatever the value in that tuple was, the parsing function was always failing because the data type was wrong.
* Add isoformat() tests for all parsed datesMichael Twomey2013-10-191-22/+24
| | | | Also test round tripping from isoformat()
* Fix for regression when parsing microsecondsDavanum Srinivas2013-10-182-1/+2
|
* Handle negative timezone offsets correctly0.1.6Michael Twomey2013-10-182-23/+29
| | | | | | | | | | 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
* Added testcase from https://code.google.com/p/pyiso8601/issues/detail?id=14Michael Twomey2013-10-181-0/+3
|
* Added testcase from https://code.google.com/p/pyiso8601/issues/detail?id=16Michael Twomey2013-10-181-0/+1
|
* Added testcase from https://code.google.com/p/pyiso8601/issues/detail?id=17Michael Twomey2013-10-181-0/+1
|
* Handle compact date formatMichael Twomey2013-10-172-1/+2
| | | | | | Thanks to rvandolson@esri.com Fixes #6
* Z always specifies UTC nowMichael Twomey2013-10-172-1/+9
| | | | | | Thanks to vfaronov Fixes #5
* Ensure parsing of timezones without separators worksMichael Twomey2013-10-171-1/+2
| | | | | | Thanks to joe.walton.gglcd Fixes #4
* Fix pickling / deepcopy of returned datetime objectsMichael Twomey2013-10-172-0/+9
| | | | | | Thanks to fogathmann and john@openlearning.com Fixes #3
* Fix microsecond rounding issuesMichael Twomey2013-10-172-2/+5
| | | | | | Thanks to nielsenb@jetfuse.net Fixes #2
* Rewrote the regex, large parts of the code and testsMichael Twomey2013-10-162-34/+110
| | | | Added more tests to cover more of the spec and fixed many edge cases.
* Correctly raise ParseError for more invalid inputsMichael Twomey2013-10-152-109/+35
| | | | | | Fixes #1 Thanks to manish.tomar
* Make the inclusion of seconds optional in the date format.Chris Down2013-09-082-5/+18
| | | | | | 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-293-6/+15
| | | | | | 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-293-0/+214