A Python Datetime Library
The python dateutil module provides powerful extensions to the standard
datetime module.
* Computing of relative deltas (next month, next year, next monday,
last week of month, etc.)
* Computing of relative deltas between two given dates and/or
datetime objects
* Computing of dates based on very flexible recurrence rules, using
a superset of the iCalendar specification. Parsing of RFC strings
is supported as well.
* Generic parsing of dates in almost any string format.
* Timezone (tzinfo) implementations for tzfile(5) format files
(/etc/localtime, /usr/share/zoneinfo, etc.), TZ environment
string (in all known formats), iCalendar format files, given
ranges (with help from relative deltas), local machine timezone,
fixed offset timezone, UTC timezone, and Windows registry-based
time zones.
* Internal up-to-date world timezone information based on Olson's
database.
* Computing of Easter Sunday dates for any given year, using Western,
Orthodox or Julian algorithms.
- Links to devel:lan...s:python / python-py...dateutil
- Has a link diff
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:sebix:intelmq/python3-python-dateutil && cd $_
- Create Badge
Source Files (show unmerged sources)
Filename | Size | Changed |
---|---|---|
_multibuild | 0000000053 53 Bytes | |
debian.changelog | 0000000758 758 Bytes | |
debian.compat | 0000000002 2 Bytes | |
debian.control | 0000000488 488 Bytes | |
debian.rules | 0000000390 390 Bytes | |
debian.source.format | 0000000021 21 Bytes | |
python-dateutil-2.8.2.tar.gz | 0000357324 349 KB | |
python-dateutil-2.9.0.post0.tar.gz | 0000342432 334 KB | |
python3-python-dateutil.changes | 0000021438 20.9 KB | |
python3-python-dateutil.dsc | 0000000522 522 Bytes | |
python3-python-dateutil.spec | 0000003450 3.37 KB | |
remove_setuptools_scm.patch | 0000000771 771 Bytes |
Latest Revision
- update to version 2.8.2: - Data updates: - Updated tzdata version to 2021a. (gh pr #1128) - Bugfixes: - Fixed a bug in the parser where non-``ValueError`` exceptions would be raised during exception handling; this would happen, for example, if an ``IllegalMonthError`` was raised in ``dateutil`` code. Fixed by Mark Bailey. (gh issue #981, pr #987). - Fixed the custom ``repr`` for ``dateutil.parser.ParserError``, which was not defined due to an indentation error. (gh issue #991, gh pr #993) - Fixed a bug that caused ``b'`` prefixes to appear in parse_isodate exception messages. Reported and fixed by Paul Brown (@pawl) (gh pr #1122) - Make ``isoparse`` raise when trying to parse times with inconsistent use of `:` separator. Reported and fixed by @mariocj89 (gh pr #1125). - Fixed ``tz.gettz()`` not returning local time when passed an empty string. Reported by @labrys (gh issues #925, #926). Fixed by @ffe4 (gh pr #1024) - Documentation changes: - Rearranged parser documentation into "Functions", "Classes" and "Warnings and Exceptions" categories. (gh issue #992, pr #994). - Updated ``parser.parse`` documentation to reflect the switch from ``ValueError`` to ``ParserError``. (gh issue #992, pr #994). - Fixed methods in the ``rrule`` module not being displayed in the docs. (gh pr #1025) - Changed some relative links in the exercise documentation to refer to the document locations in the input tree, rather than the generated HTML files in the HTML output tree (which presumably will not exist in non-HTML output formats). (gh pr #1078). - Misc: - Moved ``test_imports.py``, ``test_internals.py`` and ``test_utils.py`` to pytest. Reported and fixed by @jpurviance (gh pr #978)
Comments 0