Commit 7b423d00 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Fix minute string calculation

parent 523d3ddd
......@@ -139,8 +139,8 @@
{
if (value) {
long long positiveDuration = llabs([value longLongValue]);
long hours = positiveDuration / 36000;
return [NSString stringWithFormat:@"%ld", hours];
long minutes = positiveDuration / 60000;
return [NSString stringWithFormat:@"%ld", minutes];
}
return @"";
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment