From 0f98386a62fb0c727e00fa35cc7a04b8d7ecfc43 Mon Sep 17 00:00:00 2001 From: tvluke <tvluke@chaotikum.org> Date: Tue, 12 Nov 2024 19:25:44 +0100 Subject: [PATCH] shorter warning period --- _includes/space-status-mobile.html | 2 +- _includes/space-status.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/space-status-mobile.html b/_includes/space-status-mobile.html index bca9ec77..26d6dc4d 100644 --- a/_includes/space-status-mobile.html +++ b/_includes/space-status-mobile.html @@ -18,7 +18,7 @@ {%- assign show_m = 2 -%} {%- for m in site.maintenance -%} - {%- capture m_start_plus %}{{m.eventdate | date: '%s' | minus: 259200 }}{%- endcapture -%} + {%- capture m_start_plus %}{{m.eventdate | date: '%s' | minus: 172800 }}{%- endcapture -%} {%- capture m_start %}{{m.eventdate | date: '%s' }}{%- endcapture -%} {%- if m_start_plus < nowunix and m_start > nowunix and show_m > 1 -%} <div id="maintenance_soon_mobile" style="margin-top: 5px;"> diff --git a/_includes/space-status.html b/_includes/space-status.html index f2d96cdd..aef0ed55 100644 --- a/_includes/space-status.html +++ b/_includes/space-status.html @@ -15,7 +15,7 @@ </div> {%- assign show_m = 2 -%} {%- for m in site.maintenance -%} - {%- capture m_start_plus %}{{m.eventdate | date: '%s' | minus: 259200 }}{%- endcapture -%} + {%- capture m_start_plus %}{{m.eventdate | date: '%s' | minus: 172800 }}{%- endcapture -%} {%- capture m_start %}{{m.eventdate | date: '%s' }}{%- endcapture -%} {%- if m_start_plus < nowunix and m_start > nowunix and show_m > 1 -%} <div id="maintenance_soon" style="margin-top: 5px;"> -- GitLab