diff --git a/app/views/events/list.html.erb b/app/views/events/list.html.erb
index 9652931d..05fad2d3 100644
--- a/app/views/events/list.html.erb
+++ b/app/views/events/list.html.erb
@@ -18,9 +18,9 @@
<% @events.each do |event| %>
<%= link_to event.name, event %> |
- <%= event.start %> |
- <%= event.end %>
- | <%= event.event_type ? event.deadline : "-" %> |
+ <%= l event.start %> |
+ <%= l event.end %>
+ | <%= event.event_type ? l(event.deadline) : "-" %> |
<% if event.event_type %>
<%= link_to event.event_type.name, event.event_type %>
diff --git a/app/views/posts/list.html.erb b/app/views/posts/list.html.erb
index 5d9e3b25..0d847174 100644
--- a/app/views/posts/list.html.erb
+++ b/app/views/posts/list.html.erb
@@ -15,7 +15,7 @@
<% @posts.each do |post| %>
|
<%= link_to post.title, post %> |
- <%= post.created_at %> |
+ <%= l post.created_at %> |
<% if post.image.attached? %>
van
diff --git a/app/views/rents/closed.html.erb b/app/views/rents/closed.html.erb
index 99f5dc00..b544999c 100644
--- a/app/views/rents/closed.html.erb
+++ b/app/views/rents/closed.html.erb
@@ -24,7 +24,7 @@
<% @rents.each do |rent| %>
|
<%= rent.user.name %> |
- <%= rent.created_at %> |
+ <%= l rent.created_at %> |
<%= l rent.start_date %> - <%= l rent.end_date %> |
<%= rent.compact_order %> |
diff --git a/config/application.rb b/config/application.rb
index 73de91c5..bc2d6212 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -12,6 +12,8 @@ class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 6.0
+ config.time_zone = 'Europe/Budapest'
+
# Settings in config/environments/* take precedence over those specified here.
# Application configuration can go into files in config/initializers
# -- all .rb files in that directory are automatically loaded after loading
|