Displaying 1 result from an estimated 1 matches for "group_dat".
Did you mean:
group_data
2013 Oct 26
1
Feature: date grouping with proper time zone
...'s a Gist of it: https://gist.github.com/leods92/7164159
The problem is that when we try grouping timestamps by date, SQL returns
unexpected results as it''s not aware of time zones.
Rails though is aware of them so I believe it should be used to handle this
issue properly.
By using #group_date one can get any set of records grouped by date from a
timestamp column.
This is very common to generate statistics.
What do you guys think of it?
Have you ever stumbled on a similar problem?
How have you dealt with it?
--
You received this message because you are subscribed to the Google Group...