Commit be26885338e4d4710cca8811e769d50b7d21a147

Authored by Andrew Kane
1 parent 2d90b3ab

Updated readme

Showing 1 changed file with 2 additions and 3 deletions   Show diff stats
README.md
... ... @@ -71,10 +71,9 @@ User.group_by_week(:created_at, time_zone, :start => :sat)
71 71 ```
72 72  
73 73 You can override this option:
  74 +
74 75 ```ruby
75   -Groupdate.configure do |config|
76   - config.week_start = :sat
77   -end
  76 +Groupdate.week_start = :mon
78 77 ```
79 78  
80 79 You can also group by the day of the week or hour of the day.
... ...