Opened 7 years ago

Closed 7 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:
Cc:

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

StatsWindowController.m:

  • 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:
http://cl.ly/5Fuv/Screen_shot_2011-03-15_at_16.39.57.jpg

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by Waldorf

comment:1 Changed 7 years ago by Waldorf

  • Description modified (diff)

comment:2 Changed 7 years ago by livings124

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

r12186

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.