Fix date for duplicate rooms (#1680)

This commit is contained in:
Ahmad Farhat 2020-05-27 16:42:26 -04:00 committed by GitHub
parent 140254ad62
commit db6db06a78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@ module AdminsHelper
# Returns a more friendly/readable date time object
def friendly_time(date)
return "" if date.nil? # Handle invalid dates
I18n.l date, format: "%B %d, %Y %H:%M UTC"
end