Opened 7 years ago

Closed 7 years ago

#31363 closed New feature (fixed)

Django humanize's intword filter does not accept negative numbers.

Reported by: jay20162016 Owned by: nobody
Component: contrib.humanize Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Django's humanize intword filter does not work with negative numbers. I have created a solution using absolute value.

Here is my pull request: ​https://github.com/django/django/pull/12568

Change History (3)

comment:1 by Claude Paroz, 7 years ago

Has patch: set
Needs tests: set
Triage Stage: Unreviewed → Accepted
Version: 3.0 → master

comment:2 by Mariusz Felisiak, 7 years ago

Needs tests: unset
Triage Stage: Accepted → Ready for checkin

comment:3 by Mariusz Felisiak <felisiak.mariusz@…>, 7 years ago

Resolution: → fixed
Status: new → closed

In 924c01b:

Fixed #31363 -- Added support for negative integers to intword template filter.

Note: See TracTickets for help on using tickets.
Back to Top