Opened 11 years ago

Closed 11 years ago

#4121 closed Enhancement (fixed)

Show years in Statistics window

Reported by: Waldorf Owned by: livings124
Priority: Low Milestone: 2.30
Component: Mac Client Version: 2.22
Severity: Normal Keywords:

Description (last modified by Waldorf)

I'm nearing 400 days of Transmission running, and I kinda wanted to see how many years that is.

So, I made a few minor adjustments to NSStringAdditions.m:

  • Added years
  • 31,557,600 seconds in one year, so no need to account for leap year


  • fTimeField: show seconds, I prefer it, but I also limit the fields to 3 so seconds will disappear after a day.
  • fTimeAllField: also 3 fields, when years appear, drop minutes (mainly because it drops off the window :p )

Working example:

Attachments (1)

years.diff (3.4 KB) - added by Waldorf 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by Waldorf

comment:1 Changed 11 years ago by Waldorf

  • Description modified (diff)

comment:2 Changed 11 years ago by livings124

  • Resolution set to fixed
  • Status changed from new to closed


This adds the years field. It doesn't limit the stats field, but instead just makes the window wider.

Note: See TracTickets for help on using tickets.