summaryrefslogtreecommitdiff
path: root/src/isodate/duration.py
Commit message (Collapse)AuthorAgeFilesLines
* Removed the trailing space.Ziang Song2015-12-031-1/+1
|
* https://github.com/gweis/isodate/issues/33Ziang Song2015-12-031-1/+4
|
* typoClaude2015-09-031-2/+2
|
* python 2.6 fixClaude2015-08-041-4/+4
|
* Add multiplication to durationClaude2015-08-041-0/+21
|
* Duration objects are now hashableGeoffrey Fairchild2015-06-221-0/+7
|
* Move line breaks after operatorsAdrian Coveney2015-02-261-13/+13
| | | | | - Move line breaks to after operators as per PEP8 as Flake has started picking up on this in a newer version.
* Merge pull request #11 from tofu-rocketry/flake_fixesgweis2014-11-071-2/+2
|\ | | | | Fix flake errors
| * Fix flake errorsAdrian Coveney2014-08-181-2/+2
| |
* | fix duration pickle for all protocols and all supported python versions and ↵Gerhard Weis2014-11-071-0/+6
|/ | | | variants. (closes #10)
* make flake happyGerhard Weis2014-02-271-18/+28
|
* make sure months and years are DecimalGerhard Weis2013-01-251-1/+14
| | | | | use floor divmod with Decimal instances. closes #5
* rename todatetime to totimedelta on Duration.Gerhard Weis2013-01-241-1/+1
| | | | | added some tests for the same function closes #4
* - raise Exception for unsupported operations with duration and date/datetime ↵Gerhard Weis2013-01-241-0/+6
| | | | | | | | objects - store year and month as Decimal in Duration object. - added test cases to support changes closes #2
* * added unary operator for DurationGerhard Weis2010-10-281-35/+48
| | | | | * output fractional seconds iso format * added some tests
* * fixed bug in comparison between timedelta and Duration.Gerhard Weis2009-02-091-0/+4
|
* * added ISO 8601 formating methodsGerhard Weis2009-02-091-0/+244
* 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