Merge pull request #309 from sgmap/Fix_localetime_on_date
Fix localtime on date object
This commit is contained in:
commit
3b2b506dec
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