summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* add incomplete month date supportFabien Loffredo2016-12-234-7/+17
|
* typoClaude2015-09-031-2/+2
|
* python 2.6 fixClaude2015-08-041-4/+4
|
* Add multiplication to durationClaude2015-08-042-0/+80
|
* fixing misspellingGeoffrey Fairchild2015-06-221-1/+1
|
* Duration objects are now hashableGeoffrey Fairchild2015-06-222-0/+24
|
* Merge pull request #19 from tofu-rocketry/all_string_listgweis2015-04-011-14/+14
|\ | | | | Change '__all__' in top 'init' to list of strings
| * Change __all__ in top init to be list of stringsAdrian Coveney2015-02-261-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-regexpgweis2015-04-011-1/+2
|\ \ | | | | | | Fix ISO8601_PERIOD_REGEX to not match 'P'
| * | Fix ISO8601_PERIOD_REGEX to not match 'P'Fabien Bochu2015-03-101-1/+2
| |/
* | Move line breaks after operatorsAdrian Coveney2015-02-263-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_handlinggweis2014-11-072-4/+15
|\ | | | | Make parse_datetime raise ISO8601Error if no 'T'
| * Make parse_datetime raise ISO8601Error if no 'T'Adrian Coveney2014-08-192-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_fixesgweis2014-11-074-7/+7
|\ \ | | | | | | Fix flake errors
| * | Fix flake errorsAdrian Coveney2014-08-184-7/+7
| |/
* | fix duration pickle for all protocols and all supported python versions and ↵Gerhard Weis2014-11-072-4/+28
|/ | | | variants. (closes #10)
* make flake happyGerhard Weis2014-02-2717-262/+329
|
* Closes #8. Added tests stated in issue #8, but can’t reproduce this error ↵Gerhard Weis2014-02-231-15/+27
| | | | across all tested python versions.
* make sure months and years are DecimalGerhard Weis2013-01-251-1/+14
| | | | | use floor divmod with Decimal instances. closes #5
* implement unittest2 load_tests protocolGerhard Weis2013-01-256-0/+24
|
* rename todatetime to totimedelta on Duration.Gerhard Weis2013-01-242-1/+15
| | | | | added some tests for the same function closes #4
* - raise Exception for unsupported operations with duration and date/datetime ↵Gerhard Weis2013-01-243-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 #3Gerhard Weis2013-01-241-3/+3
|
* Changing exceptions to be ValueError or a subclass thereof in cases where ↵Michael Hrivnak2012-11-162-2/+2
| | | | the error is invalid input.
* fix pickle problem with FixedOffset instancesGerhard Weis2012-10-301-3/+4
|
* * make FixedOffset unpicklableGerhard Weis2012-10-302-12/+43
|
* - round to microseconds in case provided iso date string uses higher precisionGerhard Weis2012-10-302-16/+33
|
* - fix formatting for microseconds (Jarom Loveridge)Gerhard Weis2012-10-303-4/+17
|
* make unit tests compatible with pre python 2.7 unit test moduleGerhard Weis2012-05-041-41/+36
|
* tz_isoformat needs datetime object to determine daylight savingGerhard Weis2012-01-262-7/+8
| | | | never pass None into tzinfo.utcoffset (doesn't make sense; it's not deterministic)
* add failing test for LocalTimeZone formattingGerhard Weis2012-01-262-2/+131
|
* make my syntax highlighter happyGerhard Weis2012-01-261-2/+2
|
* * support Python 3Gerhard Weis2012-01-066-4/+10
| | | | * moved tests package into isolate package
* * Fixed a formatting of microseconds for datetime objectsGerhard Weis2011-04-162-19/+25
| | | | | * some whitespace cleanup * bumped version to 0.4.4
* * Fixed problem with %P formating and fractionsGerhard Weis2010-10-292-3/+7
|
* * added unary operator for DurationGerhard Weis2010-10-284-169/+225
| | | | | * output fractional seconds iso format * added some tests
* * fixed precision problem with microsecondsGerhard Weis2010-10-132-51/+67
|
* * fixed bug in comparison between timedelta and Duration.Gerhard Weis2009-02-092-0/+6
|
* * added ISO 8601 formating methodsGerhard Weis2009-02-0913-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 Weis2009-01-0512-0/+1669