aboutsummaryrefslogtreecommitdiffstats
path: root/functions/date_functions.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-15 17:25:27 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-15 17:25:27 +0000
commitcb1509c1c670974f54ed67d2076fef39e0d20812 (patch)
tree7f7f64c60ad63cf884cf5562565f46cffd3f9597 /functions/date_functions.php
parent99cfde6479207ba9349d8c4a093ef14a1026154d (diff)
downloadphpicalendar-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.php5
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

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