1. Peter Hosey
  2. ISO 8601 parser/unparser

Commits

Peter Hosey  committed af0c6b3

Change the minutes over to use precision the same as the hour does, for consistency with the hours. References #4.

  • Participants
  • Parent commits a5608e1
  • Branches default

Comments (0)

Files changed (1)

File ISO8601DateFormatter.m

View file
  • Ignore whitespace
 #define ISO_TIME_WITH_TIMEZONE_FORMAT  ISO_TIME_FORMAT @"Z"
 //printf formats.
 #define ISO_TIMEZONE_UTC_FORMAT @"Z"
-#define ISO_TIMEZONE_OFFSET_FORMAT @"%+.2d%02d"
+#define ISO_TIMEZONE_OFFSET_FORMAT @"%+.2d%.2d"
 
 @interface ISO8601DateFormatter(UnparsingPrivate)