Skip to content

Commit

Permalink
fix assert
Browse files Browse the repository at this point in the history
  • Loading branch information
matmair committed Dec 17, 2024
1 parent 269cbc0 commit 349eca3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/InvenTree/InvenTree/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,14 +736,14 @@ def test_to_local_time(self):
month=1,
day=1,
hour=0,
minute=0,
minute=1,
second=0,
tzinfo=ZoneInfo('Europe/London'),
)

tests = [
('UTC', '2000-01-01 00:01:00+00:00'),
('Europe/London', '2000-01-01 00:00:00-00:01'),
('Europe/London', '2000-01-01 00:01:00+00:00'),
('America/New_York', '1999-12-31 19:01:00-05:00'),
# All following tests should result in the same value
('Australia/Sydney', '2000-01-01 11:01:00+11:00'),
Expand Down

0 comments on commit 349eca3

Please sign in to comment.