Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

greaterThan example with date should use Parse::Date

  • Loading branch information...
commit bc5f992238add845db49dd78ef450fc5a2257e51 1 parent 28b4801
@interstateone authored
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.
Something went wrong with that request. Please try again.