Skip to content

Commit

Permalink
Added 3 decimal places to timestamp sent to server in logfile
Browse files Browse the repository at this point in the history
  • Loading branch information
turpinandrew committed Oct 25, 2021
1 parent b02735b commit 31f4eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PsyPad/New/ServerManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ - (void)uploadLogsWithProgress:(void (^)(NSString *status, float progress))progr
NSMutableString *logContent = [NSMutableString string];
for (TestLogItem *logItem in log.logitems)
{
[logContent appendFormat:@"%.0f|%@|%@\n", logItem.timestamp.timeIntervalSince1970, logItem.type, logItem.info];
[logContent appendFormat:@"%.3f|%@|%@\n", logItem.timestamp.timeIntervalSince1970, logItem.type, logItem.info];
}

if (log.user)
Expand Down

0 comments on commit 31f4eef

Please sign in to comment.