Skip to content
Browse files

Update GTSignature to use the new API.

  • Loading branch information...
1 parent 4bca3e6 commit 03baa769010797b6550ced2e9230443a224ca07c Danny Greg committed Mar 28, 2013
Showing with 2 additions and 4 deletions.
  1. +2 −4 Classes/GTSignature.m
View
6 Classes/GTSignature.m
@@ -87,13 +87,11 @@ - (void)setEmail:(NSString *)e {
}
- (NSDate *)time {
- return [NSDate gt_dateFromGitTime:self.git_signature->when timeZone:NULL];
+ return [NSDate gt_dateFromGitTime:self.git_signature->when];
}
- (NSTimeZone *)timeZone {
- NSTimeZone *timeZone = nil;
- [NSDate gt_dateFromGitTime:self.git_signature->when timeZone:&timeZone];
- return timeZone;
+ return [NSTimeZone gt_timeZoneFromGitTime:self.git_signature->when];
}
- (void)setTime:(NSDate *)date {

0 comments on commit 03baa76

Please sign in to comment.
Something went wrong with that request. Please try again.