From ad88524e4db91dc2f148cf40184a81a454ee7aac Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 20 Jul 2019 18:31:47 +0200 Subject: Refs #23524 -- Unified BaseDatabaseWrapper.timezone. There was a special case in this property to return None when the database backend supports time zone. However, only the PostgreSQL backend supports time zones and it never uses this property. --- docs/releases/3.1.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/releases/3.1.txt b/docs/releases/3.1.txt index b4179883ab..58f14e172d 100644 --- a/docs/releases/3.1.txt +++ b/docs/releases/3.1.txt @@ -297,6 +297,11 @@ backends. * ``DatabaseOperations.fetch_returned_insert_columns()`` now requires an additional ``returning_params`` argument. +* ``connection.timezone`` property is now ``'UTC'`` by default, or the + :setting:`TIME_ZONE ` when :setting:`USE_TZ` is ``True`` + on databases that support time zones. Previously, it was ``None`` on + databases that support time zones. + Dropped support for MariaDB 10.1 -------------------------------- -- cgit v1.3