]> granicus.if.org Git - transmission/commitdiff
drop all units on stats times
authorMitchell Livingston <livings124@transmissionbt.com>
Sat, 18 Oct 2014 15:09:44 +0000 (15:09 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Sat, 18 Oct 2014 15:09:44 +0000 (15:09 +0000)
macosx/StatsWindowController.m

index 133616f5f5b055f2b847368834a3c078271a2350..73b05ccf48f59e73e5550ec5ff66635b343c8d94 100644 (file)
@@ -204,7 +204,6 @@ tr_session * fLib = NULL;
             timeFormatter.unitsStyle = NSDateComponentsFormatterUnitsStyleFull;
             timeFormatter.maximumUnitCount = 3;
             timeFormatter.allowedUnits = NSCalendarUnitYear | NSCalendarUnitMonth | NSCalendarUnitWeekOfMonth | NSCalendarUnitDay | NSCalendarUnitHour | NSCalendarUnitMinute;
-            timeFormatter.zeroFormattingBehavior = NSDateComponentsFormatterZeroFormattingBehaviorDropLeading;
         });
         
         [fTimeField setStringValue: [timeFormatter stringFromTimeInterval:statsSession.secondsActive]];