PDA


View Full Version : Time is not correct birthday module


Rottimom
05-20-2007, 05:06 AM
Hello

I have the CMPS v2.2.1 (vB3.6.5) and a problem with the Birthday module.
Therefore an hour has it is already shown to somebody on the next day birthday at 11 p.m., too early.
The time distribution is correct in the entire board, though.
Must I what where change ?

Brian
05-20-2007, 12:22 PM
Thank you for pointing this out. You should be able to correct that by looking in your modules/birthdays.php file for this code:
$tdate = date('Y-m-d', TIMENOW);


And replacing it with this:
$tdate = vbdate('Y-m-d', TIMENOW, true, true);

Rottimom
05-20-2007, 12:37 PM
Thank you for the tip, i have changed it, can announce the result only morning evening, though because the next member has birthday only Tuesday.

Rottimom
05-24-2007, 04:17 PM
Hello

I still owe an answer.
The change has brought about success, the birthdays of the new day are announced exactly at 0 p.m. now.

Again thanks, Rottimom

Brian
05-24-2007, 04:40 PM
Glad to hear it, and thanks for the conformation. :)