summaryrefslogtreecommitdiff
path: root/src/isodate/isoduration.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PR64'Gerhard Weis2021-12-131-11/+12
|\ | | | | | | | | | | | | | | | | | | * PR64: Flake8 Remove type annotation to support python 2 Allow control over return type of parse_duration. # Conflicts: # src/isodate/isoduration.py
| * Flake8F.N. Claessen2021-03-041-2/+10
| |
| * Remove type annotation to support python 2F.N. Claessen2021-03-041-1/+1
| |
| * Allow control over return type of parse_duration.F.N. Claessen2021-02-251-9/+10
| |
* | Merge branch 'PR57'Gerhard Weis2021-12-131-26/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PR57: remove the license from tests 1) move license to Project's root 2) add a missing sentence from 2-clause license 3-clause license ("BSD License 2.0", "Revised BSD License", "New BSD License", or "Modified BSD License"): [(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.] # Conflicts: # src/isodate/__init__.py # src/isodate/duration.py # src/isodate/isodates.py # src/isodate/isodatetime.py # src/isodate/isoduration.py # src/isodate/isoerror.py # src/isodate/isotime.py # src/isodate/isotzinfo.py # src/isodate/tests/__init__.py # src/isodate/tests/test_date.py # src/isodate/tests/test_datetime.py # src/isodate/tests/test_duration.py # src/isodate/tests/test_strf.py # src/isodate/tests/test_time.py
| * | 1) move license to Project's rootAlexander Mangin2019-03-271-26/+0
| |/ | | | | | | | | 2) add a missing sentence from 2-clause license 3-clause license ("BSD License 2.0", "Revised BSD License", "New BSD License", or "Modified BSD License"): [(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.]
* | white spaceGerhard Weis2021-12-131-35/+55
|/
* use sixGerhard Weis2017-07-051-5/+3
|
* Flake happinessLaurent Mazuel2017-06-281-0/+1
|
* Py3 compatLaurent Mazuel2017-06-281-1/+4
|
* isinstance(obj, (str, unicode)) to be Py2/3 compatLaurent Mazuel2017-06-281-1/+1
|
* 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-261-5/+5
|/ | | | | - Move line breaks to after operators as per PEP8 as Flake has started picking up on this in a newer version.
* Fix flake errorsAdrian Coveney2014-08-181-1/+1
|
* make flake happyGerhard Weis2014-02-271-13/+16
|
* - raise Exception for unsupported operations with duration and date/datetime ↵Gerhard Weis2013-01-241-1/+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-25/+26
| | | | | * output fractional seconds iso format * added some tests
* * added ISO 8601 formating methodsGerhard Weis2009-02-091-205/+20
| | | | | | | | * 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-051-0/+324