aboutsummaryrefslogtreecommitdiffstats
path: root/week.php
diff options
context:
space:
mode:
Diffstat (limited to 'week.php')
-rw-r--r--week.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/week.php b/week.php
index 3ad2412..40532ef 100644
--- a/week.php
+++ b/week.php
@@ -31,7 +31,7 @@ $display_date = "$start_week - $end_week";
$sidebar_date = localizeDate($dateFormat_week_list, $unix_time);
// For the side months
-ereg ("([0-9]{4})([0-9]{2})([0-9]{2})", $getdate, $day_array2);
+preg_match ("/([0-9]{4})([0-9]{2})([0-9]{2})/", $getdate, $day_array2);
$this_day = $day_array2[3];
$this_month = $day_array2[2];
$this_year = $day_array2[1];

© 2014-2024 Faster IT GmbH | imprint | privacy policy