Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove useless comment in meta filters sample code

  • Loading branch information...
commit 087b4efbc8fb3698dec2720d1e8aae24e5896693 1 parent 5a02653
@groue authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Guides/filters.md
View
2  Guides/filters.md
@@ -155,7 +155,7 @@ render.m:
id filters = @{
@"dateFormat": [GRMustacheFilter filterWithBlock:^id(id format) {
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
- dateFormatter.dateFormat = [format description]; // force string coercion
+ dateFormatter.dateFormat = format;
return [GRMustacheFilter filterWithBlock:^id(id date) {
return [dateFormatter stringFromDate:date];
}];
Please sign in to comment.
Something went wrong with that request. Please try again.