Version 2.6.0:
* Added PEP-495-compatible methods to address ambiguous and imaginary dates in time zones in a backwards-compatible way. Ambiguous dates and times can now be safely represented by all dateutil time zones. * Added new methods for working with ambiguous and imaginary dates to the tz module. datetime_ambiguous() determines if a datetime is ambiguous for a given zone and datetime_exists() determines if a datetime exists in a given zone. This works for all fold-aware datetimes, not just those provided by dateutil. * Fixed an issue where dst() in Portugal in 1996 was returning the wrong value in tz.tzfile objects * Fixed an issue where zoneinfo.ZoneInfoFile errors were not being properly deep-copied. * Refactored tzwin and tzrange as a subclass of a common class, tzrangebase, as there was substantial overlapping functionality. As part of this change, tzrange and tzstr now expose a transitions() function, which returns the DST on and off transitions for a given year. * Deprecated zoneinfo.gettz() due to confusion with tz.gettz(), in favor of get() method of zoneinfo.ZoneInfoFile objects. * For non-character, non-stream arguments, parser.parse now raises TypeError instead of AttributeError. * Fixed an issue where tzfile objects were not properly handling dst() and tzname() when attached to datetime.time objects. * /usr/share/lib/zoneinfo was added to TZPATHS for compatibility with Solaris systems. * tzoffset and tzrange objects now accept either a number of seconds or a datetime.timedelta() object wherever previously only a number of seconds was allowed. * datetime.timedelta objects can now be added to relativedelta objects. * Refactored relativedelta.weekday and rrule.weekday into a common base class to reduce code duplication.
This commit is contained in:
parent
c57e62c877
commit
37d96685c8
3 changed files with 17 additions and 14 deletions
|
@ -1,6 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.16 2016/08/17 15:39:02 richard Exp $
|
||||
# $NetBSD: Makefile,v 1.17 2017/05/04 19:45:57 adam Exp $
|
||||
|
||||
DISTNAME= python-dateutil-2.5.3
|
||||
DISTNAME= python-dateutil-2.6.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
|
||||
CATEGORIES= time python
|
||||
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-dateutil/}
|
||||
|
|
|
@ -1,7 +1,16 @@
|
|||
@comment $NetBSD: PLIST,v 1.7 2016/08/17 15:39:02 richard Exp $
|
||||
@comment $NetBSD: PLIST,v 1.8 2017/05/04 19:45:57 adam Exp $
|
||||
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
|
||||
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/requires.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/zip-safe
|
||||
${PYSITELIB}/dateutil/__init__.py
|
||||
${PYSITELIB}/dateutil/__init__.pyc
|
||||
${PYSITELIB}/dateutil/__init__.pyo
|
||||
${PYSITELIB}/dateutil/_common.py
|
||||
${PYSITELIB}/dateutil/_common.pyc
|
||||
${PYSITELIB}/dateutil/_common.pyo
|
||||
${PYSITELIB}/dateutil/easter.py
|
||||
${PYSITELIB}/dateutil/easter.pyc
|
||||
${PYSITELIB}/dateutil/easter.pyo
|
||||
|
@ -36,9 +45,3 @@ ${PYSITELIB}/dateutil/zoneinfo/dateutil-zoneinfo.tar.gz
|
|||
${PYSITELIB}/dateutil/zoneinfo/rebuild.py
|
||||
${PYSITELIB}/dateutil/zoneinfo/rebuild.pyc
|
||||
${PYSITELIB}/dateutil/zoneinfo/rebuild.pyo
|
||||
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
|
||||
${PYSITELIB}/${EGG_INFODIR}/requires.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
|
||||
${PYSITELIB}/${EGG_INFODIR}/zip-safe
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.8 2016/08/17 15:39:02 richard Exp $
|
||||
$NetBSD: distinfo,v 1.9 2017/05/04 19:45:57 adam Exp $
|
||||
|
||||
SHA1 (python-dateutil-2.5.3.tar.gz) = a53ebfeecc784ea5781ba504ddf7f4ad13738213
|
||||
RMD160 (python-dateutil-2.5.3.tar.gz) = bc4601d93270402673aa4c2e5c7719924bbcb322
|
||||
SHA512 (python-dateutil-2.5.3.tar.gz) = 413b935321f0a65fd8e8ba49990acd5bed60b9bcd614837a26c1cf52ecbf268543a97791dfa7b91ebf183866a8de7be302ca7d18d10352e897994f60bce5df62
|
||||
Size (python-dateutil-2.5.3.tar.gz) = 236877 bytes
|
||||
SHA1 (python-dateutil-2.6.0.tar.gz) = 4ca7ac612a55da7aa4ca87eafc7b308747fd06b1
|
||||
RMD160 (python-dateutil-2.6.0.tar.gz) = 072c2e017a2e6b5b011b1a4a363234025e8fad14
|
||||
SHA512 (python-dateutil-2.6.0.tar.gz) = 1fec6dd6fc00650821fd826405414bcde79e1542a53608ebd837e924b4abc147a369214ec064adbff682fc5ff67440086f3000eaa77b274c7463c3f58686ced9
|
||||
Size (python-dateutil-2.6.0.tar.gz) = 258060 bytes
|
||||
|
|
Loading…
Reference in a new issue