Commit 9437fc4b by Brent Gulanowski

Use property notation.

parent 784d05d6
......@@ -31,14 +31,14 @@
+ (NSDateFormatter*)dateFormatterForShippingRates
{
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;
}
+ (NSDateFormatter*)dateFormatterForPublications
{
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;
}
......
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