Commit 9437fc4b by Brent Gulanowski

Use property notation.

parent 784d05d6
...@@ -31,14 +31,14 @@ ...@@ -31,14 +31,14 @@
+ (NSDateFormatter*)dateFormatterForShippingRates + (NSDateFormatter*)dateFormatterForShippingRates
{ {
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:@"yyyy-MM-dd'T'HH:mm:ss.SSSZ"]; dateFormatter.dateFormat = @"yyyy-MM-dd'T'HH:mm:ss.SSSZ";
return dateFormatter; return dateFormatter;
} }
+ (NSDateFormatter*)dateFormatterForPublications + (NSDateFormatter*)dateFormatterForPublications
{ {
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:@"yyyy-MM-dd'T'HH:mm:ssZ"]; dateFormatter.dateFormat = @"yyyy-MM-dd'T'HH:mm:ssZ";
return dateFormatter; return dateFormatter;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment