From a84e1a847f69f2570b1a5f4aca4ce6ed6d4624bb Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 7 Jan 2017 07:52:30 +0000 Subject: [PATCH] Merged r16138 (#14658). git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@16140 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/users_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5