drop all units on stats times

This commit is contained in:
Mitchell Livingston 2014-10-18 15:09:44 +00:00
parent a7444a21b5
commit 2187da2351
1 changed files with 0 additions and 1 deletions

View 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]];