Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update yesterday/tomorrow and mention ActiveSupport::TimeWithZone is …

…best
  • Loading branch information...
commit 8268e2bc873cabf87e3b3e0554205d9059ce8c38 1 parent c141a29
@radar authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.markdown
View
4 README.markdown
@@ -162,7 +162,7 @@ This will return all posts for the given day.
## Tomorrow (`tomorrow`)
-*This method has been shown to be shifty when passed a `Date` object, it is recommended that you pass it a `Time` object instead.*
+*This method has been shown to be shifty when passed a `Date` object, it is recommended that you pass it an `ActiveSupport::TimeWithZone` object instead.*
To find all posts from the day after the current date:
@@ -179,7 +179,7 @@ You can also pass a string:
## Yesterday (`yesterday`)
-*This method has been shown to be shifty when passed a `Date` object, it is recommended that you pass it a `Time` object instead.*
+*This method has been shown to be shifty when passed a `Date` object, it is recommended that you pass it an `ActiveSupport::TimeWithZone` object instead.*
To find all posts from the day before the current date:
Please sign in to comment.
Something went wrong with that request. Please try again.