From 2187da2351de7de4289beedc1845fc5425ff1afb Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sat, 18 Oct 2014 15:09:44 +0000 Subject: [PATCH] drop all units on stats times --- macosx/StatsWindowController.m | 1 - 1 file changed, 1 deletion(-) diff --git a/macosx/StatsWindowController.m b/macosx/StatsWindowController.m index 133616f5f..73b05ccf4 100644 --- a/macosx/StatsWindowController.m +++ b/macosx/StatsWindowController.m @@ -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]];