forked from External/greenlight
Times are now rendered using the browsers time zone (#2438)
This commit is contained in:
@ -135,4 +135,10 @@ module ApplicationHelper
|
||||
def show_signin
|
||||
!@hide_signin.present?
|
||||
end
|
||||
|
||||
# Returns a more friendly/readable date time object
|
||||
def view_date(date)
|
||||
return "" if date.nil? # Handle invalid dates
|
||||
local_time(date)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user