diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-01-07 07:52:30 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-01-07 07:52:30 +0000 |
commit | a84e1a847f69f2570b1a5f4aca4ce6ed6d4624bb (patch) | |
tree | d5a802aff466141b99eadb190d57c35c847cf7e5 /app/controllers | |
parent | 9c32a640c6f9ae61a0a8b099f94e67ba27c0d516 (diff) | |
download | redmine-a84e1a847f69f2570b1a5f4aca4ce6ed6d4624bb.tar.gz redmine-a84e1a847f69f2570b1a5f4aca4ce6ed6d4624bb.zip |
Merged r16138 (#14658).
git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@16140 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/users_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index cac19ea8b..d6a38df1e 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -73,7 +73,7 @@ class UsersController < ApplicationController respond_to do |format| format.html { events = Redmine::Activity::Fetcher.new(User.current, :author => @user).events(nil, nil, :limit => 10) - @events_by_day = events.group_by(&:event_date) + @events_by_day = events.group_by {|event| User.current.time_to_date(event.event_datetime)} render :layout => 'base' } format.api |