diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-15 17:25:27 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-15 17:25:27 +0000 |
commit | cb1509c1c670974f54ed67d2076fef39e0d20812 (patch) | |
tree | 7f7f64c60ad63cf884cf5562565f46cffd3f9597 /functions/date_functions.php | |
parent | 99cfde6479207ba9349d8c4a093ef14a1026154d (diff) | |
download | phpicalendar-cb1509c1c670974f54ed67d2076fef39e0d20812.tar.gz phpicalendar-cb1509c1c670974f54ed67d2076fef39e0d20812.tar.bz2 phpicalendar-cb1509c1c670974f54ed67d2076fef39e0d20812.zip |
big changes to recurrence; trying to get closer to the spec
Diffstat (limited to 'functions/date_functions.php')
-rw-r--r-- | functions/date_functions.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/functions/date_functions.php b/functions/date_functions.php index 568a767..3ba1b94 100644 --- a/functions/date_functions.php +++ b/functions/date_functions.php @@ -94,6 +94,11 @@ function yearCompare($now, $then) { return $diff_years; } +function noneCompare($now, $then) { + return 0; +} + + // localizeDate() - similar to strftime but uses our preset arrays of localized // months and week days and only supports %A, %a, %B, %b, %e, and %Y // more can be added as needed but trying to keep it small while we can |