mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18460 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
59968110a3
commit
73c1f8a603
@ -80,7 +80,7 @@ module Redmine
|
||||
if time_zone
|
||||
user_identifier = ActiveSupport::TimeZone.find_tzinfo(time_zone.name).identifier
|
||||
local_identifier = ActiveSupport::TimeZone.find_tzinfo(Time.zone.name).identifier
|
||||
"CONVERT_TZ(DATE(#{column}),'#{local_identifier}', '#{user_identifier}')"
|
||||
"DATE(CONVERT_TZ(#{column},'#{local_identifier}', '#{user_identifier}'))"
|
||||
else
|
||||
"DATE(#{column})"
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user