misc: fix failing test due to dst change (#88568)
gitea/chrono/pipeline/head This commit looks good Details

This commit is contained in:
Lauréline Guérin 2024-03-23 10:30:24 +01:00
parent 41cadbcfa9
commit f7e224ba9b
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ def test_build_event_agenda(db):
start = now() start = now()
events = { events = {
f'Event {i}': { f'Event {i}': {
'start_datetime': start + datetime.timedelta(days=i), 'start_datetime': localtime(start) + datetime.timedelta(days=i),
'places': 10, 'places': 10,
} }
for i in range(10) for i in range(10)