Commit f514b84370b2c180b42f30511232e5725104e2da
1 parent
d6956351
Exists in
master
and in
8 other branches
Clarify keys in readme - #119
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
README.md
... | ... | @@ -137,7 +137,9 @@ User.group_by_day(:created_at).order("day desc").count |
137 | 137 | |
138 | 138 | ### Keys |
139 | 139 | |
140 | -To get keys as date objects instead of time objects, use: | |
140 | +Keys are returned as time objects for the start of the period. | |
141 | + | |
142 | +To get keys as date objects instead, use: | |
141 | 143 | |
142 | 144 | ```ruby |
143 | 145 | User.group_by_day(:created_at, dates: true).count | ... | ... |