PDA

View Full Version : 1 Days = 298 Days Bug [0.7.2] [RC10]



jbilliau
16-01-2009, 02:33 PM
When creating an auction, and specifying everything, 1 day auction, hit submit twice, and then check out my auction. It says it ends within 298 days... rather than tommorrow... :lol: weird.

Ya something is wwaaay off...all my auctions are wanting to start 8 months from now

renlok
16-01-2009, 02:38 PM
lol well fixed for next release

Wingtrader
16-01-2009, 03:38 PM
renlok could you please tell me how to fix it ? Because my website is already live and this one is very important, it needs to work :shock:

renlok
16-01-2009, 06:55 PM
on sell.php change

$time = mktime(substr($a_starts, 11, 2),
substr($a_starts, 14, 2),
substr($a_starts, 17, 2),
substr($a_starts, 5, 2),
substr($a_starts, 8, 2),
substr($a_starts, 0, 4));
$a_starts = date("YmdHis", $time);
to

$time = mktime(substr($a_starts, 8, 2),
substr($a_starts, 10, 2),
substr($a_starts, 12, 2),
substr($a_starts, 4, 2),
substr($a_starts, 6, 2),
substr($a_starts, 0, 4));

Wingtrader
16-01-2009, 07:19 PM
thank you!