adium 5751:5fca6586773b: Fix ISO8601 to build 32-bit properly.
commits at adium.im
commits at adium.im
Thu Oct 31 03:44:26 UTC 2013
details: http://hg.adium.im/adium/rev/5fca6586773b
revision: 5751:5fca6586773b
branch: adium-1.5.9
author: Frank Dowsett <wixardy at adium.im>
date: Wed Oct 30 23:45:47 2013 -0400
Fix ISO8601 to build 32-bit properly.
diffs (45 lines):
diff -r dad5f3048dc3 -r 5fca6586773b Frameworks/AIUtilities Framework/Source/ISO8601DateFormatter.h
--- a/Frameworks/AIUtilities Framework/Source/ISO8601DateFormatter.h Wed Oct 30 23:29:05 2013 -0400
+++ b/Frameworks/AIUtilities Framework/Source/ISO8601DateFormatter.h Wed Oct 30 23:45:47 2013 -0400
@@ -37,7 +37,18 @@
* For a good and more detailed introduction to ISO 8601, see [“A summary of the international standard date and time notation” by Markus Kuhn](http://www.cl.cam.ac.uk/~mgk25/iso-time.html). The actual standard itself can be found in PDF format online with a well-crafted web search.
*/
- at interface ISO8601DateFormatter: NSFormatter
+ at interface ISO8601DateFormatter: NSFormatter {
+ NSString *lastUsedFormatString;
+ NSDateFormatter *unparsingFormatter;
+
+ NSCalendar *parsingCalendar, *unparsingCalendar;
+
+ NSTimeZone *defaultTimeZone;
+ ISO8601DateFormat format;
+ unichar timeSeparator;
+ BOOL includeTime;
+ BOOL parsesStrictly;
+}
@property(nonatomic, retain) NSTimeZone *defaultTimeZone;
diff -r dad5f3048dc3 -r 5fca6586773b Frameworks/AIUtilities Framework/Source/ISO8601DateFormatter.m
--- a/Frameworks/AIUtilities Framework/Source/ISO8601DateFormatter.m Wed Oct 30 23:29:05 2013 -0400
+++ b/Frameworks/AIUtilities Framework/Source/ISO8601DateFormatter.m Wed Oct 30 23:45:47 2013 -0400
@@ -52,18 +52,6 @@
#endif
@implementation ISO8601DateFormatter
-{
- NSString *lastUsedFormatString;
- NSDateFormatter *unparsingFormatter;
-
- NSCalendar *parsingCalendar, *unparsingCalendar;
-
- NSTimeZone *defaultTimeZone;
- ISO8601DateFormat format;
- unichar timeSeparator;
- BOOL includeTime;
- BOOL parsesStrictly;
-}
+ (void) initialize {
[self createGlobalCachesThatDoNotAlreadyExist];
More information about the commits
mailing list