We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d40cefe commit 0543464Copy full SHA for 0543464
Classes/git/PBGitCommit.m
@@ -48,8 +48,9 @@ - (NSDate *) date
48
49
- (NSString *) dateString
50
{
51
- NSDateFormatter* formatter = [[NSDateFormatter alloc] initWithDateFormat:@"%Y-%m-%d %H:%M:%S" allowNaturalLanguage:NO];
52
- return [formatter stringFromDate: self.date];
+ NSDateFormatter * formatter = [[NSDateFormatter alloc] init];
+ [formatter setLocalizedDateFormatFromTemplate:@"%Y-%m-%d %H:%M:%S"];
53
+ return [formatter stringFromDate:self.date];
54
}
55
56
- (NSArray*) treeContents
0 commit comments