Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add incomplete month date support | Fabien Loffredo | 2016-12-23 | 4 | -7/+17 |
| | |||||
* | typo | Claude | 2015-09-03 | 1 | -2/+2 |
| | |||||
* | python 2.6 fix | Claude | 2015-08-04 | 1 | -4/+4 |
| | |||||
* | Add multiplication to duration | Claude | 2015-08-04 | 2 | -0/+80 |
| | |||||
* | fixing misspelling | Geoffrey Fairchild | 2015-06-22 | 1 | -1/+1 |
| | |||||
* | Duration objects are now hashable | Geoffrey Fairchild | 2015-06-22 | 2 | -0/+24 |
| | |||||
* | Merge pull request #19 from tofu-rocketry/all_string_list | gweis | 2015-04-01 | 1 | -14/+14 |
|\ | | | | | Change '__all__' in top 'init' to list of strings | ||||
| * | Change __all__ in top init to be list of strings | Adrian Coveney | 2015-02-26 | 1 | -14/+14 |
| | | | | | | | | | | - Change __all__ in top level __init__.py to be a list of strings which is what it should be. | ||||
* | | Merge pull request #18 from Polyconseil/fbochu/iso8601-period-regexp | gweis | 2015-04-01 | 1 | -1/+2 |
|\ \ | | | | | | | Fix ISO8601_PERIOD_REGEX to not match 'P' | ||||
| * | | Fix ISO8601_PERIOD_REGEX to not match 'P' | Fabien Bochu | 2015-03-10 | 1 | -1/+2 |
| |/ | |||||
* | | Move line breaks after operators | Adrian Coveney | 2015-02-26 | 3 | -28/+28 |
|/ | | | | | - Move line breaks to after operators as per PEP8 as Flake has started picking up on this in a newer version. | ||||
* | Merge pull request #12 from tofu-rocketry/datetime_input_handling | gweis | 2014-11-07 | 2 | -4/+15 |
|\ | | | | | Make parse_datetime raise ISO8601Error if no 'T' | ||||
| * | Make parse_datetime raise ISO8601Error if no 'T' | Adrian Coveney | 2014-08-19 | 2 | -4/+15 |
| | | | | | | | | | | | | | | | | | | - Make parse_datetime raise ISO8601Error if time designator 'T' is missing as before it would raise a ValueError that was hard to interpret. - Alter test_parse for test_datetime to check that bad inputs raise an ISO8601 error. The other tests did this, but test_datetime didn't. - Add test case where the 'T' time designator is missing from input datetime strings. | ||||
* | | Merge pull request #11 from tofu-rocketry/flake_fixes | gweis | 2014-11-07 | 4 | -7/+7 |
|\ \ | | | | | | | Fix flake errors | ||||
| * | | Fix flake errors | Adrian Coveney | 2014-08-18 | 4 | -7/+7 |
| |/ | |||||
* | | fix duration pickle for all protocols and all supported python versions and ↵ | Gerhard Weis | 2014-11-07 | 2 | -4/+28 |
|/ | | | | variants. (closes #10) | ||||
* | make flake happy | Gerhard Weis | 2014-02-27 | 17 | -262/+329 |
| | |||||
* | Closes #8. Added tests stated in issue #8, but can’t reproduce this error ↵ | Gerhard Weis | 2014-02-23 | 1 | -15/+27 |
| | | | | across all tested python versions. | ||||
* | make sure months and years are Decimal | Gerhard Weis | 2013-01-25 | 1 | -1/+14 |
| | | | | | use floor divmod with Decimal instances. closes #5 | ||||
* | implement unittest2 load_tests protocol | Gerhard Weis | 2013-01-25 | 6 | -0/+24 |
| | |||||
* | rename todatetime to totimedelta on Duration. | Gerhard Weis | 2013-01-24 | 2 | -1/+15 |
| | | | | | added some tests for the same function closes #4 | ||||
* | - raise Exception for unsupported operations with duration and date/datetime ↵ | Gerhard Weis | 2013-01-24 | 3 | -8/+29 |
| | | | | | | | | objects - store year and month as Decimal in Duration object. - added test cases to support changes closes #2 | ||||
* | convert microseconds to int before passing in to datetime.time(..). closes #3 | Gerhard Weis | 2013-01-24 | 1 | -3/+3 |
| | |||||
* | Changing exceptions to be ValueError or a subclass thereof in cases where ↵ | Michael Hrivnak | 2012-11-16 | 2 | -2/+2 |
| | | | | the error is invalid input. | ||||
* | fix pickle problem with FixedOffset instances | Gerhard Weis | 2012-10-30 | 1 | -3/+4 |
| | |||||
* | * make FixedOffset unpicklable | Gerhard Weis | 2012-10-30 | 2 | -12/+43 |
| | |||||
* | - round to microseconds in case provided iso date string uses higher precision | Gerhard Weis | 2012-10-30 | 2 | -16/+33 |
| | |||||
* | - fix formatting for microseconds (Jarom Loveridge) | Gerhard Weis | 2012-10-30 | 3 | -4/+17 |
| | |||||
* | make unit tests compatible with pre python 2.7 unit test module | Gerhard Weis | 2012-05-04 | 1 | -41/+36 |
| | |||||
* | tz_isoformat needs datetime object to determine daylight saving | Gerhard Weis | 2012-01-26 | 2 | -7/+8 |
| | | | | never pass None into tzinfo.utcoffset (doesn't make sense; it's not deterministic) | ||||
* | add failing test for LocalTimeZone formatting | Gerhard Weis | 2012-01-26 | 2 | -2/+131 |
| | |||||
* | make my syntax highlighter happy | Gerhard Weis | 2012-01-26 | 1 | -2/+2 |
| | |||||
* | * support Python 3 | Gerhard Weis | 2012-01-06 | 6 | -4/+10 |
| | | | | * moved tests package into isolate package | ||||
* | * Fixed a formatting of microseconds for datetime objects | Gerhard Weis | 2011-04-16 | 2 | -19/+25 |
| | | | | | * some whitespace cleanup * bumped version to 0.4.4 | ||||
* | * Fixed problem with %P formating and fractions | Gerhard Weis | 2010-10-29 | 2 | -3/+7 |
| | |||||
* | * added unary operator for Duration | Gerhard Weis | 2010-10-28 | 4 | -169/+225 |
| | | | | | * output fractional seconds iso format * added some tests | ||||
* | * fixed precision problem with microseconds | Gerhard Weis | 2010-10-13 | 2 | -51/+67 |
| | |||||
* | * fixed bug in comparison between timedelta and Duration. | Gerhard Weis | 2009-02-09 | 2 | -0/+6 |
| | |||||
* | * added ISO 8601 formating methods | Gerhard Weis | 2009-02-09 | 13 | -347/+837 |
| | | | | | | | | * still problems with negative durations * refactored Duration class to separate module * allow access to wrapped timedelta attributes directly on Duration. * refactored tzinfo parsing and formating into separate module * updated test cases for new functionality | ||||
* | * initial commit (version 0.3.0) | Gerhard Weis | 2009-01-05 | 12 | -0/+1669 |