| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Improve documentation for parser errors/warnings | Paul Ganssle | 2020-01-02 | 1 | -2/+11 |
| | | |||||
| * | Document that parser.parse raises ParserError | Paul Ganssle | 2020-01-02 | 1 | -4/+4 |
| | | |||||
| * | Update documentation links | Paul Ganssle | 2020-01-02 | 1 | -3/+3 |
| | | | | | | Periodic update of all links that point to redirects or http targets when an https target is available. | ||||
| * | Fix custom repr for ParserError | Paul Ganssle | 2020-01-02 | 1 | -2/+3 |
| | | | | | | | | | | | This was originally dead code, because an indentation error had `__repr__` defined after the `return` statement in `__str__`. The definition of the `__repr__` is also changed to be more in line with the conception of a repr as "what you would have to evalue to get this object". Even though this is not guaranteed behavior, this commit also adds a regression test to avoid simple errors like this in the future. | ||||
| * | Fix TypeError in parser wrapper logic | Mark Bailey | 2020-01-02 | 1 | -1/+1 |
| | | | | | | | | | | | | In attempting to pass-through the string representation of an exception we are wrapping, we made the erroneous assumption that `args[0]` would always be a string (or something that can concatenate cleanly with a string). This turns out not to be the case with `IllegalMonthError`, where it is an integer, so to avoid raising an erroneous `TypeError`, we first convert the wrapped exception to a string. See GH issue #981. | ||||
| * | Fix typos in comments and documentation | Hugo | 2019-08-27 | 1 | -4/+4 |
| | | | | | | Fixes several misspellings, typos and styling errors (e.g. github -> GitHub) in the comments and documentation. | ||||
| * | Use tz.UTC in parser | Paul Ganssle | 2019-04-23 | 1 | -2/+2 |
| | | |||||
| * | Use tz.UTC in isoparser | Paul Ganssle | 2019-04-23 | 1 | -2/+2 |
| | | |||||
| * | Wrap ValueError in ParserError | Paul Ganssle | 2019-04-23 | 1 | -1/+4 |
| | | | | | | Ensures that ValueErrors raised when building the datetime from an already-parsed string will be raised as ParserError as well. | ||||
| * | Use custom ParserError class in parser | gfyoung | 2019-04-23 | 2 | -5/+19 |
| | | | | | | This gives a nicer string representation while retaining access to the input string in the exception arguments. | ||||
| * | Fix error condition when invalid tzinfos is passed | Brock Mendel | 2019-03-20 | 1 | -0/+3 |
| | | | | | This switches the error from UnboundLocalError to TypeError. | ||||
| * | Collect parser methods by function | Brock Mendel | 2019-02-26 | 1 | -33/+43 |
| | | | | | This is a minor refactoring to improve the code organization. | ||||
| * | Regroup if statements in tzname logic | Paul Ganssle | 2018-10-06 | 1 | -2/+2 |
| | | | | | | This makes the grouping of the logic clearer; UTC is used either in the first group or the second group. | ||||
| * | Accept 'z' for UTC in parser | Cheuk Ho | 2018-10-06 | 1 | -2/+4 |
| | | |||||
| * | Accept 'z' for 'Z' in isoparse | Cheuk Ho | 2018-10-06 | 2 | -3/+3 |
| | | |||||
| * | Remove unnecessary binary_type compatibility shim | Jon Dufresne | 2018-09-24 | 1 | -2/+2 |
| | | | | | | The bytes type is available on all supported Pythons. Can remove workaround and make the code more forward compatible with Python 3. | ||||
| * | Accept more than 6 fractional digits in `isoparse` | Jay Weisskopf | 2018-07-03 | 1 | -10/+7 |
| | | | | | | | | | | | | | RFC 3339 does not specify a limit to the number of fractional digits that can be provided. In the wild, languages like Go will provide up to 9 digits by default. Since the standard library's `datetime` only supports precision down to microseconds, any extra digits in the fractional component are truncated. Fixes #786 | ||||
| * | Fix bug in parse_isotime when hour is 24 | Paul Ganssle | 2018-06-20 | 1 | -1/+1 |
| | | | | | | | The old behavior parsed the string, modified the 24 component to 0 and then parsed the string a second time, passing an unmodified version to the datetime.time constructor. | ||||
| * | Fix isoparser misinterprets T24:00 | Ho | 2018-06-08 | 1 | -1/+7 |
| | | | | | | | - Update tests with the correct examples - Update AUTHORS.md - Closes GH issue #658 | ||||
| * | Add support for comma separator in isoparse | Paul Ganssle | 2018-05-15 | 1 | -3/+5 |
| | | |||||
| * | Performance improvements in resolve_from_stridxs | Paul Ganssle | 2018-05-07 | 1 | -10/+9 |
| | | |||||
| * | Fix for B.Y.d format corner case #687 | Brock Mendel | 2018-05-07 | 1 | -4/+36 |
| | | | | | Add changelog file | ||||
| * | Allow user to specify None as tzinfo value | ParseThis | 2018-04-19 | 1 | -6/+4 |
| | | | | | | | This commit allows the user to specify None when the dont care about the time zone information in the date time parse. | ||||
| * | Add versionadded tags to isoparse and utils | Paul Ganssle | 2018-04-17 | 1 | -0/+4 |
| | | |||||
| * | Partially revert convertyear refactoring | Paul Ganssle | 2018-04-15 | 1 | -10/+8 |
| | | |||||
| * | Refactor parserinfo.convertyear | Corey | 2018-04-15 | 1 | -7/+19 |
| | | | | | | | Added assertion that year is always positive. Co-authored-by: Lauren Oldja <loldja@users.noreply.github.com> | ||||
| * | Move return to else statement in try/except block | Rustem Sayargaliev | 2018-04-14 | 1 | -2/+2 |
| | | |||||
| * | Catch infinite decimal values in `_is_decimal` (fix #662) | Rustem Sayargaliev | 2018-04-14 | 1 | -1/+6 |
| | | |||||
| * | Catch non-ValueError exceptions in decimal | Paul Ganssle | 2018-03-12 | 1 | -3/+14 |
| | | |||||
| * | Switch unknown timezone warning type | Paul Ganssle | 2018-03-11 | 2 | -2/+7 |
| | | |||||
| * | warn instead of raising... for now | Brock Mendel | 2018-03-11 | 1 | -11/+13 |
| | | | | | edit warning per suggestion | ||||
| * | raise on unidentified tz | Brock Mendel | 2018-03-11 | 1 | -0/+8 |
| | | |||||
| * | Relax strictness of default isoparse behavior | Paul Ganssle | 2018-03-10 | 1 | -7/+12 |
| | | |||||
| * | Improve isoparse limitations documentation | Paul Ganssle | 2018-03-10 | 1 | -1/+12 |
| | | |||||
| * | Prefer builtin callable() over isinstance(..., collections.Callable) | Jon Dufresne | 2018-01-11 | 1 | -4/+2 |
| | | | | | | | Available on all supported Python versions. https://docs.python.org/3/library/functions.html#callable | ||||
| * | Only raise ValueError in parser for now | Paul Ganssle | 2018-01-07 | 2 | -19/+5 |
| | | |||||
| * | Deprecate dateutil-specific tz format | Paul Ganssle | 2018-01-03 | 1 | -1/+9 |
| | | |||||
| * | Merge branch 'master' into issue259 | Paul Ganssle | 2017-12-19 | 1 | -10/+8 |
| |\ | |||||
| | * | remove min() calls | Brock Mendel | 2017-12-11 | 1 | -10/+8 |
| | | | |||||
| * | | Fix 'signal' so it multiplies by the DST change | Paul Ganssle | 2017-12-18 | 1 | -1/+1 |
| | | | |||||
| * | | Revert b15f38a | Pablo Galindo | 2017-12-14 | 1 | -1/+1 |
| | | | |||||
| * | | Eliminate unnecessary filtering | Pablo Galindo | 2017-12-14 | 1 | -1/+1 |
| | | | |||||
| * | | Implement regexp tokenizer to leave timelex unchanged and minor style changes | Pablo Galindo | 2017-12-14 | 1 | -36/+35 |
| | | | |||||
| * | | Adapt tokenizer to optinally disallow behaviour introduced by ↵ | Pablo Galindo | 2017-12-10 | 1 | -5/+8 |
| | | | | | | | | | bc69c3f3151a3bc9a743d80d29d48701468984ee | ||||
| * | | Fix datetime.parser._parser,_timelex to correctly tokenize default tz format ↵ | Pablo Galindo | 2017-12-10 | 1 | -2/+4 |
| | | | | | | | | | and add tests | ||||
| * | | Make tz.tzstr fail if an invalid GNU tz string is provided | Pablo Galindo Salgado | 2017-12-10 | 1 | -1/+27 |
| |/ | |||||
| * | Merge branch 'master' into build_methods | Paul Ganssle | 2017-12-10 | 1 | -1/+4 |
| |\ | |||||
| | * | Removed support for YYYYMM format | Kirit Thadaka | 2017-12-09 | 1 | -1/+4 |
| | | | |||||
| * | | Merge branch 'master' of https://github.com/dateutil/dateutil into build_methods | Brock Mendel | 2017-12-07 | 3 | -5/+398 |
| |\ \ | |/ | |||||
| | * | Fix issue #427, all tests passing | Mateusz Dziedzic | 2017-12-07 | 1 | -3/+7 |
| | | | |||||
