From a9576838195b0dade28385a39ee83d21feb79561 Mon Sep 17 00:00:00 2001 From: Christoph Date: Wed, 26 Jan 2022 07:36:22 +0100 Subject: [PATCH] Fixed gen_vor.php --- gen_vor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen_vor.php b/gen_vor.php index 845fa6b..ea2a230 100644 --- a/gen_vor.php +++ b/gen_vor.php @@ -8,7 +8,7 @@ $fil = file($file_txt, FILE_IGNORE_NEW_LINES); // Insert header $arr = ['| | | |', '|:------|:------|:------|']; $ts=(new DateTime('first day of this month'))->getTimeStamp(); -$tues_ts = strtotime('fourth tuesday of this month + 1 day', $ts); +$tues_ts = strtotime('fourth tuesday of this month', $ts); // Are we past the fourth Tuesday of the month? if ((new DateTime())->getTimeStamp() >= $tues_ts) {