aboutsummaryrefslogtreecommitdiffstats
path: root/functions/init/date_range.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-27 23:18:07 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-27 23:18:07 +0000
commitfb1fa4e8eeb2accaf71675dbf9810ec5af47bc79 (patch)
tree892273a81e75ff9929c558dc0bb4f6d0d06cbce4 /functions/init/date_range.php
parent195553ad26b4c8c3639041698309b47ae6d1b1f3 (diff)
downloadphpicalendar-fb1fa4e8eeb2accaf71675dbf9810ec5af47bc79.tar.gz
phpicalendar-fb1fa4e8eeb2accaf71675dbf9810ec5af47bc79.tar.bz2
phpicalendar-fb1fa4e8eeb2accaf71675dbf9810ec5af47bc79.zip
new rss icons;allow subweek calendars
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