Skip to content

Commit 727703c

Browse files
committed
PBGitRevList: Fix parsing of date
This slipped in when adding parent collecting.. oops
1 parent ede8892 commit 727703c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PBGitRevList.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ - (void) walkRevisionList
6262
newCommit.parents = parents;
6363
newCommit.subject = [components objectAtIndex:2];
6464
newCommit.author = [components objectAtIndex:1];
65-
newCommit.date = [NSDate dateWithTimeIntervalSince1970:[[components objectAtIndex:3] intValue]];
65+
newCommit.date = [NSDate dateWithTimeIntervalSince1970:[[components objectAtIndex:4] intValue]];
6666

6767
[newArray addObject: newCommit];
6868
num++;

0 commit comments

Comments
 (0)