Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Time.zone.name instead of Time.zone

  • Loading branch information...
commit 084df29ba5b8223f36bddb0bbcdd7c55f47c3236 1 parent ebf45b9
Troy Davis troy authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 services/mail.rb
4 services/mail.rb
@@ -75,7 +75,7 @@ def html_email
75 75 <h4>About "<%= h payload[:saved_search][:name] %>":</h4>
76 76 <ul>
77 77 <li>Query: <%= h payload[:saved_search][:query] %></li>
78   - <li>Time zone: <%= h Time.zone %></li>
  78 + <li>Time zone: <%= h Time.zone.name %></li>
79 79 <li>Run search: <a href="<%= payload[:saved_search][:html_search_url] %>"><%= payload[:name] %></a></li>
80 80 <li><a href="<%= payload[:saved_search][:html_edit_url] %>">Edit or unsubscribe</a></li>
81 81 </ul>
@@ -110,7 +110,7 @@ def text_email
110 110
111 111 About "<%= payload[:saved_search][:name] %>":
112 112 Query: <%= payload[:saved_search][:query] %>
113   - Time zone: <%= Time.zone %>
  113 + Time zone: <%= Time.zone.name %>
114 114 Search: <%= payload[:saved_search][:html_search_url] %>
115 115
116 116 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.