remove localtime as it uses server timezone
This commit is contained in:
parent
9475795143
commit
3dad743d56
11 changed files with 15 additions and 15 deletions
|
@ -126,7 +126,7 @@ module TagsSubstitutionConcern
|
|||
|
||||
def format_date(date)
|
||||
if date.present?
|
||||
date.localtime.strftime('%d/%m/%Y')
|
||||
date.strftime('%d/%m/%Y')
|
||||
else
|
||||
''
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue