mirror of
https://github.com/redmine/redmine.git
synced 2024-08-31 05:54:46 +02:00
Wrong activity timezone on user page (#14658).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@16138 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
84732abd0a
commit
62b64f4834
@ -74,7 +74,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
|
||||
|
Loading…
Reference in New Issue
Block a user