#2724 new defect

use humanize library

Reported by: leif Owned by: daira
Priority: normal Milestone: undecided
Component: code-frontend-web Version: 1.10.2
Keywords: Cc:
Launchpad Bug:

Description

We could replace allmydata.util.time_format.format_{time,delta} and allmydata.util.abbreviate with https://pypi.python.org/pypi/humanize

I think its strings are more human-friendly than ours. It's pure python, it appears to have reasonable tests, and it is already packaged in Debian, so it seems like a painless-enough dependency to add.

Change History (1)

comment:1 Changed at 2016-08-07T17:55:05Z by warner

  • Component changed from unknown to code-frontend-web
Note: See TracTickets for help on using tickets.