1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-30 04:09:38 +00:00
git-svn-id: http://svn.redmine.org/redmine/trunk@15095 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2016-01-23 08:35:48 +00:00
parent fe5ed8e6cc
commit 98abc9838a

View File

@ -71,7 +71,7 @@ module Redmine
::I18n.l(date.to_date, options)
end
def format_time(time, include_date=true, user=User.currant)
def format_time(time, include_date=true, user=User.current)
return nil unless time
options = {}
options[:format] = (Setting.time_format.blank? ? :time : Setting.time_format)