1
my site work with hegira date and in newbb2 my users inter hegira date in "Expire date" field at poll so it gives this error :
Quote:
End time must be set to future
i look at polls.php at newbb folder and see this line:
$poll->setVar("end_time", userTimeToServerTime(strtotime($end_time), $timezone));
for example user inter this in hegira date: 1383-03-12
and with strtotime function that convert to a number (time) ???
so how can i change it back to string format at "userTimeToServerTime" function in include/functions.php ???
using date("Y-m-d",$timestamp) reverse it or not ???
any help would be really appreciated