]> source.dussan.org Git - redmine.git/commitdiff
add empty line after guard clause to lib/redmine/i18n.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 4 Dec 2020 13:59:36 +0000 (13:59 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 4 Dec 2020 13:59:36 +0000 (13:59 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20572 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/i18n.rb

index 8599a09f47c7626e30821ac067935c2e2d05ad01..301bb763f35acd30b2673c76724c5428584d03e4 100644 (file)
@@ -68,6 +68,7 @@ module Redmine
 
     def format_date(date)
       return nil unless date
+
       options = {}
       options[:format] = Setting.date_format unless Setting.date_format.blank?
       ::I18n.l(date.to_date, **options)
@@ -75,6 +76,7 @@ module Redmine
 
     def format_time(time, include_date=true, user=nil)
       return nil unless time
+
       user ||= User.current
       options = {}
       options[:format] = (Setting.time_format.blank? ? :time : Setting.time_format)