diff --git a/app/views/cities/show.html.erb b/app/views/cities/show.html.erb index bd87b53..9040c6f 100644 --- a/app/views/cities/show.html.erb +++ b/app/views/cities/show.html.erb @@ -35,7 +35,8 @@ <%= "#{@city&.country&.emoji + " " || ""}#{@city&.country&.name}" %>, <%= @city.region %>
- <%= @city.timezone.present? ? Time.current.in_time_zone(@city.timezone).strftime("%Y-%m-%d %H:%M") : "Timezone undefined" %> + <%#= @city.timezone.present? ? Time.current.in_time_zone(@city.timezone).strftime("%Y-%m-%d %H:%M") : "Timezone undefined" %> + <%= @city&.state&.name %>
@@ -109,7 +110,7 @@
<%= art.temperature %>°C
-
<%= art.created_at.strftime("%H:%M") %>
+
UTC <%= art.created_at.strftime("%H:%M") %>
<%= art.weather_date.strftime("%B %d, %Y") %>
diff --git a/app/views/weather_arts/show.html.erb b/app/views/weather_arts/show.html.erb index dd85448..9c46497 100644 --- a/app/views/weather_arts/show.html.erb +++ b/app/views/weather_arts/show.html.erb @@ -55,7 +55,7 @@ <%= @weather_art.weather_date.strftime("%B %d, %Y") %>
- <%= @weather_art.created_at.strftime("%H:%M") %> + UTC <%= @weather_art.created_at.strftime("%H:%M") %>