diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-17 09:58:30 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-17 09:58:30 +0000 |
commit | c11f05eba87d73124d3afa2dfa607d0ca0857bd4 (patch) | |
tree | 5d4e2b754160a9efc2be669839dd890040a8d4f9 /functions/parse/end_vevent.php | |
parent | 5f12dd30dab402ca1a290b85b57f032354b5e7ed (diff) | |
download | phpicalendar-c11f05eba87d73124d3afa2dfa607d0ca0857bd4.tar.gz phpicalendar-c11f05eba87d73124d3afa2dfa607d0ca0857bd4.tar.bz2 phpicalendar-c11f05eba87d73124d3afa2dfa607d0ca0857bd4.zip |
progress on recurrence handle some negative values in byxxx rules
Diffstat (limited to 'functions/parse/end_vevent.php')
-rw-r--r-- | functions/parse/end_vevent.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/parse/end_vevent.php b/functions/parse/end_vevent.php index 47de2d4..eb78ee3 100644 --- a/functions/parse/end_vevent.php +++ b/functions/parse/end_vevent.php @@ -277,8 +277,8 @@ sort($recur_data); /* ============================ Use $recur_data array to write the master array ============================*/ // This used to use 5 different blocks to write the array... can it be reduced further? -$recur_data_hour = @substr($start_unixtime,0,2); -$recur_data_minute = @substr($start_unixtime,2,2); +$recur_data_hour = @substr($start_time,0,2); +$recur_data_minute = @substr($start_time,2,2); foreach($recur_data as $recur_data_unixtime) { $recur_data_year = date('Y', $recur_data_unixtime); $recur_data_month = date('m', $recur_data_unixtime); |