diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-25 18:45:26 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-25 18:45:26 +0000 |
commit | 52ba3b8146dd01c1c7d057359f4485aae5813124 (patch) | |
tree | c621fef680e5042594dc2bacfe84b37ffa95d031 /functions/parse/recur_functions.php | |
parent | 3b410264d50c0e4dbd7ded4fe951f832cc1b266c (diff) | |
download | phpicalendar-52ba3b8146dd01c1c7d057359f4485aae5813124.tar.gz phpicalendar-52ba3b8146dd01c1c7d057359f4485aae5813124.tar.bz2 phpicalendar-52ba3b8146dd01c1c7d057359f4485aae5813124.zip |
progress on timezones and daylight time
Diffstat (limited to 'functions/parse/recur_functions.php')
-rw-r--r-- | functions/parse/recur_functions.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/functions/parse/recur_functions.php b/functions/parse/recur_functions.php index e45f4aa..6a58d2d 100644 --- a/functions/parse/recur_functions.php +++ b/functions/parse/recur_functions.php @@ -28,6 +28,7 @@ function add_recur($times,$freq=''){ if (!is_array($times)) $times = array($times); /*BYMONTH, BYWEEKNO, BYYEARDAY, BYMONTHDAY, BYDAY, BYHOUR, BYMINUTE, BYSECOND and BYSETPOS*/ +#dump_times($times); $times = restrict_bymonth($times,$freq); # $times = restrict_byweekno($times,$freq); $times = restrict_byyearday($times,$freq); @@ -253,6 +254,6 @@ function dump_times($times){ global $summary; echo "<pre>$summary times:"; #var_dump($times); - foreach($times as $time) echo "\ndate:".date("Ymd his",$time); + foreach($times as $time) echo "\ndate:".date("Y-m-d H:i:s",$time); echo "</pre>"; } |