aboutsummaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-02-16 20:36:20 +0000
committerChad Little <clittle@users.sourceforge.net>2003-02-16 20:36:20 +0000
commit16e0e71838f0c5f451687ba3401d4bf05a9337c5 (patch)
tree80355be83fbdd7dc2dce30f3a5acc100ab81e491 /functions
parent34f353f0d7e4868171c18a5614d78f6a4b2844f7 (diff)
downloadphpicalendar-16e0e71838f0c5f451687ba3401d4bf05a9337c5.tar.gz
phpicalendar-16e0e71838f0c5f451687ba3401d4bf05a9337c5.tar.bz2
phpicalendar-16e0e71838f0c5f451687ba3401d4bf05a9337c5.zip
Changed mArray_begin to start in Dec 21 the previous year.
Diffstat (limited to 'functions')
-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 d374949..84c90d9 100644
--- a/functions/ical_parser.php
+++ b/functions/ical_parser.php
@@ -138,7 +138,7 @@ if ($parse_file) {
if (!isset($summary)) $summary = '';
if (!isset($description)) $description = '';
- $mArray_begin = mktime (0,0,0,1,1,$this_year);
+ $mArray_begin = mktime (0,0,0,12,21,($this_year - 1));
$mArray_end = mktime (0,0,0,1,12,($this_year + 1));
if (isset($start_time) && isset($end_time)) {

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