membershipworks: Specify timezone in ticket price policy effective date
This commit is contained in:
parent
54b615c986
commit
508baf809c
@ -705,7 +705,14 @@ class EventTicketTypeManager(models.Manager["EventTicketType"]):
|
||||
# non-member ticket
|
||||
Q(restrict_to__isnull=True)
|
||||
& (
|
||||
Q(event__start__lt=datetime(year=2024, month=7, day=1))
|
||||
Q(
|
||||
event__start__lt=datetime(
|
||||
year=2024,
|
||||
month=7,
|
||||
day=1,
|
||||
tzinfo=timezone.get_default_timezone(),
|
||||
)
|
||||
)
|
||||
| Q(members_price=0)
|
||||
)
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user