From f60220329accd9c6492acfc25fe024c394e3eaea Mon Sep 17 00:00:00 2001 From: David Hill Date: Tue, 2 Apr 2019 11:57:29 -0400 Subject: Get the timezone offset for the current day instead of January 1st. This bug only appears to be a cosmetic one where the TZ offset would be calculated on current_year/01/01 so would remain in daylight saving offset when displaying the timezones list. (Note by amotoki) The minimum version of Babel is bumped to 2.6.0 as Babel 2.3.4 returns "New Zealand Time" instead of "New Zealand (Auckland) Time" returned from the latest Babel (2.9.0). It is not a good idea to handle such difference in Babel in our UT and there is no reason to stick to Bump 2.3.4. 2.6.0 was chosen as it is available in Ubuntu Focal and there is no more reason than this. Change-Id: I0600086cc51cf5abcf1631565e75146114189667 Closes-bug: #1822849 --- test-requirements.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'test-requirements.txt') diff --git a/test-requirements.txt b/test-requirements.txt index 85762109a..27b2ae21d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -12,6 +12,7 @@ hacking>=3.0.1,<3.1.0 # Apache-2.0 bandit!=1.6.0,>=1.4.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0 flake8-import-order==0.12 # LGPLv3 +freezegun>=0.3.15 # Apache-2.0 nodeenv>=0.9.4 # BSD pytest>=5.3.5 # MIT pytest-django>=3.8.0 # BSD (3 clause) -- cgit v1.2.1