The Date API function date_diff() clashes with the hook_diff() introduced by the diff module. I have also reported this to the diff module issue queue. Not sure which module should be changed.
The Date API function date_diff() clashes with the hook_diff() introduced by the diff module. I have also reported this to the diff module issue queue. Not sure which module should be changed.
Comments
Comment #1
karens commentedThanks for the report. I'll change it here -- it's not used in many places yet.
Comment #2
karens commentedOK, renamed it to date_difference(). Thanks!
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #4
Bevan commentedhook_diff() + date.module will also clash with PHP 5.3's date_diff() function http://nz.php.net/manual/en/function.date-diff.php