Skip to content
This repository has been archived by the owner on May 22, 2020. It is now read-only.

Commit

Permalink
Fix pageview duration string format
Browse files Browse the repository at this point in the history
  • Loading branch information
lumaxis committed Mar 2, 2016
1 parent 1aa3654 commit 7d4f4b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/MSAITelemetryManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ - (NSString *)durationStringFromDuration:(NSTimeInterval)duration {
int hours = (durationInt / 3600) % 24;
int days = (durationInt / 3600) / 24;

NSString *durationString = [NSString stringWithFormat:@"%01d:%02d:%02d:%02d.%07d", days, hours, minutes, seconds, milliseconds];
NSString *durationString = [NSString stringWithFormat:@"%01d.%02d:%02d:%02d.%07d", days, hours, minutes, seconds, milliseconds];
return durationString;
}

Expand Down

0 comments on commit 7d4f4b8

Please sign in to comment.