Skip to content

Commit

Permalink
start_date already converted
Browse files Browse the repository at this point in the history
  • Loading branch information
pmossman committed Feb 4, 2023
1 parent c587cfd commit 69778ef
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,10 @@ def __init__(
end_date: Optional[pendulum.DateTime] = None,
**kwargs,
):

super().__init__(**kwargs)
self.subscription_usage_grouping_key = subscription_usage_grouping_key
self.plan_id = plan_id
self.start_date = to_datetime(start_date)
self.start_date = start_date
# default to current time if end_date is unspecified
self.end_date = end_date if end_date else pendulum.now()

Expand Down

0 comments on commit 69778ef

Please sign in to comment.