Debian Codegraph @

debian/patches/fix_time_zone_name.patch

raw
1 Author: Andreas Tille <[email protected]>
2 Last-Update: Fri, 27 Oct 2023 08:00:57 +0200
3 Bug-Debian: https://bugs.debian.org/1052806
4 Description: tzdata ships only timezones in tzdata that follow the current rules
5 of geographical region (continent or ocean) and city name
6 Forwarded: No (since "This repository has been archived by the owner on Jul 18, 2023. It is now read-only.")
7
8 --- a/influxdb/tests/test_line_protocol.py
9 +++ b/influxdb/tests/test_line_protocol.py
10 @@ -53,7 +53,7 @@ class TestLineProtocol(unittest.TestCase
11 dt = datetime(2009, 11, 10, 23, 0, 0, 123456)
12 utc = UTC.localize(dt)
13 berlin = timezone('Europe/Berlin').localize(dt)
14 - eastern = berlin.astimezone(timezone('US/Eastern'))
15 + eastern = berlin.astimezone(timezone('America/New_York'))
16 data = {
17 "points": [
18 {"measurement": "A", "fields": {"val": 1},