From e8f12074e307582cb59df41e3d05246d461e5dd9 Mon Sep 17 00:00:00 2001
From: Tony Ford <tonyford@strategy-investor.de>
Date: Tue, 5 Nov 2024 11:52:36 +0100
Subject: [PATCH] Datum bugfix

---
 html/_layouts/default.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/html/_layouts/default.php b/html/_layouts/default.php
index 7a41e42..0ab0fa1 100644
--- a/html/_layouts/default.php
+++ b/html/_layouts/default.php
@@ -96,7 +96,8 @@ if( !empty($csv) ){
         $r = array_values($r)[0];
         $runde = $r['runde'];
         $spieltag = $r['spieltag'];
-        $T=$r['T'];
+        //$T=$r['T'];
+        $T=(new DateTime())->format('Y-m-d');
         if( $inv == true ){
           db_addErgebnisse(implode( ',', [ SAISON, $runde, $spieltag, $T, $H_nt, $A_nt, $TA, $TH, $MID ] ), $secret);
         } else {
-- 
GitLab