From d31a78675babe35986864ae37d3789f4f42bb335 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Thu, 27 Nov 2003 23:50:46 +0000 Subject: [PATCH] Small change to save scheduled days always in 0=Sunday....6=Saturday format, independent from the visual display of the week. :-) It uses the "firstdayofweek" string in every languaje pack (defaults to 0-Sunday) --- backup/config.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backup/config.html b/backup/config.html index 91dc89e4fb..683ccde894 100644 --- a/backup/config.html +++ b/backup/config.html @@ -127,7 +127,10 @@ } else { $strchecked = ""; } - $check_names[] = ""; + //Calculate standard day of week (0=Sunday......6=Saturday) + //to store info in that exact order in DB + $stddayofweek = ($i+$firstdayofweek) % 7; + $check_names[] = ""; $i++; } $table->align = array("center","center","center","center","center","center","center"); -- 2.39.5