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: CHANGELOG.rst
+28-13
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,38 @@
1
-
Unreleased
2
-
----------
1
+
1.11.0 - April 27. 2024
2
+
-----------------------
3
+
4
+
* fix: Fix :meth:`.TableSet.print_structure` for nested tablesets. (#765)
5
+
6
+
1.9.1 - December 21, 2023
7
+
-------------------------
8
+
9
+
* Add Babel 2.14 support.
10
+
11
+
1.9.0 - October 17, 2023
12
+
------------------------
13
+
14
+
* feat: Add a ``text_truncation_chars`` configuration for values that exceed ``max_column_width`` in :meth:`.Table.print_table` and :meth:`.Table.print_html`.
15
+
* feat: Add a ``number_truncation_chars`` configuration for values that exceed ``max_precision`` in :meth:`.Table.print_table` and :meth:`.Table.print_html`.
16
+
17
+
1.8.0 - October 10, 2023
18
+
------------------------
3
19
4
20
* feat: Lowercase the ``null_values`` provided to individual data types, since all comparisons to ``null_values`` are case-insensitive. (#770)
5
21
* feat: :class:`.Mean` works with :class:`.TimeDelta`. (#761)
6
-
* fix: Fix :meth:`.TableSet.print_structure` for nested tablesets. (#765)
22
+
* Switch from ``pytz`` to ``ZoneInfo``.
23
+
* Add Python 3.12 support.
24
+
* Drop Python 3.7 support (end-of-life was June 27, 2023).
7
25
8
-
1.7.1 - Jan 4, 2023
9
-
-------------------
26
+
1.7.1 - January 4, 2023
27
+
-----------------------
10
28
11
29
* Allow parsedatetime 2.6.
12
30
13
-
1.7.0 - Jan 3, 2023
14
-
-------------------
31
+
1.7.0 - January 3, 2023
32
+
-----------------------
15
33
16
-
* Add Python 3.11 support.
17
-
* Add Python 3.10 support.
18
-
* Drop Python 3.6 support (end-of-life was December 23, 2021).
19
-
* Drop Python 2.7 support (end-of-life was January 1, 2020).
34
+
* Add Python 3.10 and 3.11 support.
35
+
* Drop support for Python 2.7 (EOL 2020-01-01), 3.6 (2021-12-23).
20
36
21
37
1.6.3 - July 15, 2021
22
38
---------------------
@@ -37,8 +53,7 @@ Unreleased
37
53
* fix: Aggregations return ``None`` if all values are ``None``, instead of raising an error. Note that ``Sum``, ``MaxLength`` and ``MaxPrecision`` continue to return ``0`` if all values are ``None``. (#706)
38
54
* fix: Ensure files are closed when errors occur. (#734)
39
55
* build: Make PyICU an optional dependency.
40
-
* Drop Python 3.5 support (end-of-life was September 13, 2020).
41
-
* Drop Python 3.4 support (end-of-life was March 18, 2019).
56
+
* Drop support for Python 3.4 (2019-03-18), 3.5 (2020-09-13).
Copy file name to clipboardExpand all lines: docs/cookbook/datetime.rst
+13-5
Original file line number
Diff line number
Diff line change
@@ -34,9 +34,13 @@ The second way is to specify a timezone as an argument to the type constructor:
34
34
35
35
.. code-block:: python
36
36
37
-
import pytz
37
+
try:
38
+
from zoneinfo import ZoneInfo
39
+
exceptImportError:
40
+
# Fallback for Python < 3.9
41
+
from backports.zoneinfo import ZoneInfo
38
42
39
-
eastern =pytz.timezone('US/Eastern')
43
+
eastern =ZoneInfo('US/Eastern')
40
44
datetime_type = agate.DateTime(timezone=eastern)
41
45
42
46
In this case all timezones that are processed will be set to have the Eastern timezone. Note, the timezone will be **set**, not converted. You cannot use this method to convert your timezones from UTC to another timezone. To do that see :ref:`convert_timezones`.
@@ -60,17 +64,21 @@ If you load data from a spreadsheet in one timezone and you need to convert it t
0 commit comments