aboutsummaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
Diffstat (limited to 'cgi')
-rw-r--r--cgi/home.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi/home.cgi b/cgi/home.cgi
index 4196d1d..655bdcb 100644
--- a/cgi/home.cgi
+++ b/cgi/home.cgi
@@ -48,7 +48,7 @@ def words_collection(resp)
end
def graphic_collection(resp)
- events = Array.new(28) { "empty" }
+ events = Array.new(30) { "empty" }
resp.each { |coll|
days = ((Time.parse(coll["nextCollection"]) - Time.now) / (60*60*24)).ceil
@@ -62,7 +62,7 @@ def graphic_collection(resp)
} +
$cgi.tr {
tout = ""
- (0..27).step(2).each { |i|
+ (0..29).step(2).each { |i|
tout += $cgi.td(class: "waste-#{events[i]} morning")
tout += $cgi.td(class: "waste-#{events[i+1]} evening")
}