aboutsummaryrefslogtreecommitdiffstats
path: root/functions/init/date_range.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions/init/date_range.php')
-rw-r--r--functions/init/date_range.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/functions/init/date_range.php b/functions/init/date_range.php
index 7a51b47..d9f7b54 100644
--- a/functions/init/date_range.php
+++ b/functions/init/date_range.php
@@ -33,6 +33,7 @@ switch ($current_view){
$mArray_begin = mktime (0,0,0,$start_month,1,($start_year));
$mArray_end = mktime (0,0,0,$end_month,31,($end_year));
break;
+ case 'error':
case 'preferences':
$mArray_begin = time();
$mArray_end = time();
@@ -45,3 +46,7 @@ switch ($current_view){
$mArray_begin = mktime (0,0,0,12,21,($this_year - 1));
$mArray_end = mktime (0,0,0,1,31,($this_year + 1));
}
+if ($phpiCal_config->save_parsed_cals == 'yes') {
+ $mArray_begin = mktime (0,0,0,12,21,($this_year - 1));
+ $mArray_end = mktime (0,0,0,1,31,($this_year + 1));
+} \ No newline at end of file

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