We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d59551e commit b37bceaCopy full SHA for b37bcea
1 file changed
app/models/notification.rb
@@ -16,4 +16,9 @@ def read?
16
def unread?
17
!read?
18
end
19
+
20
+ def rendered_timestamp
21
+ formatted = created_at.strftime('%b %-d, %Y at %H:%M')
22
+ CGI.unescape_html(formatted).html_safe
23
+ end
24
0 commit comments