Permalink
Browse files

Remove useless comment in meta filters sample code

  • Loading branch information...
1 parent 5a02653 commit 087b4efbc8fb3698dec2720d1e8aae24e5896693 @groue committed Sep 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Guides/filters.md
View
@@ -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];
}];

0 comments on commit 087b4ef

Please sign in to comment.