Skip to content

quota parsing survives stringy formatted usage counts#4734

Open
andrew-nowak wants to merge 1 commit into
mainfrom
an/commas-in-quotas
Open

quota parsing survives stringy formatted usage counts#4734
andrew-nowak wants to merge 1 commit into
mainfrom
an/commas-in-quotas

Conversation

@andrew-nowak
Copy link
Copy Markdown
Member

What does this change?

Sometimes usage counts arrive to us with thousands formatted with commas, like "1,234". This breaks .toInt conversions. Strip away the commas before converting so it keeps working, whether the count is formatted or not.

How should a reviewer test this change?

How can success be measured?

Who should look at this?

Tested? Documented?

  • locally by committer
  • locally by Guardian reviewer
  • on the Guardian's TEST environment
  • relevant documentation added or amended (if needed)

@andrew-nowak andrew-nowak requested a review from a team as a code owner May 11, 2026 09:53
@andrew-nowak andrew-nowak added the maintenance Departmental tracking: maintenance work, not a fix or a feature label May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Departmental tracking: maintenance work, not a fix or a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant