From 27ea65af5da19222a22faee627b4875b2d7da3a3 Mon Sep 17 00:00:00 2001 From: Jeroen De Meerleer Date: Tue, 12 Mar 2019 14:50:59 +0100 Subject: [PATCH] Updated defaults --- blackout/blackout.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blackout/blackout.php b/blackout/blackout.php index 4c9753e0..38bf30ca 100644 --- a/blackout/blackout.php +++ b/blackout/blackout.php @@ -94,9 +94,9 @@ function blackout_redirect ($a, $b) { function blackout_addon_admin(&$a, &$o) { $mystart = Config::get('blackout','begindate'); - if (! is_string($mystart)) { $mystart = "YYYY-MM-DD:hhmm"; } + if (! is_string($mystart)) { $mystart = "YYYY-MM-DD hh:mm"; } $myend = Config::get('blackout','enddate'); - if (! is_string($myend)) { $myend = "YYYY-MM-DD:hhmm"; } + if (! is_string($myend)) { $myend = "YYYY-MM-DD hh:mm"; } $myurl = Config::get('blackout','url'); if (! is_string($myurl)) { $myurl = "http://www.example.com"; } $t = Renderer::getMarkupTemplate( "admin.tpl", "addon/blackout/" );