Fix tz bug

This commit is contained in:
Raphael Michel
2024-10-25 00:09:43 +02:00
parent b4005b7fe5
commit 6744371417
3 changed files with 3 additions and 3 deletions

View File

@@ -451,7 +451,7 @@ def test_order_create_invoice(token_client, organizer, event, order):
"invoice_to_vat_id": "DE123",
"invoice_to_beneficiary": "",
"custom_field": None,
'date': now().date().isoformat(),
'date': now().astimezone(event.timezone).date().isoformat(),
'refers': None,
'locale': 'en',
'introductory_text': '',