aboutsummaryrefslogtreecommitdiffstats
path: root/functions/init
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-16 15:46:24 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-16 15:46:24 +0000
commitac501f092835e07d6d4683f29824f9b54e7ee162 (patch)
tree135d307e41bbc781dc8eaa361517f9bcf50f2bdb /functions/init
parentdef4803124150ffa584a41106aeb2865498787ca (diff)
downloadphpicalendar-ac501f092835e07d6d4683f29824f9b54e7ee162.tar.gz
phpicalendar-ac501f092835e07d6d4683f29824f9b54e7ee162.tar.bz2
phpicalendar-ac501f092835e07d6d4683f29824f9b54e7ee162.zip
progress on recurrence
Diffstat (limited to 'functions/init')
-rw-r--r--functions/init/date_range.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/init/date_range.php b/functions/init/date_range.php
index 565d0d1..b957b75 100644
--- a/functions/init/date_range.php
+++ b/functions/init/date_range.php
@@ -31,9 +31,9 @@ switch ($current_view){
case 'week':
case 'day':
$mArray_begin = mktime (0,0,0,$start_month,21,($start_year));
- $mArray_end = mktime (0,0,0,$end_month,12,($end_year));
+ $mArray_end = mktime (0,0,0,$end_month,31,($end_year));
break;
default:
$mArray_begin = mktime (0,0,0,12,21,($this_year - 1));
- $mArray_end = mktime (0,0,0,1,12,($this_year + 1));
+ $mArray_end = mktime (0,0,0,1,31,($this_year + 1));
}

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