Opened 5 years ago

Closed 5 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, 5 years ago

Has patch: set
Needs tests: set
Triage Stage: UnreviewedAccepted
Version: 3.0master

comment:2 by Mariusz Felisiak, 5 years ago

Needs tests: unset
Triage Stage: AcceptedReady for checkin

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

Resolution: fixed
Status: newclosed

In 924c01b:

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

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