Fix localtime on date object
This commit is contained in:
parent
1121fc4211
commit
df731cb895
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
|||
- unless admin.last_sign_in_at.nil?
|
||||
= time_ago_in_words(l(admin.last_sign_in_at, format: "%d/%m/%Y %H:%M UTC +02:00"))
|
||||
(
|
||||
= admin.last_sign_in_at.to_date.localtime.strftime('%d/%m/%Y')
|
||||
= admin.last_sign_in_at.localtime.strftime('%d/%m/%Y')
|
||||
)
|
||||
%td
|
||||
= admin.procedures.where(published: true).count
|
||||
|
|
Loading…
Reference in a new issue