From 9d1d88c66da5b15d026fd07c58463d3bdd62dd87 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Thu, 10 Oct 2024 22:35:39 +0200 Subject: More alignment fixes. Use floating point division to calculate start coordinate and height of events. Integer division truncated the values to they got a bit off. A few other minor adjustments was made. --- index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.html.erb') diff --git a/index.html.erb b/index.html.erb index 62f31d2..2949dc8 100644 --- a/index.html.erb +++ b/index.html.erb @@ -36,7 +36,7 @@

Kl.

<% (start_time..end_time).step(3600 / 4) do |time| %> -
+
<%= Time.at(time).strftime('%H:%M') %>
<% end %> -- cgit v1.2.3