Commits

Peter Hosey committed 83415de

Pass a date, not the ISO 8601 date formatter (oops), to the time formatter.

Comments (0)

Files changed (1)

ISO8601DateFormatter.m

 		if (!timeSep) timeSep = ISO8601DefaultTimeSeparatorCharacter;
 		formatter.dateFormat = [self replaceColonsInString:ISO_TIME_WITH_TIMEZONE_FORMAT withTimeSeparator:timeSep];
 
-		timeString = [formatter stringForObjectValue:self];
+		timeString = [formatter stringForObjectValue:date];
 
 		[formatter release];
 	} else