Permalink
Browse files

greaterThan example with date should use Parse::Date

  • Loading branch information...
1 parent 28b4801 commit bc5f992238add845db49dd78ef450fc5a2257e51 @interstateone committed Jul 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 features.md
View
2 features.md
@@ -322,7 +322,7 @@ Dates are useful in combination with the built-in createdAt and updatedAt fields
```ruby
game_score = Parse::Query.new("GameScore").tap do |q|
- g.greater_than("createdAt", Parse::Object.new(DateTime.now)) # query options explained in more detail later in this document
+ g.greater_than("createdAt", Parse::Date.new(DateTime.now)) # query options explained in more detail later in this document
end.get.first
```

0 comments on commit bc5f992

Please sign in to comment.