Shortened date for last session to make room block smaller (#2449)

v2
Ahmad Farhat 2 years ago committed by GitHub
parent 8c9535b0ec
commit 60b8bbfa06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/helpers/application_helper.rb

@ -139,6 +139,6 @@ module ApplicationHelper
# Returns a more friendly/readable date time object
def view_date(date)
return "" if date.nil? # Handle invalid dates
local_time(date)
local_time(date, "%b %d, %Y %-I:%M%P")
end
end