You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.17.0.txt
+1-21
Original file line number
Diff line number
Diff line change
@@ -26,26 +26,6 @@ New features
26
26
Other enhancements
27
27
^^^^^^^^^^^^^^^^^^
28
28
29
-
- Add helper functions to check for OS running on
30
-
31
-
from pandas.compat import is_platform_windows
32
-
if is_platform_window():
33
-
pass
34
-
35
-
- Use dateutil.tz.gettz() after upstream recommandations
36
-
37
-
python-dateutil provides two implementations of gettz().
38
-
"dateutil.tz.gettz()" tries to load zone information from system provided data and fals back to
39
-
an included tarball, where as "dateutil.zoneinfo.gettz() loads directly from the tarball. Using the later on systems
40
-
which aren't providing included zone informations (e.g. Fedora or Gentoo) breaks (#9059, #8639, #9663 and #10121)
41
-
As stated by upstream in https://github.com/dateutil/dateutil/issues/11#issuecomment-70769019 only the former should be
42
-
used by library consumers.
43
-
44
-
For compatibility in pandas following code should be used
45
-
46
-
from pandas.tslib import _dateutil_gettz as gettz
47
-
tz = gettz('Europe/Brussels')
48
-
49
29
.. _whatsnew_0170.api:
50
30
51
31
Backwards incompatible API changes
@@ -86,4 +66,4 @@ Bug Fixes
86
66
- Bug in ``Timestamp``'s' ``microsecond``, ``quarter``, ``dayofyear``, ``week`` and ``daysinmonth`` properties return ``np.int`` type, not built-in ``int``. (:issue:`10050`)
87
67
- Bug in ``NaT`` raises ``AttributeError`` when accessing to ``daysinmonth``, ``dayofweek`` properties. (:issue:`10096`)
88
68
89
-
- Bug in dateutil.tz.gettz() vs. dateutil.zoneinfo.gettz() usage which creates problems on systems solely rely on systems timezone data (:issue:`9123`, :issue:`9059`, :issue:`8639`, :issue:`9663`, :issue:`10121`)
69
+
- Bug in getting timezone data with ``dateutil`` on various platforms ( :issue:`9059`, :issue:`8639`, :issue:`9663`, :issue:`10121`)
0 commit comments