Skip to content

Commit

Permalink
Reduce comment time to just a date
Browse files Browse the repository at this point in the history
  • Loading branch information
olliebennett committed Jun 26, 2024
1 parent 150b93d commit dde9b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/comment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ class Comment < ApplicationRecord
auto_strip_attributes :text

def formatted_date
created_at.strftime('%e %b @ %H:%M').squish
created_at.strftime('%e %b').squish
end
end

0 comments on commit dde9b2c

Please sign in to comment.