Skip to content
Browse files

Time.zone.name instead of Time.zone

  • Loading branch information...
1 parent ebf45b9 commit 084df29ba5b8223f36bddb0bbcdd7c55f47c3236 @troy troy committed Mar 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 services/mail.rb
View
4 services/mail.rb
@@ -75,7 +75,7 @@ def html_email
<h4>About "<%= h payload[:saved_search][:name] %>":</h4>
<ul>
<li>Query: <%= h payload[:saved_search][:query] %></li>
- <li>Time zone: <%= h Time.zone %></li>
+ <li>Time zone: <%= h Time.zone.name %></li>
<li>Run search: <a href="<%= payload[:saved_search][:html_search_url] %>"><%= payload[:name] %></a></li>
<li><a href="<%= payload[:saved_search][:html_edit_url] %>">Edit or unsubscribe</a></li>
</ul>
@@ -110,7 +110,7 @@ def text_email
About "<%= payload[:saved_search][:name] %>":
Query: <%= payload[:saved_search][:query] %>
- Time zone: <%= Time.zone %>
+ Time zone: <%= Time.zone.name %>
Search: <%= payload[:saved_search][:html_search_url] %>
Edit or unsubscribe: <%= payload[:saved_search][:html_edit_url] %>

0 comments on commit 084df29

Please sign in to comment.
Something went wrong with that request. Please try again.