1. Peter Hosey
  2. ISO 8601 parser/unparser

Commits

Peter Hosey  committed 20eb04a

Also test negative hours. Works.

  • Participants
  • Parent commits e251783
  • Branches default

Comments (0)

Files changed (1)

File testunparsewithtime.m

View file
 	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;