Opened 9 years ago

Closed 9 years ago

#25441 closed New feature (fixed)

Add support for negative filesize to filesizeformat template filter

Reported by: Andrey Yakovlev Owned by: Sambhav Satija
Component: Template system Version: 1.8
Severity: Normal Keywords:
Cc: f.ssat95@… 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 (last modified by Andrey Yakovlev)

I need to show the difference of sizes, it can be negative.
https://github.com/django/django/pull/5327

bug: if size is negative it show only in bytes

Change History (6)

comment:1 by Andrey Yakovlev, 9 years ago

Description: modified (diff)

comment:2 by Tim Graham, 9 years ago

Has patch: set
Needs tests: set
Summary: filesizeformat for negative sizeAdd support for negative filesize to filesizeformat template filter
Triage Stage: UnreviewedAccepted
Type: BugNew feature

comment:3 by Sambhav Satija, 9 years ago

Needs tests: unset
Owner: changed from nobody to Sambhav Satija
Status: newassigned

comment:4 by Sambhav Satija, 9 years ago

Cc: f.ssat95@… added

comment:5 by Tim Graham, 9 years ago

Triage Stage: AcceptedReady for checkin

comment:6 by Tim Graham <timograham@…>, 9 years ago

Resolution: fixed
Status: assignedclosed

In ce7dd127:

Fixed #25441 -- Added support for negative filesize to filesizeformat template filter.

Thanks Andrey Yakovlev for the initial patch.

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