Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/decimal to int and billing_start_date #462

Merged
merged 2 commits into from
Oct 25, 2024
Merged

Conversation

mgcamisa
Copy link
Collaborator

@mgcamisa mgcamisa commented Oct 25, 2024

  • Set None as default when passing in dates so timezone.now() is not cached
  • Use round instead of Decimal for converting decimals to ints
  • Fix bug with tens digit where, for example, 50.1 would be charged as 50.01 instead of 50.10

@mgcamisa mgcamisa merged commit 044cc33 into develop Oct 25, 2024
1 check passed
@mgcamisa mgcamisa deleted the fix/decimal_to_int branch October 25, 2024 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants