Skip to content

Commit

Permalink
greaterThan example with date should use Parse::Date
Browse files Browse the repository at this point in the history
  • Loading branch information
interstateone committed Jul 9, 2013
1 parent 28b4801 commit bc5f992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features.md
Expand Up @@ -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
```

Expand Down

0 comments on commit bc5f992

Please sign in to comment.