From 727703c2f1f51890842dd84e69d9719da298d958 Mon Sep 17 00:00:00 2001 From: Pieter de Bie Date: Wed, 18 Jun 2008 01:12:39 +0200 Subject: [PATCH] PBGitRevList: Fix parsing of date This slipped in when adding parent collecting.. oops --- PBGitRevList.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBGitRevList.m b/PBGitRevList.m index c8356aa..a7f79b8 100644 --- a/PBGitRevList.m +++ b/PBGitRevList.m @@ -62,7 +62,7 @@ newCommit.parents = parents; newCommit.subject = [components objectAtIndex:2]; newCommit.author = [components objectAtIndex:1]; - newCommit.date = [NSDate dateWithTimeIntervalSince1970:[[components objectAtIndex:3] intValue]]; + newCommit.date = [NSDate dateWithTimeIntervalSince1970:[[components objectAtIndex:4] intValue]]; [newArray addObject: newCommit]; num++;