diff --git a/app/views/home/infoscreen.html.erb b/app/views/home/infoscreen.html.erb index f736a1e..bd199f2 100644 --- a/app/views/home/infoscreen.html.erb +++ b/app/views/home/infoscreen.html.erb @@ -53,11 +53,12 @@ <% + raw("zeitfunktion") require 'time' close_time = Time.parse "03:00 pm" open_time = Time.parse "09:00 am" current_time = Time.now - if (current_time > open_time) && (current_time < close_time) + if (current_time > open_time) raw("OPEN") else raw("CLOSED")