FIX: Date format and styling for post notices

Follow-up to 35942f7.
This commit is contained in:
Dan Ungureanu
2019-03-08 12:25:03 +02:00
parent ad12b2a23d
commit ac8425ad30
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -524,7 +524,7 @@ class PostCreator
@post.custom_fields["post_notice_type"] = "first"
elsif SiteSetting.returning_users_days > 0 && last_post_time < SiteSetting.returning_users_days.days.ago
@post.custom_fields["post_notice_type"] = "returning"
@post.custom_fields["post_notice_time"] = last_post_time
@post.custom_fields["post_notice_time"] = last_post_time.iso8601
end
end