Skip to content

Commit

Permalink
Fixing date issue in subscription mailer (publiclab#5638)
Browse files Browse the repository at this point in the history
  • Loading branch information
IshaGupta18 authored and jywarren committed May 1, 2019
1 parent 578e681 commit 2388ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/subscription_mailer/send_digest.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</div>
<div style="margin-top: 20px;">
<b style="font-weight: 500;"><%= n.author.username.capitalize %></b>
<p style="margin: 0;color: #999;font-weight: 500;">Published <%= n.created_at %>.strftime("%m/%d")</p>
<p style="margin: 0;color: #999;font-weight: 500;">Published <%= n.created_at.strftime("%m/%d") %></p>
</div>
<% if n.main_image.present? %>
<div style="padding-bottom: 30px;">
Expand Down

0 comments on commit 2388ae5

Please sign in to comment.