Permalink
Browse files

Merge pull request #96 from interstateone/date-docs

greaterThan example with date should use Parse::Date
  • Loading branch information...
2 parents ca828ac + bc5f992 commit f793d07a5b4241e0ca8c5d3b5def195c372239e1 @adelevie committed Jul 10, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 features.md
View
@@ -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 f793d07

Please sign in to comment.