aboutsummaryrefslogtreecommitdiffstats
path: root/functions/ical_parser.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2006-03-21 09:52:29 +0000
committerJim Hu <jimhu@users.sourceforge.net>2006-03-21 09:52:29 +0000
commita430b6f5528f4698cefb45edde90bf869f05eeda (patch)
tree5b21f68143a9f32ad05c98c64685b49994febe2e /functions/ical_parser.php
parent3280427d50b95564c2a21396b5d3bb603795d014 (diff)
downloadphpicalendar-a430b6f5528f4698cefb45edde90bf869f05eeda.tar.gz
phpicalendar-a430b6f5528f4698cefb45edde90bf869f05eeda.tar.bz2
phpicalendar-a430b6f5528f4698cefb45edde90bf869f05eeda.zip
add year printview, fix misc bugs
Diffstat (limited to 'functions/ical_parser.php')
-rw-r--r--functions/ical_parser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/ical_parser.php b/functions/ical_parser.php
index e24b953..fe8ca33 100644
--- a/functions/ical_parser.php
+++ b/functions/ical_parser.php
@@ -423,7 +423,7 @@ foreach ($cal_filelist as $cal_key=>$filename) {
$start_date_time = strtotime($start_date);
$this_month_start_time = strtotime($this_year.$this_month.'01');
- if ($current_view == 'year' || ($save_parsed_cals == 'yes' && !$is_webcal)) {
+ if ($current_view == 'year' || ($save_parsed_cals == 'yes' && !$is_webcal)|| $current_view == 'print' && $printview == 'year') {
$start_range_time = strtotime($this_year.'-01-01 -2 weeks');
$end_range_time = strtotime($this_year.'-12-31 +2 weeks');
} else {

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