pytrainer/pytrainer — pull request #7 by spaceyjase (2012-07-18 21:53:27+00:00)
Title: Year tab

Hi again,

This was bugging me - the other tabs are OK but the year tab shows metric only. So I changed it.

Odd difference at line 319; I checked against the upstream and it is the same but also did a fetch prior to editing code so I don't know why 'git' is showing a difference.

Also, apologies for the lengthy text, but I notice there are coding guidelines and a few test cases; I was looking for one to drive glade (i.e. the UI) but didn't spot anything specific. So I left it out as it is a fairly cosmetic change, even if the code feels a bit verbose (i.e. similar for w, m and y).

- Jason