Commits

Peter Hosey  committed 788c145

Make the parser tester show parsed dates in GMT, not the local time zone.

  • Participants
  • Parent commits 873f499

Comments (0)

Files changed (1)

File testparser.m

 		parseStrictly = YES;
 	}
 
+	[NSTimeZone setDefaultTimeZone:[NSTimeZone timeZoneForSecondsFromGMT:+0]];
+
 	ISO8601DateFormatter *formatter = [[[ISO8601DateFormatter alloc] init] autorelease];
 	formatter.parsesStrictly = parseStrictly;