Commits

Peter Hosey committed 20eb04a

Also test negative hours. Works.

Comments (0)

Files changed (1)

testunparsewithtime.m

 	NSDate *date = [NSDate dateWithTimeIntervalSinceReferenceDate:336614400.0];
 	NSLog(@"2011-09-01 at 5 PM ET: %@", [formatter stringFromDate:date]);
 
+	testFormatStrings(11, 6);
 	testFormatStrings(2, 6);
-	testFormatStrings(11, 6);
+	testFormatStrings(-2, 6);
 
 	[pool drain];
 	return EXIT_SUCCESS;