1
0
Fork 0

FIXED - Removed some extra logging

master
Matthieu Lalonde 13 years ago
parent 0f976d963a
commit f310d72604

@ -752,13 +752,11 @@
NSRange rangeDays = [strUptime rangeOfString:keyDays];
if (rangeDay.location != NSNotFound) {
NSLog(@"1 day");
seconds += 86400; // One day extra
strUptime = [strUptime substringFromIndex:(rangeDay.location + [keyDay length])];
} else if (rangeDays.location != NSNotFound) {
uint32_t days = strtoull([[strUptime substringToIndex:rangeDays.location] UTF8String], NULL, 0);
NSLog(@"%u days", days);
seconds += (days * 86400);
@ -771,7 +769,6 @@
double multiplicator = pow(60, (2 - ii));
if (multiplicator == 0)
multiplicator = 1;
NSLog(@"Multiplicator %f", multiplicator);
seconds += (multiplicator * strtoull([[parts objectAtIndex:ii] UTF8String], NULL, 0));
}

Loading…
Cancel
Save