summaryrefslogtreecommitdiff
path: root/iso8601/test_iso8601.py
Commit message (Collapse)AuthorAgeFilesLines
* 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-181-0/+1
|
* Handle negative timezone offsets correctly0.1.6Michael Twomey2013-10-181-23/+28
| | | | | | | | | | 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-171-0/+1
| | | | | | Thanks to rvandolson@esri.com Fixes #6
* Z always specifies UTC nowMichael Twomey2013-10-171-0/+8
| | | | | | 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-171-0/+4
| | | | | | Thanks to fogathmann and john@openlearning.com Fixes #3
* Fix microsecond rounding issuesMichael Twomey2013-10-171-0/+1
| | | | | | Thanks to nielsenb@jetfuse.net Fixes #2
* Rewrote the regex, large parts of the code and testsMichael Twomey2013-10-161-9/+23
| | | | Added more tests to cover more of the spec and fixed many edge cases.
* Correctly raise ParseError for more invalid inputsMichael Twomey2013-10-151-106/+29
| | | | | | Fixes #1 Thanks to manish.tomar
* Make the inclusion of seconds optional in the date format.Chris Down2013-09-081-0/+11
| | | | | | 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-4/+6
| | | | | | 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/+111