aboutsummaryrefslogtreecommitdiff
path: root/dateutil
AgeCommit message (Collapse)Author
2018-06-08Full test coverage on relativedeltaLuca Ferocino
2018-06-08Improved docstrings for count and until parametersLuca Ferocino
2018-06-08Merge pull request #751 from Cheukting/pylon_sprintPaul Ganssle
Closes #658 Fix Isoparser misinterprets T24:00
2018-06-08Merge pull request #752 from cssherry/setup_720Paul Ganssle
Closes #720 Fix requires in setup.py
2018-06-08Fix isoparser misinterprets T24:00Ho
- Update tests with the correct examples - Update AUTHORS.md - Closes GH issue #658
2018-06-08Fix spelling in testSherry Zhou
2018-06-08Parametrize basic parser test casesJohn Purviance
Tried to preserver comments in assertion messages. Lots of the test case names did not have much meaning, this would be a good time to fix that.
2018-05-31Merge commit 'ff03c0f' into upstream_2.7.2android-p-preview-5android-p-preview-4Kevin Cheng
Inital commit of dateutil 2.7.2 with history. Added: - Android.bp - MODULE_LICENSE_APACHE2 - NOTICE - METADATA Bug: 80314772 Test: Compiled acloud with dateutil and was able to import dateutil. Change-Id: Ic6b6f74b55006dc4bf689142c103ca88cc020385
2018-05-29Convert easter tests to pytestJohn Purviance
2018-05-15Add support for comma separator in isoparsePaul Ganssle
2018-05-15Add test for comma as microsecond separatorPaul Ganssle
2018-05-08Fix issue in tz.win.tzres documentationPaul Ganssle
2018-05-08Add docstrings for tz.win, tzwin and tzwinlocalPaul Ganssle
2018-05-08Fix malformed :py:class: directive in tz docsPaul Ganssle
2018-05-08Make tz docstring inherit from tz.tzPaul Ganssle
2018-05-08Improve documentation for gettzPaul Ganssle
2018-05-08Add documentation for tz.gettzRaymond Cha
Add changelog for PR #704
2018-05-07Performance improvements in resolve_from_stridxsPaul Ganssle
2018-05-07Fix for B.Y.d format corner case #687Brock Mendel
Add changelog file
2018-05-04Update zonefile to 2018ePaul Ganssle
2018-04-24Update tzfile examplesPaul Ganssle
2018-04-24Add examples to tzfile docstringRaymond Cha
2018-04-24Linting fixes in tz.pyPaul Ganssle
Clarify tzstr check
2018-04-24Fixup documentation issues in tz.pyPaul Ganssle
Add changelog
2018-04-24Restrict tzfile test to the public interfaceChris van den Berg
The original unit test tested the value of _filename, this instead tests the publicly observable effect of _filename, the repr of the object. Add changelog for this test.
2018-04-24Add unittest for tzfile from named file objectChris van den Berg
Checks if the tzinfo object's _filename attribute is equal to the name attribute of the input file object.
2018-04-21Change the order of params in rrule docstringRidhi
The documentation had cache and byeaster out of order from their appearance in the function's parameter list. - Added changelog for documentation change
2018-04-20Add xfail test for TZ aware rrulePaul Ganssle
2018-04-20Convert generated dtstart test to pytestPaul Ganssle
2018-04-20Implement working test for generated aware DTSTARTBrook Li
2018-04-20Add timezone to generated DTSTARTBrook Li
See gh issue #652 - before this the generated DTSTART was always naive, even if UNTIL had a time zone, leading to error cases.
2018-04-19Allow user to specify None as tzinfo valueParseThis
This commit allows the user to specify None when the dont care about the time zone information in the date time parse.
2018-04-19Add hypothesis tests for isoparsePaul Ganssle
2018-04-17Add versionadded tags to isoparse and utilsPaul Ganssle
2018-04-15Reword explanation of relative deltaElliot Hughes
- More clearly explain the order of operations. - Provide an example of how these operations are applied. - Remove all references to tuples, which never worked in the first place. Co-authored-by: Yuan Huang <huangy22@gmail.com> Co-authored-by: Kevin Nguyen <kvn219@nyu.edu>
2018-04-15Explain effect of weekday(_, 1) on relativedeltaElliot Hughes
This is referenced in paragraph 7 of the docstring but is easy to miss and we intend to change it. Authored with: - @kvm219 - @huangy22 Co-authored-by: Yuan Huang <huangy22@gmail.com> Co-authored-by: Kevin Nguyen <kvn219@nyu.edu>
2018-04-15Partially revert convertyear refactoringPaul Ganssle
2018-04-15Move property tests into separate directoryPaul Ganssle
2018-04-15Refactor parserinfo.convertyearCorey
Added assertion that year is always positive. Co-authored-by: Lauren Oldja <loldja@users.noreply.github.com>
2018-04-15Hypothesis tests on convertyearCorey
Some reformatting and minor refactoring Co-Authored-By: Lauren Oldja <loldja@users.noreply.github.com>
2018-04-14Change weakref test mechanismPaul Ganssle
This is a more reliable mechanism to test that nothing continues to hold a strong reference to the cached values. I have also switched the tests over to using pytest-style bare functions, and marked them all as smoke tests, since this will not actually be a guaranteed behavior of the interface.
2018-04-14Convert test to pytest and skip on WindowsPaul Ganssle
2018-04-14Add tests for weak references in timezone cachesChristopher Cordero
2018-04-14Convert the factories to use a WeakValueDictionaryChristopher Cordero
2018-04-14Move return to else statement in try/except blockRustem Sayargaliev
2018-04-14Catch infinite decimal values in `_is_decimal` (fix #662)Rustem Sayargaliev
2018-03-24Update test for 2018dPaul Ganssle
2018-03-24Update tzdata to 2018dPaul Ganssle
2018-03-14Merge pull request #634 from ryanpetrello/fix-633Paul Ganssle
require UTC for UNTIL when DTSTART is timezone-aware
2018-03-13require UTC for UNTIL when DTSTART is timezone-awareRyan Petrello
related: https://github.com/dateutil/dateutil/issues/620 related: https://github.com/dateutil/dateutil/issues/633