diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2006-04-10 04:17:19 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2006-04-10 04:17:19 +0000 |
commit | 4ec912ca0ff14694f7cc8ae7d6a01d084847a5f9 (patch) | |
tree | 314d317f4dbefd361b1355e19b0e7f3a27280d39 /functions/ical_parser.php | |
parent | e40574de93572c968f955b43fcd6d82f47bf3e7c (diff) | |
download | phpicalendar-4ec912ca0ff14694f7cc8ae7d6a01d084847a5f9.tar.gz phpicalendar-4ec912ca0ff14694f7cc8ae7d6a01d084847a5f9.tar.bz2 phpicalendar-4ec912ca0ff14694f7cc8ae7d6a01d084847a5f9.zip |
fix wkst bug when not set
Diffstat (limited to 'functions/ical_parser.php')
-rw-r--r-- | functions/ical_parser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/ical_parser.php b/functions/ical_parser.php index 689a64c..d0f6efb 100644 --- a/functions/ical_parser.php +++ b/functions/ical_parser.php @@ -556,7 +556,7 @@ foreach ($cal_filelist as $cal_key=>$filename) { $count_to = 0; // start at the $start_range and go until we hit the end of our range. - if(!isset($wkst)) $wkst='Su'; + if(!isset($wkst)) $wkst='SU'; $wkst3char = two2threeCharDays($wkst); while (($next_range_time >= $start_range_time_tmp) && ($next_range_time <= $end_range_time_tmp) && ($count_to != $count)) { |